go-pulse/light
Jeffrey Wilcke 445feaeef5 core, core/state, trie: EIP158, reprice & skip empty account write
This commit implements EIP158 part 1, 2, 3 & 4

1. If an account is empty it's no longer written to the trie. An empty
  account is defined as (balance=0, nonce=0, storage=0, code=0).
2. Delete an empty account if it's touched
3. An empty account is redefined as either non-existent or empty.
4. Zero value calls and zero value suicides no longer consume the 25k
  reation costs.

params: moved core/config to params

Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org>
2016-11-13 10:44:04 +01:00
..
lightchain_test.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-13 10:44:04 +01:00
lightchain.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-13 10:44:04 +01:00
odr_test.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-13 10:44:04 +01:00
odr_util.go all: update license information 2016-11-09 02:51:34 +01:00
odr.go light: light chain, VM env and tx pool 2016-11-09 02:12:53 +01:00
state_object.go light: light chain, VM env and tx pool 2016-11-09 02:12:53 +01:00
state_test.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-13 10:44:04 +01:00
state.go light: light chain, VM env and tx pool 2016-11-09 02:12:53 +01:00
trie.go light: light chain, VM env and tx pool 2016-11-09 02:12:53 +01:00
txpool_test.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-13 10:44:04 +01:00
txpool.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-13 10:44:04 +01:00
vm_env.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-13 10:44:04 +01:00