go-ethereum/core
Martin Holst Swende ecb781297b core, cmd/puppeth: implement constantinople fix, disable EIP-1283 (#18486)
This PR adds a new fork which disables EIP-1283. Internally it's called Petersburg,
but the genesis/config field is ConstantinopleFix.

The block numbers are:

    7280000 for Constantinople on Mainnet
    7280000 for ConstantinopleFix on Mainnet
    4939394 for ConstantinopleFix on Ropsten
    9999999 for ConstantinopleFix on Rinkeby (real number decided later)

This PR also defaults to using the same ConstantinopleFix number as whatever
Constantinople is set to. That is, it will default to mainnet behaviour if ConstantinopleFix
is not set.This means that for private networks which have already transitioned
to Constantinople, this PR will break the network unless ConstantinopleFix is
explicitly set!
2019-01-24 11:36:30 +01:00
..
asm core/asm: Use hexadecimal addresses in assembly dumps (#17870) 2018-10-09 10:27:07 +03:00
bloombits core/bloombits, light: fix typos (#17235) 2018-07-24 11:24:27 +03:00
rawdb core, eth: fix database version (#18429) 2019-01-11 13:49:12 +02:00
state core/state: rename 'new' variable (#18301) 2018-12-14 14:55:03 +01:00
types Merge pull request #18371 from jeremyschlatter/patch-1 2019-01-04 10:14:17 +02:00
vm core, cmd/puppeth: implement constantinople fix, disable EIP-1283 (#18486) 2019-01-24 11:36:30 +01:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go all: protect self-mined block during reorg (#17656) 2018-09-20 15:09:30 +03:00
block_validator_test.go all: protect self-mined block during reorg (#17656) 2018-09-20 15:09:30 +03:00
block_validator.go core, eth/downloader: fix validation flaw, fix downloader printout flaw (#17974) 2018-11-07 14:47:11 +02:00
blockchain_insert.go core: polish side chain importer a bit 2018-11-21 13:19:56 +02:00
blockchain_test.go core, light: get rid of the dual mutexes, hard to reason with 2019-01-11 15:27:47 +02:00
blockchain.go core: only cache non-nil receipts from the database (#18447) 2019-01-17 17:49:12 +02:00
blocks.go core: typos and comments improve 2017-05-25 17:14:33 +03:00
chain_indexer_test.go light: CHT and bloom trie indexers working in light mode (#16534) 2018-08-15 22:25:46 +02:00
chain_indexer.go core: use ChainHeadEvent subscription in the chain indexer (#17826) 2018-10-03 17:25:25 +03:00
chain_makers_test.go all: protect self-mined block during reorg (#17656) 2018-09-20 15:09:30 +03:00
chain_makers.go eth/downloader: speed up tests by generating chain only once (#17916) 2018-11-07 15:07:43 +01:00
dao_test.go all: protect self-mined block during reorg (#17656) 2018-09-20 15:09:30 +03:00
error.go core: make txpool operate on immutable state 2017-09-05 13:34:41 +03:00
events.go miner: regenerate mining work every 3 seconds (#17413) 2018-08-16 14:14:33 +03:00
evm.go core: fix typo in comment code 2018-07-25 18:04:38 +07:00
gaspool.go miner: avoid unnecessary work (#15883) 2018-01-15 12:57:06 +02:00
gen_genesis_account.go all: regenerate codecs with gencodec commit 90983d99de (#15830) 2018-01-08 15:13:22 +02:00
gen_genesis.go all: regenerate codecs with gencodec commit 90983d99de (#15830) 2018-01-08 15:13:22 +02:00
genesis_alloc.go all: use gometalinter.v2, fix new gosimple issues (#15650) 2017-12-12 19:05:47 +01:00
genesis_test.go all: protect self-mined block during reorg (#17656) 2018-09-20 15:09:30 +03:00
genesis.go core, cmd/puppeth: implement constantinople fix, disable EIP-1283 (#18486) 2019-01-24 11:36:30 +01:00
headerchain.go common, core, light: add block age into info logs 2018-09-20 12:56:35 +03:00
helper_test.go all: get rid of error when creating memory database (#16716) 2018-05-09 15:24:25 +03:00
mkalloc.go core: refactor genesis handling 2017-03-23 15:58:43 +01:00
state_processor.go core: fix typo in comment (#17586) 2018-09-05 10:29:51 +02:00
state_transition.go core: fix comment typo (#17236) 2018-07-24 13:17:12 +03:00
tx_cacher.go Comment error (#18303) 2018-12-14 11:15:31 +01:00
tx_journal.go core: fix typos in comment (#17531) 2018-08-28 10:04:33 +03:00
tx_list_test.go all: switch gas limits from big.Int to uint64 2018-01-03 14:45:35 +02:00
tx_list.go core: fix some small typos on comment code (#17278) 2018-07-30 14:10:48 +03:00
tx_pool_test.go core: sanitize more TxPoolConfig fields (#17210) 2018-12-20 14:00:58 +01:00
tx_pool.go core: sanitize more TxPoolConfig fields (#17210) 2018-12-20 14:00:58 +01:00
types.go all: switch gas limits from big.Int to uint64 2018-01-03 14:45:35 +02:00