mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-13 02:11:34 +00:00
Two independent tries running the same UpdateAccount → DeleteAccount sequence must produce identical root hashes. Deletion does not return the trie to a pristine-empty root (zero blobs hash to non-zero leaves under the tombstone model), but the post-delete root must be deterministic across runs — any non-determinism in the tombstone-write path would silently fork the network on the first self-destruct after enabling flat state. Also pin the post-delete root != empty root invariant so a future change to the tombstone semantics surfaces here instead of in GetAccount's deletion-detection branch. |
||
|---|---|---|
| .. | ||
| binary_node.go | ||
| binary_node_test.go | ||
| empty.go | ||
| empty_test.go | ||
| hashed_node.go | ||
| hashed_node_test.go | ||
| hasher.go | ||
| internal_node.go | ||
| internal_node_test.go | ||
| iterator.go | ||
| iterator_test.go | ||
| key_encoding.go | ||
| stem_node.go | ||
| stem_node_test.go | ||
| trie.go | ||
| trie_test.go | ||