~/talk

Parallel Input Fetching in Bitcoin Core

Talkat bitcoin++ Toronto, consensus edition 2026 · 2026-07-22..07-24· [bitcoin]
slides:none on file

Claim: merged PR 35295 adds a lockfree parallel fetcher in the coins view overlay to read prevouts into an MPSC list before connectblock, avoiding per-input round trips to the DB. Implementation uses an atomic multi‑producer single‑consumer queue and 8 worker threads by default (configurable to 16). No protocol change. Benchmarks show ~3x faster on a laptop, 46% faster on Raspberry Pi 5, and about 5x faster on AWS, cutting the long tail of the last ~100k blocks during IBD.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30PR 35295 impact
  3. 1:55UTXOs and UTXO set
  4. 3:44UTXO cache optimizations
  5. 8:58Block validation with ephemeral cache
  6. 12:25Block validation bottlenecks
  7. 13:29Parallel input fetching implementation
  8. 16:19Benchmark results
  9. 18:27IBD and spam mitigation
  10. 19:12Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.