neo-go/pkg/core/mpt
Roman Khimov 9d2ef775cf storage: simplify (*MemCachedStore).Put/Delete interface
They never return errors, so their interface should reflect that. This allows
to remove quite a lot of useless and never tested code.

Notice that Get still does return an error. It can be made not to do that, but
usually we need to differentiate between successful/unsuccessful accesses
anyway, so this doesn't help much.
2022-02-16 18:24:20 +03:00
..
base.go mpt: use BinWriter.Grow() instead of custom buffer 2021-08-10 09:34:05 +03:00
batch.go core: handle empty MPT batch properly 2021-10-27 18:44:39 +03:00
batch_test.go storage: simplify (*MemCachedStore).Put/Delete interface 2022-02-16 18:24:20 +03:00
bench_test.go mpt: use BinWriter.Grow() instead of custom buffer 2021-08-10 09:34:05 +03:00
billet.go storage: simplify (*MemCachedStore).Put/Delete interface 2022-02-16 18:24:20 +03:00
billet_test.go mpt: add the notion of MPT mode 2022-02-10 19:15:18 +03:00
branch.go core: clone MPT node while restoring it multiple times 2021-09-07 19:43:27 +03:00
compat_test.go mpt: modify refcounted storage scheme to make GC possible 2022-02-10 21:56:20 +03:00
doc.go mpt: implement MPT trie 2020-07-30 12:42:15 +03:00
empty.go core: clone MPT node while restoring it multiple times 2021-09-07 19:43:27 +03:00
extension.go core: clone MPT node while restoring it multiple times 2021-09-07 19:43:27 +03:00
hash.go core: clone MPT node while restoring it multiple times 2021-09-07 19:43:27 +03:00
helpers.go core: implement statesync module 2021-09-07 19:43:27 +03:00
helpers_test.go core: implement statesync module 2021-09-07 19:43:27 +03:00
leaf.go core: clone MPT node while restoring it multiple times 2021-09-07 19:43:27 +03:00
node.go core: clone MPT node while restoring it multiple times 2021-09-07 19:43:27 +03:00
node_test.go mpt: add the notion of MPT mode 2022-02-10 19:15:18 +03:00
proof.go storage: simplify (*MemCachedStore).Put/Delete interface 2022-02-16 18:24:20 +03:00
proof_test.go mpt: add the notion of MPT mode 2022-02-10 19:15:18 +03:00
trie.go storage: simplify (*MemCachedStore).Put/Delete interface 2022-02-16 18:24:20 +03:00
trie_test.go storage: simplify (*MemCachedStore).Put/Delete interface 2022-02-16 18:24:20 +03:00