neoneo-go/pkg/core/storage
Anna Shaleva 6381173293 core: store statesync-related storage items under temp prefix
State jump should be an atomic operation, we can't modify contract
storage items state on-the-fly. Thus, store fresh items under temp
prefix and replase the outdated ones after state sync is completed.
Related
https://github.com/nspcc-dev/neo-go/pull/2019#discussion_r693350460.
2021-09-07 19:43:27 +03:00
..
badgerdb_store.go storage: introduce PutChangeSet and use it for Persist 2021-08-12 17:42:16 +03:00
badgerdb_store_test.go *: make tests use TempDir(), fix #1319 2021-08-26 17:29:40 +03:00
boltdb_store.go storage: introduce PutChangeSet and use it for Persist 2021-08-12 17:42:16 +03:00
boltdb_store_test.go *: make tests use TempDir(), fix #1319 2021-08-26 17:29:40 +03:00
leveldb_store.go storage: introduce PutChangeSet and use it for Persist 2021-08-12 17:42:16 +03:00
leveldb_store_test.go *: make tests use TempDir(), fix #1319 2021-08-26 17:29:40 +03:00
memcached_store.go storage: introduce PutChangeSet and use it for Persist 2021-08-12 17:42:16 +03:00
memcached_store_test.go storage: introduce PutChangeSet and use it for Persist 2021-08-12 17:42:16 +03:00
memory_store.go storage: introduce PutChangeSet and use it for Persist 2021-08-12 17:42:16 +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: introduce PutChangeSet and use it for Persist 2021-08-12 17:42:16 +03:00
redis_store_test.go go.mod: update miniredis to 2.15.1 2021-07-21 23:28:26 +03:00
store.go core: store statesync-related storage items under temp prefix 2021-09-07 19:43:27 +03:00
store_config.go storage: add support of BadgerDB 2020-04-09 13:55:59 +03:00
store_test.go native: move contract deployment to management contract 2020-12-14 15:23:46 +03:00
storeandbatch_test.go slice: introduce common Copy helper 2021-07-19 22:57:55 +03:00