trie: separate hashes and committer, collapse on commit
* trie: make db insert use size instead of full data * core/state: minor optimization in state onleaf allocation * trie: implement dedicated committer and hasher * trie: use dedicated committer/hasher * trie: linter nitpicks * core/state, trie: avoid unnecessary storage trie load+commit * trie: review feedback, mainly docs + minor changes * trie: start deprecating old hasher * trie: fix misspell+lint * trie: deprecate hasher.go, make proof framework use new hasher * trie: rename pure_committer/hasher to committer/hasher * trie, core/state: fix review concerns * trie: more review concerns * trie: make commit collapse into hashnode, don't touch dirtyness * trie: goimports fixes * trie: remove panics
Showing
- core/state/state_object.go 12 additions, 4 deletionscore/state/state_object.go
- core/state/statedb.go 5 additions, 2 deletionscore/state/statedb.go
- trie/committer.go 279 additions, 0 deletionstrie/committer.go
- trie/database.go 5 additions, 5 deletionstrie/database.go
- trie/hasher.go 103 additions, 122 deletionstrie/hasher.go
- trie/iterator.go 2 additions, 4 deletionstrie/iterator.go
- trie/proof.go 11 additions, 13 deletionstrie/proof.go
- trie/secure_trie.go 1 addition, 1 deletiontrie/secure_trie.go
- trie/trie.go 39 additions, 5 deletionstrie/trie.go
Loading
Please register or sign in to comment