commit 4905fe4fc2ccad404003e914e4f62b0ae8f33513
parent 6d9d0f0462d1c2791764632da7aee6bdc8bfacfb
Author: lash <dev@holbrook.no>
Date: Sun, 24 Apr 2022 20:47:09 +0000
Upgrade shep
Diffstat:
4 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG b/CHANGELOG
@@ -1,3 +1,5 @@
+* 0.3.3
+ - Include shep persistent state bootstrap sync
* 0.3.2
- Implement rocksdb backend
* 0.3.1
diff --git a/chainsyncer/filter.py b/chainsyncer/filter.py
@@ -96,9 +96,11 @@ class FilterState:
k = None
try:
k = self.state_store.from_elements(v)
+ logg.debug('scan from elements {} {}'.format(k, v))
self.state_store.alias(v, k)
except ValueError:
k = self.state_store.from_name(v)
+ logg.debug('scan from name {} {}'.format(k, v))
self.state_store.sync(k)
self.__syncs[v] = True
self.synced = True
diff --git a/requirements.txt b/requirements.txt
@@ -2,4 +2,4 @@ confini~=0.6.0
semver==2.13.0
hexathon~=0.1.5
chainlib>=0.1.0b1,<0.2.0
-shep>=0.2.1rc1,<0.3.0
+shep~=0.2.2
diff --git a/setup.cfg b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = chainsyncer
-version = 0.3.2
+version = 0.3.3
description = Generic blockchain syncer driver
author = Louis Holbrook
author_email = dev@holbrook.no