• rjl493456442's avatar
    core, eth, les, tests, trie: abstract node scheme (#25532) · 743e4049
    rjl493456442 authored
    This PR introduces a node scheme abstraction. The interface is only implemented by `hashScheme` at the moment, but will be extended by `pathScheme` very soon.
    
    Apart from that, a few changes are also included which is worth mentioning:
    
    -  port the changes in the stacktrie, tracking the path prefix of nodes during commit
    -  use ethdb.Database for constructing trie.Database. This is not necessary right now, but it is required for path-based used to open reverse diff freezer
    743e4049
Name
Last commit
Last update
..
committer.go Loading commit data...
database.go Loading commit data...
database_test.go Loading commit data...
encoding.go Loading commit data...
encoding_test.go Loading commit data...
errors.go Loading commit data...
hasher.go Loading commit data...
iterator.go Loading commit data...
iterator_test.go Loading commit data...
node.go Loading commit data...
node_enc.go Loading commit data...
node_test.go Loading commit data...
nodeset.go Loading commit data...
preimages.go Loading commit data...
proof.go Loading commit data...
proof_test.go Loading commit data...
schema.go Loading commit data...
secure_trie.go Loading commit data...
secure_trie_test.go Loading commit data...
stacktrie.go Loading commit data...
stacktrie_test.go Loading commit data...
sync.go Loading commit data...
sync_test.go Loading commit data...
trie.go Loading commit data...
trie_id.go Loading commit data...
trie_reader.go Loading commit data...
trie_test.go Loading commit data...
util_test.go Loading commit data...
utils.go Loading commit data...