neoneo-go/pkg/core/mpt
Anna Shaleva f721384ead core: allow empty MPT Leaf values
Allow it for (*Trie).Put. And distinguish empty value and nil value for
(*Trie).PutBatch, because batch is already capable of handling both nil
and empty value. For (*Trie).PutBatch putting nil value means deletion,
while putting empty value means just putting LeafNode with an empty
value.
2021-09-03 13:46:48 +03:00
..
base.go mpt: use BinWriter.Grow() instead of custom buffer 2021-08-10 09:34:05 +03:00
batch.go core: allow empty MPT Leaf values 2021-09-03 13:46:48 +03:00
batch_test.go core: allow empty MPT Leaf values 2021-09-03 13:46:48 +03:00
bench_test.go mpt: use BinWriter.Grow() instead of custom buffer 2021-08-10 09:34:05 +03:00
branch.go mpt: add Size method to trie nodes 2021-08-06 12:01:16 +03:00
compat_test.go core: allow empty MPT Leaf values 2021-09-03 13:46:48 +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 core: allow empty MPT Leaf values 2021-09-03 13:46:48 +03:00
trie_test.go core: allow empty MPT Leaf values 2021-09-03 13:46:48 +03:00