Ho
134e1b8f92
feat&perf: reversed bit of key when persisting zktrie ( #410 )
...
* bit reverse when persisting zktrie
* fix according to review
* Update version.go
---------
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-07-31 16:13:12 +08:00
Ho
29e450264c
fix: error propagation in db layer of zktrie ( #238 )
...
* fix error propagation in db layer of zktrie
* goimports fixing
2023-03-06 13:17:41 +08:00
HAOYUatHZ
0854d4bbb1
core, trie, eth, cmd: rework preimage store ( #205 )
...
* core, trie, eth, cmd: rework preimage store
* fix ci
* fix ci
* Update zk_trie_database.go
---------
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Co-authored-by: maskpp <maskpp266@gmail.com>
2023-02-10 15:26:57 +08:00
shu-unifra
f21acfee4a
perf: use fastcache for zktrie node ( #172 )
...
* * benchmark add benchmark for zktrie
* * improve: use fastcache for zktrie node
2022-11-14 10:49:36 +08:00
Ho
e6500918a0
refactor: adapt to standalone zktrie module ( #165 )
...
* adapt zktrie: zktrie part
* adapt unittests
* pass tests
* refactor for new zktrie module
* run go imports
2022-10-17 14:32:42 +08:00
Ho
c516a9e477
zktrie part2: add zktrie; allow switch trie type by config; ( #113 )
...
* induce zktrie
* refactoring zktrie
* fix crash issue in logger
* renaming JSON field
* unify hash scheme
* goimport and mod lint
* backward compatible with go 1.17
* lints
* add option on genesis file
* corrections according to the reviews
* trivial fixes: ValueKey entry, key in prove nodes
* fixing for the proof fix ...
* avoiding panic before loading stateDb in genesis setup
* revert ExtraData.StateList json annotation for compatibility
* fix goimports lint
* fix goimports lint
* better encoding for leaf node
* fix proof's printing issue, add handling on coinbase
* update genesis, and rule out snapshot in zktrie mode
* update readme and lint
* fix an issue
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>
2022-06-27 11:17:02 +08:00