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.
Martin Holst Swende
40b6ccf383
core,les: headerchain import in batches ( #21471 )
...
* core: add test for headerchain inserts
* core, light: write headerchains in batches
* core: change to one callback per batch of inserted headers + review concerns
* core: error-check on batch write
* core: unexport writeHeaders
* core: remove callback parameter in InsertHeaderChain
The semantics of InsertHeaderChain are now much simpler: it is now an
all-or-nothing operation. The new WriteStatus return value allows
callers to check for the canonicality of the insertion. This change
simplifies use of HeaderChain in package les, where the callback was
previously used to post chain events.
* core: skip some hashing when writing headers
* core: less hashing in header validation
* core: fix headerchain flaw regarding blacklisted hashes
Co-authored-by: Felix Lange <fjl@twurst.com>
4 years ago
..
asm
core/asm: allow numbers in labels ( #20362 )
5 years ago
bloombits
core/bloombits: faster generator ( #21625 )
4 years ago
forkid
cmd/devp2p: add eth protocol test suite ( #21598 )
4 years ago
rawdb
core: improve snapshot journal recovery ( #21594 )
4 years ago
state
all: remove redundant conversions and import names ( #21903 )
4 years ago
types
core/types: fixed typo ( #21897 )
4 years ago
vm
core/vm/runtime: remove duplicated line ( #21956 )
4 years ago
.gitignore
Renamed `chain` => `core`
10 years ago
bench_test.go
cmd, core, eth: background transaction indexing ( #20302 )
5 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,les: headerchain import in batches ( #21471 )
4 years ago
blockchain_insert.go
core: fix blockchain insert report time interval calculation ( #21723 )
4 years ago
blockchain_repair_test.go
core: improve snapshot journal recovery ( #21594 )
4 years ago
blockchain_sethead_test.go
core: improve snapshot journal recovery ( #21594 )
4 years ago
blockchain_snapshot_test.go
core/state/snapshot: update generator marker in sync with flushes
4 years ago
blockchain_test.go
core: improve contextual information on core errors ( #21869 )
4 years ago
blocks.go
core: typos and comments improve
8 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
les: historical data garbage collection ( #19570 )
4 years ago
chain_makers.go
les: historical data garbage collection ( #19570 )
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 )
4 years ago
error.go
all: fix typos in comments ( #21118 )
5 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: disable recording preimage of trie keys ( #21402 )
4 years ago
genesis_alloc.go
cmd, core, params: inital support for yolo-v1 testnet ( #21154 )
5 years ago
genesis_test.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
headerchain.go
core,les: headerchain import in batches ( #21471 )
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
core, all: split vm.Context into BlockContext and TxContext ( #21672 )
4 years ago
state_processor.go
core: improve contextual information on core errors ( #21869 )
4 years ago
state_processor_test.go
core: improve contextual information on core errors ( #21869 )
4 years ago
state_transition.go
core: improve contextual information on core errors ( #21869 )
4 years ago
tx_cacher.go
Comment error ( #18303 )
6 years ago
tx_journal.go
core: fix typos in comment ( #17531 )
6 years ago
tx_list.go
core: free pointer from slice after popping element from price heap ( #21572 )
4 years ago
tx_list_test.go
Revert "core, txpool: less allocations when handling transactions ( #21232 )"
4 years ago
tx_noncer.go
core: fix write concurrency in txpool ( #19835 )
5 years ago
tx_pool.go
core: fix txpool off-by-one error ( #21683 )
4 years ago
tx_pool_test.go
core: improve contextual information on core errors ( #21869 )
4 years ago
types.go
core: prefetch next block state concurrently
6 years ago