cmd, core, eth: background transaction indexing (#20302)
* cmd, core, eth: init tx lookup in background * core/rawdb: tiny log fixes to make it clearer what's happening * core, eth: fix rebase errors * core/rawdb: make reindexing less generic, but more optimal * rlp: implement rlp list iterator * core/rawdb: new implementation of tx indexing/unindex using generic tx iterator and hashing rlp-data * core/rawdb, cmd/utils: fix review concerns * cmd/utils: fix merge issue * core/rawdb: add some log formatting polishes Co-authored-by:rjl493456442 <garyrong0905@gmail.com> Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
Showing
- accounts/abi/bind/backends/simulated.go 1 addition, 1 deletionaccounts/abi/bind/backends/simulated.go
- cmd/geth/chaincmd.go 7 additions, 5 deletionscmd/geth/chaincmd.go
- cmd/geth/main.go 1 addition, 0 deletionscmd/geth/main.go
- cmd/geth/retesteth.go 1 addition, 1 deletioncmd/geth/retesteth.go
- cmd/geth/usage.go 1 addition, 0 deletionscmd/geth/usage.go
- cmd/utils/flags.go 20 additions, 3 deletionscmd/utils/flags.go
- consensus/clique/clique_test.go 3 additions, 3 deletionsconsensus/clique/clique_test.go
- consensus/clique/snapshot_test.go 1 addition, 1 deletionconsensus/clique/snapshot_test.go
- core/bench_test.go 2 additions, 2 deletionscore/bench_test.go
- core/block_validator_test.go 4 additions, 4 deletionscore/block_validator_test.go
- core/blockchain.go 143 additions, 4 deletionscore/blockchain.go
- core/blockchain_test.go 242 additions, 27 deletionscore/blockchain_test.go
- core/chain_makers_test.go 1 addition, 1 deletioncore/chain_makers_test.go
- core/dao_test.go 6 additions, 6 deletionscore/dao_test.go
- core/genesis_test.go 1 addition, 1 deletioncore/genesis_test.go
- core/rawdb/accessors_chain.go 56 additions, 0 deletionscore/rawdb/accessors_chain.go
- core/rawdb/accessors_indexes.go 23 additions, 1 deletioncore/rawdb/accessors_indexes.go
- core/rawdb/chain_iterator.go 305 additions, 0 deletionscore/rawdb/chain_iterator.go
- core/rawdb/chain_iterator_test.go 82 additions, 0 deletionscore/rawdb/chain_iterator_test.go
- core/rawdb/freezer_reinit.go 0 additions, 127 deletionscore/rawdb/freezer_reinit.go
Loading
Please register or sign in to comment