go-ethereum/trie
Jeffrey Wilcke 78131d94c4 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-02 10:24:29 +01:00
..
encoding.go light: implemented odr-capable trie and state structures 2015-12-17 16:07:54 +01:00
encoding_test.go light: implemented odr-capable trie and state structures 2015-12-17 16:07:54 +01:00
errors.go all: update license information 2016-04-15 09:48:05 +02:00
hasher.go trie: add metric to track cache unloading (#3175) 2016-10-19 16:07:19 +02:00
iterator.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-02 10:24:29 +01:00
iterator_test.go core, trie: replace state caches with trie journal 2016-09-28 11:27:28 +03:00
node.go trie: ensure resolved nodes stay loaded 2016-10-18 04:57:47 +02:00
node_test.go trie, core/state: improve memory usage and performance (#3135) 2016-10-14 19:04:33 +03:00
proof.go trie: ensure resolved nodes stay loaded 2016-10-18 04:57:47 +02:00
proof_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
secure_trie.go trie, core/state: improve memory usage and performance (#3135) 2016-10-14 19:04:33 +03:00
secure_trie_test.go trie, core/state: improve memory usage and performance (#3135) 2016-10-14 19:04:33 +03:00
sync.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-02 10:24:29 +01:00
sync_test.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-02 10:24:29 +01:00
trie.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-02 10:24:29 +01:00
trie_test.go core, core/state, trie: EIP158, reprice & skip empty account write 2016-11-02 10:24:29 +01:00