go-ethereum/core
Marius van der Wijden d12b1a91cd
consensus/beacon: check that only the latest pow block is valid ttd block ()
* consensus/beacon: check that only the latest pow block is valid ttd block

* consensus/beacon: move verification to async function

* consensus/beacon: fix verifyTerminalPoWBlock, add test cases

* consensus/beacon: cosmetic changes

* consensus/beacon: apply karalabe's fixes
2022-06-29 15:13:19 +03:00
..
asm all: use strings.EqualFold for string comparison () 2022-05-17 13:56:52 +02:00
beacon core/beacon: prevent invalid logsBloom length panic () 2022-05-31 11:11:50 +02:00
bloombits Chore: Minimal gramatical errors (signleton -> singleton) () 2022-06-10 18:47:06 +03:00
forkid cmd, params: implement Gray Glacier hard-fork (EIP-5133) () 2022-06-15 14:10:38 +03:00
rawdb core/rawdb: fix typo in comment () 2022-06-29 11:47:33 +02:00
state core/rawdb: simplify TestDiskSeek to use memorydb () 2022-06-29 11:54:42 +02:00
types core/types: improve LogForStorage and ReceiptForStorage comments () 2022-06-08 18:32:07 +02:00
vm all: more linters () 2022-06-13 16:24:45 +02:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go core: fix benchmark panic () 2022-04-12 11:34:07 +03:00
block_validator_test.go consensus/beacon: check that only the latest pow block is valid ttd block () 2022-06-29 15:13:19 +03:00
block_validator.go cmd, core, eth, miner: deprecate miner.gastarget flag () 2021-08-10 11:28:33 +03:00
blockchain_insert.go eth/downloader: implement beacon sync () 2022-03-11 14:14:45 +02:00
blockchain_reader.go core, eth, internal, rpc: implement final block () 2022-05-18 17:30:42 +03:00
blockchain_repair_test.go all: use T.TempDir to create temporary test directories () 2022-04-08 15:44:55 +02:00
blockchain_sethead_test.go all: more linters () 2022-06-13 16:24:45 +02:00
blockchain_snapshot_test.go all: more linters () 2022-06-13 16:24:45 +02:00
blockchain_test.go all: prefer new(big.Int) over big.NewInt(0) () 2022-06-14 15:09:48 +03:00
blockchain.go all: introduce trie owner notion () 2022-06-06 17:14:55 +02:00
blocks.go core: typos and comments improve 2017-05-25 17:14:33 +03:00
bloom_indexer.go eth: move eth.Config to a common package () 2021-02-05 13:51:15 +01:00
chain_indexer_test.go core: fix potential race in chainIndexerTest () 2021-03-19 13:32:57 +01:00
chain_indexer.go all: make logs a bit easier on the eye to digest () 2021-04-15 20:35:00 +03:00
chain_makers_test.go cmd, core, eth: background transaction indexing () 2020-05-11 18:58:43 +03:00
chain_makers.go eth: request id dispatcher and direct req/reply APIs () 2021-11-26 13:26:03 +02:00
dao_test.go accounts/abi/bind: fix bounded contracts and sim backend for 1559 () 2021-06-15 13:56:14 +03:00
error.go core/vm: implement EIP-2681: Limit account nonce to 2^64-1 () 2021-11-11 15:00:58 +01:00
events.go eth/filters: remove use of event.TypeMux for pending logs () 2019-12-10 12:39:14 +01:00
evm.go core/evm: fix error in comment () 2022-06-08 18:40:37 +02:00
forkchoice.go all: core rework for the merge transition () 2021-11-26 13:23:02 +02:00
gaspool.go miner: avoid unnecessary work () 2018-01-15 12:57:06 +02:00
gen_genesis_account.go tests: update for London () 2021-06-07 14:37:56 +02:00
gen_genesis.go core: change baseFee into baseFeePerGas in genesis json 2021-06-14 14:04:44 +02:00
genesis_alloc.go core, params: add kiln flag () 2022-03-17 17:34:22 +02:00
genesis_test.go core: store genesis allocation and recommit them if necessary () 2022-03-22 10:53:22 +01:00
genesis.go cmd, params: implement Gray Glacier hard-fork (EIP-5133) () 2022-06-15 14:10:38 +03:00
headerchain_test.go all: core rework for the merge transition () 2021-11-26 13:23:02 +02:00
headerchain.go core: recover state when beacon sets canonical head if it's missing () 2022-05-05 10:36:26 +03:00
mkalloc.go all: add go:build lines () 2021-08-25 18:46:29 +02:00
rlp_test.go all: update license headers and AUTHORS from git history () 2022-05-24 20:39:40 +02:00
state_prefetcher.go all: removed blockhash from statedb () 2021-06-30 15:17:01 +02:00
state_processor_test.go core/vm: implement EIP-2681: Limit account nonce to 2^64-1 () 2021-11-11 15:00:58 +01:00
state_processor.go all: removed blockhash from statedb () 2021-06-30 15:17:01 +02:00
state_transition.go core,eth: implement tx-level hooks for tracers () 2022-03-31 11:51:44 +02:00
tx_cacher.go Comment error () 2018-12-14 11:15:31 +01:00
tx_journal.go all: use common.FileExist for checking file existence () 2022-04-27 11:48:02 +02:00
tx_list_test.go core: fix benchmark tests () 2021-10-27 13:08:51 +02:00
tx_list.go core: fixed stale comment in txlist () 2021-10-28 14:59:51 +02:00
tx_noncer.go core: more efficient nonce-update in txpool () 2021-11-02 18:32:23 +01:00
tx_pool_test.go all: replace uses of ioutil with io and os () 2022-05-16 11:59:35 +02:00
tx_pool.go core: fix typo in txpool () 2022-06-22 22:51:45 +02:00
types.go core: prefetch next block state concurrently 2019-04-01 11:06:15 +03:00