Files
pallectrum/electrum
SomberNight 3ceb59d58e interface: parallel header-chunks download
We request chunks concurrently. This makes header-sync much faster
when we are many blocks behind.

notes:
- all chunks are downloaded from the same interface, just for simplicity
- we request up to 10 chunks concurrently (so 10*2016 headers)
  - more chunks: higher memory requirements
  - more chunks: higher concurrency => syncing needs fewer network round-trips
  - if a chunk does not connect, bandwidth for all later chunks is wasted
  - we can tweak the constant or make it dynamic or make it a configvar, etc, later
- without this, we progress the chain tip by around 1 chunk per second
  - 52k blocks (1 year on mainnet) takes around 26 seconds
  - this is probably not *that* interesting for mainnet,
    but for testnet3, that sometimes has 200x the block-rate of mainnet,
    it is extremely useful
2025-07-16 00:15:19 +00:00
..
2025-07-15 16:43:53 +00:00
2025-07-14 21:46:08 +00:00
2025-07-08 13:35:57 +00:00
2025-07-15 14:46:41 +00:00