Upgrade shep

This commit is contained in:
lash 2022-04-24 20:47:09 +00:00
parent 6d9d0f0462
commit 4905fe4fc2
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
4 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,5 @@
* 0.3.3
- Include shep persistent state bootstrap sync
* 0.3.2
- Implement rocksdb backend
* 0.3.1

View File

@ -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

View File

@ -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

View File

@ -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