mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-23 13:38:35 +00:00
4395cea344
In the unlikely event of overlapping hash block written to the DB we might end up with wrong hash list. That happened to me for some reason when synching with the testnet leading to the following keys with respective values: 150000 -> 2000 hashes 152000 -> 2000 hashes 153999 -> 2000 hashes Reading it hashes number 153999 and 154000 got the same values and the chain couldn't sync correctly. |
||
---|---|---|
.. | ||
helpers.go | ||
leveldb_store.go | ||
leveldb_store_test.go | ||
memory_store.go | ||
memory_store_test.go | ||
README.md | ||
redis_store.go | ||
redis_store_test.go | ||
store.go | ||
store_config.go | ||
store_test.go |