diff --git a/chainsyncer/backend/file.py b/chainsyncer/backend/file.py index 316d571..0c2622b 100644 --- a/chainsyncer/backend/file.py +++ b/chainsyncer/backend/file.py @@ -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. diff --git a/requirements.txt b/requirements.txt index 87c56a2..2ed8768 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/setup.cfg b/setup.cfg index 40266b6..16d8364 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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