erigon-pulse/cmd
gary rong a9e6250e72 all: bloom-filter based pruning mechanism (#21724)
* cmd, core, tests: initial state pruner

core: fix db inspector

cmd/geth: add verify-state

cmd/geth: add verification tool

core/rawdb: implement flatdb

cmd, core: fix rebase

core/state: use new contract code layout

core/state/pruner: avoid deleting genesis state

cmd/geth: add helper function

core, cmd: fix extract genesis

core: minor fixes

contracts: remove useless

core/state/snapshot: plugin stacktrie

core: polish

core/state/snapshot: iterate storage concurrently

core/state/snapshot: fix iteration

core: add comments

core/state/snapshot: polish code

core/state: polish

core/state/snapshot: rebase

core/rawdb: add comments

core/rawdb: fix tests

core/rawdb: improve tests

core/state/snapshot: fix concurrent iteration

core/state: run pruning during the recovery

core, trie: implement martin's idea

core, eth: delete flatdb and polish pruner

trie: fix import

core/state/pruner: add log

core/state/pruner: fix issues

core/state/pruner: don't read back

core/state/pruner: fix contract code write

core/state/pruner: check root node presence

cmd, core: polish log

core/state: use HEAD-127 as the target

core/state/snapshot: improve tests

cmd/geth: fix verification tool

cmd/geth: use HEAD as the verification default target

all: replace the bloomfilter with martin's fork

cmd, core: polish code

core, cmd: forcibly delete state root

core/state/pruner: add hash64

core/state/pruner: fix blacklist

core/state: remove blacklist

cmd, core: delete trie clean cache before pruning

cmd, core: fix lint

cmd, core: fix rebase

core/state: fix the special case for clique networks

core/state/snapshot: remove useless code

core/state/pruner: capping the snapshot after pruning

cmd, core, eth: fixes

core/rawdb: update db inspector

cmd/geth: polish code

core/state/pruner: fsync bloom filter

cmd, core: print warning log

core/state/pruner: adjust the parameters for bloom filter

cmd, core: create the bloom filter by size

core: polish

core/state/pruner: sanitize invalid bloomfilter size

cmd: address comments

cmd/geth: address comments

cmd/geth: address comment

core/state/pruner: address comments

core/state/pruner: rename homedir to datadir

cmd, core: address comments

core/state/pruner: address comment

core/state: address comments

core, cmd, tests: address comments

core: address comments

core/state/pruner: release the iterator after each commit

core/state/pruner: improve pruner

cmd, core: adjust bloom paramters

core/state/pruner: fix lint

core/state/pruner: fix tests

core: fix rebase

core/state/pruner: remove atomic rename

core/state/pruner: address comments

all: run go mod tidy

core/state/pruner: avoid false-positive for the middle state roots

core/state/pruner: add checks for middle roots

cmd/geth: replace crit with error

* core/state/pruner: fix lint

* core: drop legacy bloom filter

* core/state/snapshot: improve pruner

* core/state/snapshot: polish concurrent logs to report ETA vs. hashes

* core/state/pruner: add progress report for pruning and compaction too

* core: fix snapshot test API

* core/state: fix some pruning logs

* core/state/pruner: support recovering from bloom flush fail

Co-authored-by: Péter Szilágyi <peterke@gmail.com>
# Conflicts:
#	cmd/geth/main.go
#	cmd/geth/usage.go
#	core/blockchain.go
#	core/blockchain_snapshot_test.go
#	core/genesis.go
#	core/rawdb/database.go
#	core/rawdb/schema.go
#	core/state/snapshot/conversion.go
#	core/state/snapshot/snapshot.go
#	core/state/snapshot/snapshot_test.go
#	eth/backend.go
#	go.mod
#	go.sum
#	tests/block_test_util.go
#	tests/state_test_util.go
#	trie/stacktrie.go
2021-03-10 10:58:22 +01:00
..
abidump post-merge fixups 2020-02-27 17:22:25 +03:00
abigen cmd/abigen: clarify abigen alias flag usage (#21875) 2021-03-08 14:39:15 +01:00
bootnode les: switch to new discv5 (#21940) 2021-03-09 12:54:06 +01:00
checkpoint-admin Fixes 'too many other files opened' problem with Generate Storage History stage on Mac (#1217) 2020-10-10 22:15:07 +01:00
clef cmd/clef: don't check file permissions on windows (#22251) 2021-03-09 13:51:33 +01:00
devp2p cmd/devp2p: add node filter for snap + fix arg error (#21950) 2021-03-08 12:48:01 +01:00
ethkey geth 1.9.18 post-rebase fixups 2020-08-08 17:33:35 +02:00
evm cmd,core,eth,params,tests: define yolov3 + enable EIP-2565 (#22213) 2021-03-09 13:47:37 +01:00
faucet cmd: support v1.1 Twitter API in faucet, fix puppeth 2021-03-09 10:14:38 +01:00
geth all: bloom-filter based pruning mechanism (#21724) 2021-03-10 10:58:22 +01:00
hack Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
headers Fixes to unwind logic for the new staged sync (#1521) 2021-02-28 08:47:31 +00:00
integration More documentation for integration tool 2021-03-04 09:42:05 +07:00
p2psim node: refactor package node (#21105) 2020-08-14 16:33:59 +02:00
pics Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
prometheus grafana: unstack charts (#1540) 2021-03-04 12:27:16 +07:00
puppeth all: remove unneeded parentheses (#21921) 2021-03-09 13:59:30 +01:00
rlpdump Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
rpcdaemon Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
rpctest New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
snapshots New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
state Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
tester geth-1.9.23: post-rebase fixups 2020-10-26 17:16:00 +01:00
tg log git branch and git commit (#1523) 2021-03-01 11:02:06 +07:00
tgcustom WIP trace_call implementation (#1399) 2020-12-14 11:27:52 +00:00
utils all: bloom-filter based pruning mechanism (#21724) 2021-03-10 10:58:22 +01:00