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.
Felix Lange
d6c5f2417c
eth: improve shutdown synchronization ( #20695 )
...
* eth: improve shutdown synchronization
Most goroutines started by eth.Ethereum didn't have any shutdown sync at
all, which lead to weird error messages when quitting the client.
This change improves the clean shutdown path by stopping all internal
components in dependency order and waiting for them to actually be
stopped before shutdown is considered done. In particular, we now stop
everything related to peers before stopping 'resident' parts such as
core.BlockChain.
* eth: rewrite sync controller
* eth: remove sync start debug message
* eth: notify chainSyncer about new peers after handshake
* eth: move downloader.Cancel call into chainSyncer
* eth: make post-sync block broadcast synchronous
* eth: add comments
* core: change blockchain stop message
* eth: change closeBloomHandler channel type
5 years ago
..
asm
core/asm: allow numbers in labels ( #20362 )
5 years ago
bloombits
core/bloombits, light: fix typos ( #17235 )
7 years ago
forkid
consensus/ethash, params: eip-2384: bump difficulty bomb ( #20347 )
5 years ago
rawdb
Merge pull request #20152 from karalabe/snapshot-5
5 years ago
state
core: fix two snapshot iterator flaws, decollide snap storage prefix
5 years ago
types
core/types: remove BlockBy sorting code ( #20355 )
5 years ago
vm
Merge pull request #20152 from karalabe/snapshot-5
5 years ago
.gitignore
…
bench_test.go
core, light, params: implement eip2028 ( #19931 )
6 years ago
block_validator.go
core: use headers only where blocks are unnecessary
6 years ago
block_validator_test.go
all: clean up and proerly abstract database access
6 years ago
blockchain.go
eth: improve shutdown synchronization ( #20695 )
5 years ago
blockchain_insert.go
all: simplify timestamps to uint64 ( #19372 )
6 years ago
blockchain_test.go
core: fix two snapshot iterator flaws, decollide snap storage prefix
5 years ago
blocks.go
core: typos and comments improve
8 years ago
chain_indexer.go
core: fix chain indexer ( #19786 )
6 years ago
chain_indexer_test.go
core: fix chain indexer unit test ( #20506 )
5 years ago
chain_makers.go
core: initial version of state snapshots
5 years ago
chain_makers_test.go
all: clean up and proerly abstract database access
6 years ago
dao_test.go
all: clean up and proerly abstract database access
6 years ago
error.go
core: move error variable to error.go ( #19560 )
6 years ago
events.go
eth/filters: remove use of event.TypeMux for pending logs ( #20312 )
5 years ago
evm.go
core/evm: less iteration in blockhash ( #20589 )
5 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
core: initial version of state snapshots
5 years ago
genesis_alloc.go
cmd, core, params: add support for Goerli
6 years ago
genesis_test.go
all: clean up and proerly abstract database access
6 years ago
headerchain.go
core, light: write chain data in atomic way ( #20287 )
5 years ago
mkalloc.go
core/vm: 64 bit memory and gas calculations ( #19210 )
6 years ago
state_prefetcher.go
core/state/snapshot: bloom, metrics and prefetcher fixes
5 years ago
state_processor.go
core: remove unused gas return in ApplyTransaction ( #20065 )
5 years ago
state_transition.go
core: s/isEIP155/isHomestead/g (fix IntrinsicGas signature var name) ( #20300 )
5 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: count tx size in slots, bump max size ot 4x32KB ( #20352 )
5 years ago
tx_list_test.go
all: switch gas limits from big.Int to uint64
7 years ago
tx_noncer.go
core: fix write concurrency in txpool ( #19835 )
6 years ago
tx_pool.go
eth: rework tx fetcher to use O(1) ops + manage network requests
5 years ago
tx_pool_test.go
core: fix broken tests due to API changes + linter
5 years ago
types.go
core: prefetch next block state concurrently
6 years ago