Question about the roadmap of parallel trie #7982
Replies: 2 comments
-
@rkrasiuk hi, can you share some insights, thanks |
Beta Was this translation helpful? Give feedback.
-
hey @yutianwu, thanks for expressing the interest! we are not planning to integrate it into the merkle stage for now, but if we were, we would need to find a way to infer how many storage roots we should pre-calculate. merkle stage computes state root in iterations with incremental commits of intermediate nodes to the database. terminating condition for single iteration depends on how many entries we already walked during current iteration Lines 292 to 314 in a590ed7 |
Beta Was this translation helpful? Give feedback.
-
Hi, we researched
trie
andparallel-trie
ofreth
recently, and wanna help with it.It seems parallel trie has been used in some places in the codebase like:
reth/crates/blockchain-tree/src/chain.rs
Line 221 in 490fbb0
But it has not been applied to the
Merkle Stage
so far.Can you share the concerns about the
parallel trie
and the road map about it?Beta Was this translation helpful? Give feedback.
All reactions