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