Upgrade deps, bump version

This commit is contained in:
nolash 2021-11-15 14:27:57 +01:00
parent 674bcc598a
commit c37ad876f1
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
3 changed files with 13 additions and 4 deletions

View File

@ -54,8 +54,12 @@ class FileBackend(Backend):
:param base_dir: Base directory to use for generation. Default is value of BACKEND_BASE_DIR
:type base_dir: str
"""
__warned = False
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)
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]
# 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
def complete_filter(self, n, base_dir=BACKEND_BASE_DIR):
"""Sets the filter at the given index as completed.

View File

@ -1,4 +1,4 @@
confini>=0.3.6rc3,<0.5.0
confini~=0.5.1
semver==2.13.0
hexathon~=0.0.1a8
chainlib>=0.0.10a4,<=0.1.0
hexathon~=0.1.0
chainlib~=0.0.10

View File

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