neo-go/pkg/core/storage
Roman Khimov add9368e9d storage: use strings as keys for memory batch
Using pointers is just plain wrong here, because the batch can be updated with
newer values for the same keys.

Fixes Seek() to use HasPrefix also because this is the intended behavior.
2019-10-07 17:05:53 +03:00
..
boltdb_store.go storage: use strings as keys for memory batch 2019-10-07 17:05:53 +03:00
boltdb_store_test.go storage: use strings as keys for memory batch 2019-10-07 17:05:53 +03:00
helpers.go io: move BinReader/BinWriter there, redo Serializable with it 2019-09-16 23:39:51 +03:00
leveldb_store.go storage: always return ErrKeyNotFound when key is not found 2019-09-27 15:42:36 +03:00
leveldb_store_test.go Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
memory_store.go storage: use strings as keys for memory batch 2019-10-07 17:05:53 +03:00
memory_store_test.go core: remove blockCache, use MemoryStore, redesign persist() 2019-09-27 15:42:35 +03:00
redis_store.go storage: use strings as keys for memory batch 2019-10-07 17:05:53 +03:00
redis_store_test.go storage: use strings as keys for memory batch 2019-10-07 17:05:53 +03:00
store.go storage: close function 2019-09-16 18:52:47 +03:00
store_config.go storage: add boltDB support 2019-09-14 10:28:43 +03:00
store_test.go Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00