Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gary rong
7088f1e814
core, eth: faster snapshot generation (#22504)
* eth/protocols: persist received state segments
* core: initial implementation
* core/state/snapshot: add tests
* core, eth: updates
* eth/protocols/snapshot: count flat state size
* core/state: add metrics
* core/state/snapshot: skip unnecessary deletion
* core/state/snapshot: rename
* core/state/snapshot: use the global batch
* core/state/snapshot: add logs and fix wiping
* core/state/snapshot: fix
* core/state/snapshot: save generation progress even if the batch is empty
* core/state/snapshot: fixes
* core/state/snapshot: fix initial account range length
* core/state/snapshot: fix initial account range
* eth/protocols/snap: store flat states during the healing
* eth/protocols/snap: print logs
* core/state/snapshot: refactor (#4)
* core/state/snapshot: refactor
* core/state/snapshot: tiny fix and polish
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
* core, eth: fixes
* core, eth: fix healing writer
* core, trie, eth: fix paths
* eth/protocols/snap: fix encoding
* eth, core: add debug log
* core/state/generate: release iterator asap (#5)
core/state/snapshot: less copy
core/state/snapshot: revert split loop
core/state/snapshot: handle storage becoming empty, improve test robustness
core/state: test modified codehash
core/state/snapshot: polish
* core/state/snapshot: optimize stats counter
* core, eth: add metric
* core/state/snapshot: update comments
* core/state/snapshot: improve tests
* core/state/snapshot: replace secure trie with standard trie
* core/state/snapshot: wrap return as the struct
* core/state/snapshot: skip wiping correct states
* core/state/snapshot: updates
* core/state/snapshot: fixes
* core/state/snapshot: fix panic due to reference flaw in closure
* core/state/snapshot: fix errors in state generation logic + fix log output
* core/state/snapshot: remove an error case
* core/state/snapshot: fix condition-check for exhausted snap state
* core/state/snapshot: use stackTrie for small tries
* core/state/snapshot: don't resolve small storage tries in vain
* core/state/snapshot: properly clean up storage of deleted accounts
* core/state/snapshot: avoid RLP-encoding in some cases + minor nitpicks
* core/state/snapshot: fix error (+testcase)
* core/state/snapshot: clean up tests a bit
* core/state/snapshot: work in progress on better tests
* core/state/snapshot: polish code
* core/state/snapshot: fix trie iteration abortion trigger
* core/state/snapshot: fixes flaws
* core/state/snapshot: remove panic
* core/state/snapshot: fix abort
* core/state/snapshot: more tests (plus failing testcase)
* core/state/snapshot: more testcases + fix for failing test
* core/state/snapshot: testcase for malformed data
* core/state/snapshot: some test nitpicks
* core/state/snapshot: improvements to logging
* core/state/snapshot: testcase to demo error in abortion
* core/state/snapshot: fix abortion
* cmd/geth: make verify-state report the root
* trie: fix failing test
* core/state/snapshot: add timer metrics
* core/state/snapshot: fix metrics
* core/state/snapshot: udpate tests
* eth/protocols/snap: write snapshot account even if code or state is needed
* core/state/snapshot: fix diskmore check
* core/state/snapshot: review fixes
* core/state/snapshot: improve error message
* cmd/geth: rename 'error' to 'err' in logs
* core/state/snapshot: fix some review concerns
* core/state/snapshot, eth/protocols/snap: clear snapshot marker when starting/resuming snap sync
* core: add error log
* core/state/snapshot: use proper timers for metrics collection
* core/state/snapshot: address some review concerns
* eth/protocols/snap: improved log message
* eth/protocols/snap: fix heal logs to condense infos
* core/state/snapshot: wait for generator termination before restarting
* core/state/snapshot: revert timers to counters to track total time
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
|
4 years ago |
.. |
asm
|
core/asm: allow numbers in labels (#20362)
|
5 years ago |
bloombits
|
eth, core: speed up some tests (#22000)
|
4 years ago |
forkid
|
Revert "core/forkid, params: unset Berlin fork number (#22413)"
|
4 years ago |
rawdb
|
cmd/geth: add db-command to inspect freezer index (#22633)
|
4 years ago |
state
|
core, eth: faster snapshot generation (#22504)
|
4 years ago |
types
|
core/types: improve comments in new EIP-2718 code (#22402)
|
4 years ago |
vm
|
core, eth, internal/ethapi: create access list RPC API (#22550)
|
4 years ago |
.gitignore
|
Renamed `chain` => `core`
|
10 years ago |
bench_test.go
|
all: add read-only option to database (#22407)
|
4 years ago |
block_validator.go
|
trie: use stacktrie for Derivesha operation (#21407)
|
4 years ago |
block_validator_test.go
|
cmd, core, eth: background transaction indexing (#20302)
|
5 years ago |
blockchain.go
|
core: fix temp memory blowup caused by defers holding on to state
|
4 years ago |
blockchain_insert.go
|
core: fix blockchain insert report time interval calculation (#21723)
|
4 years ago |
blockchain_repair_test.go
|
all: add read-only option to database (#22407)
|
4 years ago |
blockchain_sethead_test.go
|
all: add read-only option to database (#22407)
|
4 years ago |
blockchain_snapshot_test.go
|
all: add read-only option to database (#22407)
|
4 years ago |
blockchain_test.go
|
all: add read-only option to database (#22407)
|
4 years ago |
blocks.go
|
core: typos and comments improve
|
8 years ago |
bloom_indexer.go
|
eth: move eth.Config to a common package (#22205)
|
4 years ago |
chain_indexer.go
|
all: replace RWMutex with Mutex in places where RLock is not used (#21622)
|
4 years ago |
chain_indexer_test.go
|
core: fix potential race in chainIndexerTest (#22346)
|
4 years ago |
chain_makers.go
|
core: add BlockGen.GetBalance method (#22589)
|
4 years ago |
chain_makers_test.go
|
cmd, core, eth: background transaction indexing (#20302)
|
5 years ago |
dao_test.go
|
les: historical data garbage collection (#19570)
|
5 years ago |
error.go
|
all: add support for EIP-2718, EIP-2930 transactions (#21502)
|
4 years ago |
events.go
|
eth/filters: remove use of event.TypeMux for pending logs (#20312)
|
5 years ago |
evm.go
|
core, all: split vm.Context into BlockContext and TxContext (#21672)
|
4 years ago |
gaspool.go
|
miner: avoid unnecessary work (#15883)
|
7 years ago |
gen_genesis.go
|
all: regenerate codecs with gencodec commit 90983d99de (#15830)
|
7 years ago |
gen_genesis_account.go
|
all: regenerate codecs with gencodec commit 90983d99de (#15830)
|
7 years ago |
genesis.go
|
all: define Berlin hard fork spec
|
4 years ago |
genesis_alloc.go
|
all: add support for EIP-2718, EIP-2930 transactions (#21502)
|
4 years ago |
genesis_test.go
|
cmd, core, eth: background transaction indexing (#20302)
|
5 years ago |
headerchain.go
|
core: fix condition on header verification
|
4 years ago |
headerchain_test.go
|
core,les: headerchain import in batches (#21471)
|
4 years ago |
mkalloc.go
|
core/vm: 64 bit memory and gas calculations (#19210)
|
6 years ago |
rlp_test.go
|
cmd, core, eth: background transaction indexing (#20302)
|
5 years ago |
state_prefetcher.go
|
all: add support for EIP-2718, EIP-2930 transactions (#21502)
|
4 years ago |
state_processor.go
|
all: add support for EIP-2718, EIP-2930 transactions (#21502)
|
4 years ago |
state_processor_test.go
|
trie : use trie.NewStackTrie instead of new(trie.Trie) (#22246)
|
4 years ago |
state_transition.go
|
core, eth, internal/ethapi: create access list RPC API (#22550)
|
4 years ago |
tx_cacher.go
|
Comment error (#18303)
|
6 years ago |
tx_journal.go
|
core: fix typos in comment (#17531)
|
7 years ago |
tx_list.go
|
core/txpool: remove "local" notion from the txpool price heap (#21478)
|
4 years ago |
tx_list_test.go
|
Revert "core, txpool: less allocations when handling transactions (#21232)"
|
5 years ago |
tx_noncer.go
|
core: fix write concurrency in txpool (#19835)
|
6 years ago |
tx_pool.go
|
core: fix method comment for `txpool.requestReset` (#22543)
|
4 years ago |
tx_pool_test.go
|
trie : use trie.NewStackTrie instead of new(trie.Trie) (#22246)
|
4 years ago |
types.go
|
core: prefetch next block state concurrently
|
6 years ago |