chainsyncer

Blockchain syncer driver
Log | Files | Refs | LICENSE

commit d2fe51dd43810728874172eba51c86067b9976ad
parent d9196f5ff5427f7f666927f4b2b693c757991f72
Author: nolash <dev@holbrook.no>
Date:   Mon,  1 Mar 2021 20:26:30 +0100

Add filter flag methods on membackend

Diffstat:
Mchainsyncer/backend.py | 15++++++++++++++-
Msetup.cfg | 2+-
2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/chainsyncer/backend.py b/chainsyncer/backend.py @@ -322,4 +322,17 @@ class MemBackend: def get(self): - return (self.block_height, self.tx_height) + return ((self.block_height, self.tx_height), self.flags) + + + def register_filter(self, name): + pass + + + def complete_filter(self, n): + pass + + + def __str__(self): + return "syncer membackend chain {} cursor".format(self.get()) + diff --git a/setup.cfg b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = chainsyncer -version = 0.0.1a18 +version = 0.0.1a19 description = Generic blockchain syncer driver author = Louis Holbrook author_email = dev@holbrook.no