• Guillaume Ballet's avatar
    trie: use stacktrie for Derivesha operation (#21407) · 6c8310eb
    Guillaume Ballet authored
    core/types: use stacktrie for derivesha
    
    trie: add stacktrie file
    
    trie: fix linter
    
    core/types: use stacktrie for derivesha
    
    rebased: adapt stacktrie to the newer version of DeriveSha
    Co-authored-by: 's avatarMartin Holst Swende <martin@swende.se>
    
    More linter fixes
    
    review feedback: no key offset for nodes converted to hashes
    
    trie: use EncodeRLP for full nodes
    
    core/types: insert txs in order in derivesha
    
    trie: tests for derivesha with stacktrie
    
    trie: make stacktrie use pooled hashers
    
    trie: make stacktrie reuse tmp slice space
    
    trie: minor polishes on stacktrie
    
    trie/stacktrie: less rlp dancing
    
    core/types: explain the contorsions in DeriveSha
    
    ci: fix goimport errors
    
    trie: clear mem on subtrie hashing
    
    squashme: linter fix
    
    stracktrie: use pooling, less allocs (#3)
    
    trie: in-place hex prefix, reduce allocs and add rawNode.EncodeRLP
    
    Reintroduce the `[]node` method, add the missing `EncodeRLP` implementation for `rawNode` and calculate the hex prefix in place.
    Co-authored-by: 's avatarMartin Holst Swende <martin@swende.se>
    Co-authored-by: 's avatarMartin Holst Swende <martin@swende.se>
    6c8310eb
Name
Last commit
Last update
..
downloader Loading commit data...
fetcher Loading commit data...
filters Loading commit data...
gasprice Loading commit data...
tracers Loading commit data...
api.go Loading commit data...
api_backend.go Loading commit data...
api_test.go Loading commit data...
api_tracer.go Loading commit data...
backend.go Loading commit data...
bloombits.go Loading commit data...
config.go Loading commit data...
discovery.go Loading commit data...
gen_config.go Loading commit data...
handler.go Loading commit data...
handler_test.go Loading commit data...
helper_test.go Loading commit data...
peer.go Loading commit data...
protocol.go Loading commit data...
protocol_test.go Loading commit data...
sync.go Loading commit data...
sync_test.go Loading commit data...