plugeth/core
Péter Szilágyi 8c313eed26
consensus, core: EIP 100 polishes, fix chain maker diff
This PR polishes the EIP 100 difficulty adjustment algorithm
to match the same mechanisms as the Homestead was implemented
to keep the code uniform. It also avoids a few memory allocs
by reusing big1 and big2, pulling it out of the common package
and into ethash.

The commit also fixes chain maker to forward the uncle hash
when creating a simulated chain (it wasn't needed until now
so we just skipped a copy there).
2017-06-30 16:42:09 +03:00
..
asm cmd/evm, core/asm: add EVM assembler (#3686) 2017-03-01 01:11:24 +01:00
state core/state: access trie through Database interface, track errors (#14589) 2017-06-27 15:57:06 +02:00
types core/types: use Header.Hash for block hashes (#14587) 2017-06-07 12:06:25 +02:00
vm Merge pull request #14718 from holiman/gascalc_fix 2017-06-28 13:12:13 +03:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go core, consensus: pluggable consensus engines (#3817) 2017-04-05 00:16:29 +02:00
block_validator_test.go core, consensus: pluggable consensus engines (#3817) 2017-04-05 00:16:29 +02:00
block_validator.go core/state: access trie through Database interface, track errors (#14589) 2017-06-27 15:57:06 +02:00
blockchain_test.go core/state: access trie through Database interface, track errors (#14589) 2017-06-27 15:57:06 +02:00
blockchain.go core: fix an off-by-one when the block import counts blocks 2017-06-29 14:19:10 +02:00
blocks.go core: typos and comments improve 2017-05-25 17:14:33 +03:00
chain_makers_test.go core, consensus: pluggable consensus engines (#3817) 2017-04-05 00:16:29 +02:00
chain_makers.go consensus, core: EIP 100 polishes, fix chain maker diff 2017-06-30 16:42:09 +03:00
dao_test.go core: don't import genesis block in TestDAOForkRangeExtradata 2017-04-12 18:47:47 +02:00
dao.go consensus, core: drop all the legacy custom core error types 2017-04-06 17:34:19 +03:00
database_util_test.go core, consensus: pluggable consensus engines (#3817) 2017-04-05 00:16:29 +02:00
database_util.go core: typos and comments improve 2017-05-25 17:14:33 +03:00
error.go consensus, core: drop all the legacy custom core error types 2017-04-06 17:34:19 +03:00
events.go core: remove unused events 2017-06-23 10:39:38 +08:00
evm.go all: update license information 2017-04-14 10:29:00 +02:00
fees.go core: typos and comments improve 2017-05-25 17:14:33 +03:00
filter_test.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
gaspool.go consensus, core: drop all the legacy custom core error types 2017-04-06 17:34:19 +03:00
gen_genesis_account.go core, core/types: regenerate JSON marshaling, add "hash" to headers (#13868) 2017-04-06 11:38:21 +03:00
gen_genesis.go core, core/types: regenerate JSON marshaling, add "hash" to headers (#13868) 2017-04-06 11:38:21 +03:00
genesis_alloc.go cmd, core, params: add --rinkeby flag for fast connectivity 2017-05-04 12:36:20 +03:00
genesis_test.go core, consensus: pluggable consensus engines (#3817) 2017-04-05 00:16:29 +02:00
genesis.go core/state: access trie through Database interface, track errors (#14589) 2017-06-27 15:57:06 +02:00
headerchain.go core: typos and comments improve 2017-05-25 17:14:33 +03:00
helper_test.go core: typos and comments improve 2017-05-25 17:14:33 +03:00
mkalloc.go core: refactor genesis handling 2017-03-23 15:58:43 +01:00
state_processor.go consensus, core/*, params: metropolis preparation refactor 2017-05-18 09:05:58 +02:00
state_transition.go core: Fix VM error logging 2017-06-05 23:51:32 +01:00
tx_list_test.go cmd, core, eth: configurable txpool parameters 2017-05-29 11:29:46 +03:00
tx_list.go core: check for gas limit exceeding txs too on new block 2017-05-30 00:31:37 +03:00
tx_pool_test.go core/state: access trie through Database interface, track errors (#14589) 2017-06-27 15:57:06 +02:00
tx_pool.go core: ensure transactions correctly drop on pool limiting 2017-06-22 21:03:54 +03:00
types.go core, consensus: pluggable consensus engines (#3817) 2017-04-05 00:16:29 +02:00