Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Qian Bin
65ed1a6871
rlp, trie: faster trie node encoding ( #24126 )
...
This change speeds up trie hashing and all other activities that require
RLP encoding of trie nodes by approximately 20%. The speedup is achieved by
avoiding reflection overhead during node encoding.
The interface type trie.node now contains a method 'encode' that works with
rlp.EncoderBuffer. Management of EncoderBuffers is left to calling code.
trie.hasher, which is pooled to avoid allocations, now maintains an
EncoderBuffer. This means memory resources related to trie node encoding
are tied to the hasher pool.
Co-authored-by: Felix Lange <fjl@twurst.com>
3 years ago
..
committer.go
rlp, trie: faster trie node encoding ( #24126 )
3 years ago
database.go
rlp, trie: faster trie node encoding ( #24126 )
3 years ago
database_test.go
trie: there's no point in retrieving the metaroot
6 years ago
encoding.go
trie: use stacktrie for Derivesha operation ( #21407 )
4 years ago
encoding_test.go
trie: use stacktrie for Derivesha operation ( #21407 )
4 years ago
errors.go
trie: more node iterator improvements ( #14615 )
8 years ago
hasher.go
rlp, trie: faster trie node encoding ( #24126 )
3 years ago
iterator.go
rlp, trie: faster trie node encoding ( #24126 )
3 years ago
iterator_test.go
Merge pull request #24391 from rjl493456442/trie-iterator
3 years ago
node.go
rlp, trie: faster trie node encoding ( #24126 )
3 years ago
node_enc.go
rlp, trie: faster trie node encoding ( #24126 )
3 years ago
node_test.go
add node.go unit test file node_test.go ( #20028 )
5 years ago
proof.go
rlp, trie: faster trie node encoding ( #24126 )
3 years ago
proof_test.go
trie: test for edgecase in VerifyRangeProof ( #24257 )
3 years ago
secure_trie.go
core/state: move state account to core/types + abstracted "write account to trie" ( #23567 )
3 years ago
secure_trie_test.go
cmd, core, eth, trie: get rid of trie cache generations ( #19262 )
6 years ago
stacktrie.go
rlp, trie: faster trie node encoding ( #24126 )
3 years ago
stacktrie_test.go
trie: more tests for stacktrie ( #23936 )
3 years ago
sync.go
Merge pull request #24117 from holiman/db_has
3 years ago
sync_test.go
core, eth, les, trie: remove the sync bloom, used by fast sync
3 years ago
trie.go
trie: implement NodeBlob API for trie iterator
3 years ago
trie_test.go
rlp, trie: faster trie node encoding ( #24126 )
3 years ago