erigon-pulse/aggregator
Artem Tsebrovskiy abd93fe9c9
implement bin_patricia_hashed trie (#430)
* commitment: implemented semi-working bin patricia trie

* commitment: added initialize function to select commitment implementation

* deleted reference implementation of binary trie

* added branch merge function selection in accordance with current commitment type

* smarter branch prefix convolution to reduce disk usage

* implemented DELETE update

* commitment/bin-trie: fixed merge processing and storage encoding

* added changed hex to bin patricia trie

* fixed trie variant select

* allocate if bufPos larger than buf size

* added tracing code

* Fix lint

* Skip test

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-05-05 13:08:58 +01:00
..
aggregator_test.go implement bin_patricia_hashed trie (#430) 2022-05-05 13:08:58 +01:00
aggregator.go implement bin_patricia_hashed trie (#430) 2022-05-05 13:08:58 +01:00
history.go Enable more linters (#381) 2022-03-19 11:38:37 +07:00