neoneo-go/pkg/core/storage
Roman Khimov 30836ca69b core/native: untangle native contracts initialization
The notion of NativeContractState shouldn't ever existed, native contract is a
contract and its state is saved as regular contract state which is critical
because we'll have MPT calculations over this state soon.

Initial minting should be done in Neo.Native.Deploy because it generates
notification that should have proper transaction context.

RegisterNative() shouldn't exist as a public method, native contracts are only
registered at block 0 and they can do it internally, no outside user should be
able to mess with it.

Move some structures from `native` package to `interop` also to avoid circular
references as interop.Context has to have a list of native contracts (exposing
them via Blockchainer is again too dangerous, it's too powerful tool).
2020-04-27 12:30:39 +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 go.mod: update boltdb to v1.3.4 2020-03-25 17:07:54 +03:00
boltdb_store_test.go storage: redo DB testing 2019-10-15 12:56:25 +03:00
leveldb_store.go fix spelling and godoc comments 2019-10-22 17:56:03 +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/native: untangle native contracts initialization 2020-04-27 12:30:39 +03:00
store_config.go storage: add support of BadgerDB 2020-04-09 13:55:59 +03:00
store_test.go Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
storeandbatch_test.go storage: add support of BadgerDB 2020-04-09 13:55:59 +03:00