• Jeffrey Wilcke's avatar
    core, core/state, trie: EIP158, reprice & skip empty account write · 445feaee
    Jeffrey Wilcke authored
    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: 's avatarJeffrey Wilcke <jeffrey@ethereum.org>
    445feaee
Name
Last commit
Last update
..
flowcontrol Loading commit data...
api_backend.go Loading commit data...
backend.go Loading commit data...
fetcher.go Loading commit data...
handler.go Loading commit data...
handler_test.go Loading commit data...
helper_test.go Loading commit data...
metrics.go Loading commit data...
odr.go Loading commit data...
odr_peerset.go Loading commit data...
odr_requests.go Loading commit data...
odr_test.go Loading commit data...
peer.go Loading commit data...
protocol.go Loading commit data...
request_test.go Loading commit data...
server.go Loading commit data...
sync.go Loading commit data...
txrelay.go Loading commit data...