reth icon indicating copy to clipboard operation
reth copied to clipboard

perf(trie): parallel rlp node updates in sparse trie

Open shekhirin opened this issue 11 months ago • 0 comments
trafficstars

Makes the RevealedSparseTrie::rlp_node take a non-mutable reference to self and return the list of updates that are need to be applied to the trie nodes. This allows us to run multiple rlp_node in parallel in the RevealedSparseTrie::update_rlp_node_level, because we gather the nodes at the provided level and calculate their hashes independently from each other.

shekhirin avatar Dec 09 '24 22:12 shekhirin