Add filter flag methods on membackend
This commit is contained in:
parent
d9196f5ff5
commit
d2fe51dd43
@ -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())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user