nimbus-eth1/tests/replay
Jacek Sieka 7bbb0f4421
Stream blocks during import (#2937)
When running the import, currently blocks are loaded in batches into a
`seq` then passed to the importer as such.

In reality, blocks are still processed one by one, so the batching does
not offer any performance advantage. It does however require that the
client wastes memory, up to several GB, on the block sequence while
they're waiting to be processed.

This PR introduces a persister that accepts these potentially large
blocks one by one and at the same time removes a number of redundant /
unnecessary copies, assignments and resets that were slowing down the
import process in general.
2024-12-18 13:21:20 +01:00
..
gunzip.nim results: use canonical import (#2248) 2024-05-30 14:54:03 +02:00
mainnet-00000-5ec1ffb8.era1 Unified mode for undumping gzip-ed or era1-ed encoded block dumps (#2198) 2024-05-20 13:59:18 +00:00
pp.nim Bump nim-eth and nimbus-eth2 (#2741) 2024-10-16 13:51:38 +07:00
pp_light.nim switch to Nim v2.0.12 (#2817) 2024-11-01 19:06:26 +00:00
undump_blocks.nim Consolidate block type for block processing (#2325) 2024-06-09 16:32:20 +02:00
undump_blocks_era1.nim Stream blocks during import (#2937) 2024-12-18 13:21:20 +01:00
undump_blocks_gz.nim Cleanup db/core_apps error handling (#2838) 2024-11-07 08:24:21 +07:00
undump_helpers.nim Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
xcheck.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00