Skip to content

consensus: apply 10 blocks in one Bolt transaction

Boris Nagaev requested to merge starius:10inarow into master

Bolt transaction involved fsync calls which are major time consumers during initial blocks download (IBD) according to trace tool. Applying many blocks (namely 10 - the size of newBlocks during IBD) in a single Bolt transaction results in a speedup.

Speedup numbers coming soon.

Merge request reports