nimbus-eth1/fluffy/tools
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
..
docker Rename the debug docker files + add a simpler/faster one for Linux (#2731) 2024-10-13 18:07:17 +02:00
eth_data_exporter Implement EIP-7702: Set EOA account code (#2631) 2024-11-25 11:28:03 +01:00
portal_bridge Stream blocks during import (#2937) 2024-12-18 13:21:20 +01:00
utp_testing More clean-up since eth types refactor (#2742) 2024-10-16 14:18:02 +02:00
benchmark.nim Formatting fluffy with nph v0.5.1 + CI check (#2020) 2024-02-28 18:31:45 +01:00
blockwalk.nim Fix eth/common & web3 related deprecation warnings for fluffy (#2698) 2024-10-04 23:21:26 +02:00
eth_data_exporter.nim Move premix's downloader and parser to fluffy/tools/eth_data_exporter (#2709) 2024-10-08 03:07:24 +00:00
fcli_db.nim Fluffy: Implement contains db handler to improve lookup performance when accepting offers (#2815) 2024-11-04 22:02:51 +08:00
portalcli.nim Fluffy: Implement contains db handler to improve lookup performance when accepting offers (#2815) 2024-11-04 22:02:51 +08:00