Closed siladu closed 2 weeks ago
Mainnet verified in < 2 hours!
World state was successfully verified...
Verified root 0xfd0ea9a51f78aec2e95dbac25b0002c21bffd434cc7026ff9412e3f6c89d4fec with 2120917973 nodes
Duration: 1 hours, 56 minutes, 9 seconds (304329 nodes per second)
BonsaiTreeVerifier tree traversal is read-only, so it lends itself well to a naive parallel implementation using parallelStream for the child nodes.
12x improvment on holesky (with both besu and teku services stopped)
Previously holesky took nearly 3 hours...
Mainnet has ~10x more nodes than holesky so expect mainnet to take ~2.5 hours
e.g. mainnet has 2104544043 nodes 2104544043 / 259016 nodes per second / 3600 = 2.23 hours