Evgenii Stratonikov
|
df1792c80b
|
mpt: export func for decoding node with type
`NodeObject` can contain auxilliary fields and shouldn't be used from outside.
|
2020-11-11 13:22:53 +03:00 |
|
Roman Khimov
|
1b6aee42d5
|
mpt: restructure nodes a bit, implement serialization and hash cache
It drastically reduces the number of allocations and hash calculations.
|
2020-06-03 00:37:21 +03:00 |
|
Evgenii Stratonikov
|
9c478378e1
|
mpt: implement JSON marshaling/unmarshaling
Because there is no distinct type field in JSONized nodes, distinction
is made via payload itself, thus all unmarshaling is done via
NodeObject.
|
2020-06-01 18:15:13 +03:00 |
|
Evgenii Stratonikov
|
861a1638e8
|
mpt: implement MPT trie
MPT is a trie with a branching factor = 16, i.e. it consists of sequences in
16-element alphabet.
|
2020-06-01 18:14:19 +03:00 |
|