nimbus-eth1/nimbus/utils
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
..
debug.nim Use stateRoot/storageRoot more consistently (#2791) 2024-10-27 19:56:28 +01:00
ec_recover.nim replace deprecated types (#2704) 2024-10-16 08:34:12 +07:00
era_helpers.nim Stream blocks during import (#2937) 2024-12-18 13:21:20 +01:00
mergeutils.nim avoid copying data when merging save points (#2584) 2024-09-06 22:45:29 +02:00
prettify.nim Fix potential overflow error on toPC (#1458) 2023-02-02 09:30:14 +01:00
state_dump.nim Use stateRoot/storageRoot more consistently (#2791) 2024-10-27 19:56:28 +01:00
utils.nim Move EVM code initialization outside of newComputation (#2926) 2024-12-11 14:56:41 +01:00
utils_defs.nim implementation of EIP-4844: Shard Blob Transactions (#1440) 2023-06-24 20:56:44 +07:00