Add filter flag methods on membackend

This commit is contained in:
nolash 2021-03-01 20:26:30 +01:00
parent d9196f5ff5
commit d2fe51dd43
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 15 additions and 2 deletions

View File

@ -322,4 +322,17 @@ class MemBackend:
def get(self): 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())

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = chainsyncer name = chainsyncer
version = 0.0.1a18 version = 0.0.1a19
description = Generic blockchain syncer driver description = Generic blockchain syncer driver
author = Louis Holbrook author = Louis Holbrook
author_email = dev@holbrook.no author_email = dev@holbrook.no