neo-go/pkg/core/mpt
Evgeniy Stratonikov bd2b1a0521 mpt: add Size method to trie nodes
Knowing serialized size of the node is useful for
preallocating byte-slice in advance.

Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
2021-08-06 12:01:16 +03:00
..
base.go mpt: add Size method to trie nodes 2021-08-06 12:01:16 +03:00
batch.go mpt: move empty hash node in a separate type 2021-08-06 12:01:16 +03:00
batch_test.go mpt: move empty hash node in a separate type 2021-08-06 12:01:16 +03:00
branch.go mpt: add Size method to trie nodes 2021-08-06 12:01:16 +03:00
compat_test.go mpt/tests: add compatibility tests 2021-06-04 11:09:17 +03:00
doc.go mpt: implement MPT trie 2020-07-30 12:42:15 +03:00
empty.go mpt: add Size method to trie nodes 2021-08-06 12:01:16 +03:00
extension.go mpt: add Size method to trie nodes 2021-08-06 12:01:16 +03:00
hash.go mpt: add Size method to trie nodes 2021-08-06 12:01:16 +03:00
helpers.go slice: introduce common Copy helper 2021-07-19 22:57:55 +03:00
leaf.go mpt: add Size method to trie nodes 2021-08-06 12:01:16 +03:00
node.go mpt: add Size method to trie nodes 2021-08-06 12:01:16 +03:00
node_test.go mpt: add Size method to trie nodes 2021-08-06 12:01:16 +03:00
proof.go mpt: move empty hash node in a separate type 2021-08-06 12:01:16 +03:00
proof_test.go mpt: implement reference counting 2020-11-20 16:50:30 +03:00
trie.go mpt: move empty hash node in a separate type 2021-08-06 12:01:16 +03:00
trie_test.go mpt: move empty hash node in a separate type 2021-08-06 12:01:16 +03:00