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.
AusIV
069a7e1f8a
core/rawdb: stop freezer process as part of freezer.Close() ( #21010 )
...
* core/rawdb: Stop freezer process as part of freezer.Close()
When you call db.Close(), it was closing the leveldb database first,
then closing the freezer, but never stopping the freezer process.
This could cause the freezer to attempt to write to leveldb after
leveldb had been closed, leading to a crash with a non-zero exit code.
This change adds a quit channel to the freezer, and freezer.Close()
will not return until the freezer process has stopped.
Additionally, when you call freezerdb.Close(), it will close the
AncientStore before closing leveldb, to ensure that the freezer goroutine
will be stopped before leveldb is closed.
* core/rawdb: Fix formatting for golint
* core/rawdb: Use backoff flag to avoid repeating select
* core/rawdb: Include accidentally omitted backoff
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
cmd: deprecate --testnet, use named networks instead ( #20852 )
5 years ago
rawdb
core/rawdb: stop freezer process as part of freezer.Close() ( #21010 )
5 years ago
state
core/state: make GetCodeSize mirror GetCode implementation wise
5 years ago
types
core/types: remove BlockBy sorting code ( #20355 )
5 years ago
vm
all: seperate consensus error and evm internal error ( #20830 )
5 years ago
.gitignore
Renamed `chain` => `core`
10 years ago
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
snapshotter/tests: verify snapdb post-state against trie ( #20812 )
5 years ago
blockchain_insert.go
all: simplify timestamps to uint64 ( #19372 )
6 years ago
blockchain_test.go
core: improve TestLogRebirth ( #20961 )
5 years ago
blocks.go
core: typos and comments improve
8 years ago
chain_indexer.go
core: add check in AddChildIndexer to avoid double lock ( #20982 )
5 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
all: seperate consensus error and evm internal error ( #20830 )
5 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
cmd, core: remove override muir glacier and override istanbul ( #20942 )
5 years ago
genesis_alloc.go
cmd: deprecate --testnet, use named networks instead ( #20852 )
5 years ago
genesis_test.go
cmd: deprecate --testnet, use named networks instead ( #20852 )
5 years ago
headerchain.go
core: mirror full node reorg logic in light client too ( #20931 )
5 years ago
mkalloc.go
core/vm: 64 bit memory and gas calculations ( #19210 )
6 years ago
state_prefetcher.go
all: seperate consensus error and evm internal error ( #20830 )
5 years ago
state_processor.go
all: seperate consensus error and evm internal error ( #20830 )
5 years ago
state_transition.go
all: seperate consensus error and evm internal error ( #20830 )
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
all: seperate consensus error and evm internal error ( #20830 )
5 years ago
tx_pool_test.go
core: avoid double-lock in tx_pool_test ( #20984 )
5 years ago
types.go
core: prefetch next block state concurrently
6 years ago