commit c37ad876f10eae93cc88d17c3cd52c3e91e327d5
parent 674bcc598afff7c7b1cfdc2f73bd862e5e319d19
Author: nolash <dev@holbrook.no>
Date: Mon, 15 Nov 2021 14:27:57 +0100
Upgrade deps, bump version
Diffstat:
3 files changed, 13 insertions(+), 4 deletions(-)
diff --git 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)
@@ -395,6 +399,11 @@ class FileBackend(Backend):
# 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
@@ -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
@@ -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