neoneo-go/pkg/core/storage
Anna Shaleva 097ef2a731 core: copy storage item key in simple.GetStorageItems
Related to #1468, ported from #1475.

We should copy the key to avoid bytes substitution. Otherwise there's a
chance that at the end of dao.Store.Seek(...) execution some keys won't
be the same as the original keys found inside saveToMap function because
storage.Seek can guarantee that provided key and value are only valid
until the next `f` call.
2020-10-10 12:37:46 +03:00
..
badgerdb_store.go storage: add support of BadgerDB 2020-04-09 13:55:59 +03:00
badgerdb_store_test.go storage: add support of BadgerDB 2020-04-09 13:55:59 +03:00
boltdb_store.go always wrap errors when creating new ones with fmt.Errorf() 2020-08-07 12:21:52 +03:00
boltdb_store_test.go storage: redo DB testing 2019-10-15 12:56:25 +03:00
leveldb_store.go storage: add bloom filter to leveldb 2020-09-09 20:46:31 +03:00
leveldb_store_test.go storage: redo DB testing 2019-10-15 12:56:25 +03:00
memcached_store.go storage: optimize (*MemCachedStore).Persist for memory-backed ps 2020-03-28 17:21:50 +03:00
memcached_store_test.go storage: optimize (*MemCachedStore).Persist for memory-backed ps 2020-03-28 17:21:50 +03:00
memory_store.go storage: add locking into (*MemoryStore).Seek 2020-02-24 17:51:50 +03:00
memory_store_test.go core: move write caching layer into MemCacheStore 2019-10-16 17:33:45 +03:00
redis_store.go storage: simplify MemoryBatch 2019-10-15 12:56:25 +03:00
redis_store_test.go storage: redo DB testing 2019-10-15 12:56:25 +03:00
store.go core: copy storage item key in simple.GetStorageItems 2020-10-10 12:37:46 +03:00
store_config.go storage: add support of BadgerDB 2020-04-09 13:55:59 +03:00
store_test.go *: drop support for old on-chain assets 2020-06-05 19:21:37 +03:00
storeandbatch_test.go storage: add support of BadgerDB 2020-04-09 13:55:59 +03:00