go-ethereum/common
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
..
bitutil Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
compiler common/compiler: fix parsing of solc output with solidity v.0.8.0 (#22092) 2021-01-05 14:48:22 +01:00
fdlimit all: add go:build lines (#23468) 2021-08-25 18:46:29 +02:00
hexutil Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
math Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
mclock common/mclock: remove dependency on github.com/aristanetworks/goarista (#22211) 2021-01-22 20:15:27 +01:00
prque Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
big.go core, vm, common: define constantinople fork + shift (#16045) 2018-02-23 12:32:57 +02:00
bytes.go common: remove ToHex and ToHexArray (#21610) 2020-11-04 11:20:39 +01:00
bytes_test.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
debug.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
format.go common, core, light: add block age into info logs 2018-09-20 12:56:35 +03:00
path.go common: improve documentation comments (#16701) 2018-05-29 12:42:21 +02:00
size.go core, cmd, vendor: fixes and database inspection tool (#15) 2019-05-16 10:39:34 +03:00
size_test.go cmd/utils, eth: relinquish GC cache to read cache in archive mode 2019-02-07 14:36:25 +02:00
test_utils.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
types.go zktrie part2: add zktrie; allow switch trie type by config; (#113) 2022-06-27 11:17:02 +08:00
types_test.go common: improve printing of Hash and Address (#21834) 2020-12-08 19:19:09 +01:00