forked from TrueCloudLab/neoneo-go
103c45850a
Because trie size is rather big, it can't be stored in memory. Thus some form of caching should also be implemented. To avoid marshaling/unmarshaling of items which are close to root and are used very frequenly we can save them across the persists. This commit implements pruning items at the specified depth, replacing them by hash nodes. |
||
---|---|---|
.. | ||
branch.go | ||
doc.go | ||
extension.go | ||
hash.go | ||
helpers.go | ||
leaf.go | ||
node.go | ||
node_test.go | ||
proof.go | ||
proof_test.go | ||
trie.go | ||
trie_test.go |