go-ethereum/cmd/geth
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
..
testdata Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
accountcmd.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
accountcmd_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
chaincmd.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
config.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
consolecmd.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
consolecmd_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
dao_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
dbcmd.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
genesis_test.go zktrie part2: add zktrie; allow switch trie type by config; (#113) 2022-06-27 11:17:02 +08:00
les_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
main.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
misccmd.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
run_test.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
snapshot.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
usage.go feat: add config for blockResult cache_limit (#97) 2022-05-16 18:41:40 +08:00
version_check.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
version_check_test.go cmd/geth: add test to verify regexps in version check (#21962) 2020-12-09 13:59:24 +01:00