Upgrade deps, bump version
This commit is contained in:
parent
674bcc598a
commit
c37ad876f1
@ -54,8 +54,12 @@ class FileBackend(Backend):
|
|||||||
:param base_dir: Base directory to use for generation. Default is value of BACKEND_BASE_DIR
|
:param base_dir: Base directory to use for generation. Default is value of BACKEND_BASE_DIR
|
||||||
:type base_dir: str
|
:type base_dir: str
|
||||||
"""
|
"""
|
||||||
|
__warned = False
|
||||||
|
|
||||||
def __init__(self, chain_spec, object_id, base_dir=BACKEND_BASE_DIR):
|
def __init__(self, chain_spec, object_id, base_dir=BACKEND_BASE_DIR):
|
||||||
|
if not FileBackend.__warned:
|
||||||
|
logg.warning('file backend for chainsyncer is experimental and not yet guaranteed to handle interrupted filter execution.')
|
||||||
|
FileBackend.__warned = True
|
||||||
super(FileBackend, self).__init__(object_id, flags_reversed=True)
|
super(FileBackend, self).__init__(object_id, flags_reversed=True)
|
||||||
self.object_data_dir = data_dir_for(chain_spec, object_id, base_dir=base_dir)
|
self.object_data_dir = data_dir_for(chain_spec, object_id, base_dir=base_dir)
|
||||||
|
|
||||||
@ -394,6 +398,11 @@ class FileBackend(Backend):
|
|||||||
return entries[len(entries)-1]
|
return entries[len(entries)-1]
|
||||||
|
|
||||||
|
|
||||||
|
# n is zero-index of bit field
|
||||||
|
def begin_filter(self, n, base_dir=BACKEND_BASE_DIR):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
# n is zero-index of bit field
|
# n is zero-index of bit field
|
||||||
def complete_filter(self, n, base_dir=BACKEND_BASE_DIR):
|
def complete_filter(self, n, base_dir=BACKEND_BASE_DIR):
|
||||||
"""Sets the filter at the given index as completed.
|
"""Sets the filter at the given index as completed.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
confini>=0.3.6rc3,<0.5.0
|
confini~=0.5.1
|
||||||
semver==2.13.0
|
semver==2.13.0
|
||||||
hexathon~=0.0.1a8
|
hexathon~=0.1.0
|
||||||
chainlib>=0.0.10a4,<=0.1.0
|
chainlib~=0.0.10
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = chainsyncer
|
name = chainsyncer
|
||||||
version = 0.0.7a3
|
version = 0.0.7
|
||||||
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