WIP: validation, net: Process blocks asynchronously and reduce cs_main contention #36244

Draft
w0xlt wants to merge 20 commits from validation/async-block-processing into master AGit
w0xlt commented 2026-09-14 07:42:00 +00:00 (Migrated from github.com)

The shared P2P message thread currently waits for block processing to finish before it can process messages from other peers.

This PR moves block processing to a dedicated worker after the initial checks, following the approach of #18963 and #16324:

  • Initial checks still run on the P2P message thread and decide whether a block should enter the processing queue.
  • A single worker processes queued blocks one at a time, in the order they are added to the queue.
  • Each peer can have only one block queued or being processed at a time. The node handles the processing result and any required peer penalties before processing that peer’s next incoming message.
  • Tracking block requests and reconstructing blocks from compact-block transaction responses no longer require cs_main, the chain lock.
  • When cs_main is busy, SendMessages() defers work such as requesting headers, blocks or transactions and announcing new blocks or transactions. This allows the P2P message thread to move on to other peers.

A controlled 10,000-block IBD benchmark showed these response-time improvements, measured as the median of four per-run medians:

Probe Download connections Baseline → This branch Reduction
PING/PONG 1 41.8 → 0.77 ms 98%
Block serving 1 39.0 → 26.5 ms 32%
Block serving 4 107.0 → 58.5 ms 45%

With four download connections, the median time to download and validate the 10,000 tested blocks during IBD fell by approximately 5%, from 473.6 s to 450.3 s.

The comparison used matching Clang 18 Release builds of baseline 4519933391dd and this branch, mainnet blocks 910,489 - 920,488, one local source node, and -assumevalid=0 -blocksonly=1. Each setup ran four times per build. PINGs ran at 10/s; the block probe requested the same previously validated block after warmup, at most once per second, timing receipt of the full block.

These results apply to this controlled IBD workload; they do not establish gains for other services, hardware, or network conditions. Performance outside IBD was not measured.

Tests and test infrastructure account for approximately 67% of the diff. Production code and build integration account for 1,132 changed lines (883 additions and 249 deletions).

I’m opening this PR as a draft primarily to gather feedback on the overall approach.

The shared P2P message thread currently waits for block processing to finish before it can process messages from other peers. This PR moves block processing to a dedicated worker after the initial checks, following the approach of #18963 and #16324: - Initial checks still run on the P2P message thread and decide whether a block should enter the processing queue. - A single worker processes queued blocks one at a time, in the order they are added to the queue. - Each peer can have only one block queued or being processed at a time. The node handles the processing result and any required peer penalties before processing that peer’s next incoming message. - Tracking block requests and reconstructing blocks from compact-block transaction responses no longer require `cs_main`, the chain lock. - When `cs_main` is busy, `SendMessages()` defers work such as requesting headers, blocks or transactions and announcing new blocks or transactions. This allows the P2P message thread to move on to other peers. A controlled 10,000-block IBD benchmark showed these response-time improvements, measured as the median of four per-run medians: | Probe | Download connections | Baseline → This branch | Reduction | |---|---:|---:|---:| | PING/PONG | 1 | 41.8 → 0.77 ms | 98% | | Block serving | 1 | 39.0 → 26.5 ms | 32% | | Block serving | 4 | 107.0 → 58.5 ms | 45% | With four download connections, the median time to download and validate the 10,000 tested blocks during IBD fell by approximately *5%*, from 473.6 s to 450.3 s. The comparison used matching Clang 18 Release builds of baseline `4519933391dd` and this branch, mainnet blocks 910,489 - 920,488, one local source node, and `-assumevalid=0 -blocksonly=1`. Each setup ran four times per build. PINGs ran at 10/s; the block probe requested the same previously validated block after warmup, at most once per second, timing receipt of the full block. These results apply to this controlled IBD workload; they do not establish gains for other services, hardware, or network conditions. Performance outside IBD was not measured. Tests and test infrastructure account for approximately 67% of the diff. Production code and build integration account for 1,132 changed lines (883 additions and 249 deletions). I’m opening this PR as a draft primarily to gather feedback on the overall approach.
DrahtBot commented 2026-09-14 07:42:10 +00:00 (Migrated from github.com)

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
Concept ACK sedited

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #36445 (net: Skip cs_main when a peer has no orphan work by w0xlt)
  • #36389 (refactor: deduplicate block validation state catcher by enirox001)
  • #36353 (kernel: don't reuse cached CheckBlock results across params by FlashWayne)
  • #36337 (fuzz: Cover block filter P2P messages by maflcko)
  • #36268 (refactor: prune unused semi-colons by fanquake)
  • #36167 ([RFC] Enable -Wunused by fanquake)
  • #36109 (test: fix coinbases built on arbitrary parents by l0rinc)
  • #36098 (fuzz: add corpus reachability checks by HowHsu)
  • #35936 (net: reject oversized locators before allocating by l0rinc)
  • #35911 (Warn on and add missing noreturn by fanquake)
  • #35906 (First steps towards a stateless, side-effect free validation library by purpleKarrot)
  • #35570 (refactor: Change some validation.cpp methods to return BlockValidationState by optout21)
  • #35561 (net: move some CNodeState fields to Peer by Crypt-iQ)
  • #35474 (node: move index ownership to NodeContext by w0xlt)
  • #35229 (refactor: Use CBlockIndex parameters as reference by optout21)
  • #34775 (kernel: allow only one global logging connection by stickies-v)
  • #34374 (kernel: use struct-based logging and simplify logging interface by stickies-v)
  • #33847 (kernel: Attach logging connections to contexts, per-connection log levels by ryanofsky)
  • #28690 (build: Introduce internal kernel library by sedited)
  • #24230 (indexes: Stop using node internal types and locking cs_main, improve sync logic by ryanofsky)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

LLM Linter (✨ experimental)

Possible places where named args for integral literals may be used (e.g. func(x, /*named_arg=*/0) in C++, and func(x, named_arg=0) in Python):

  • ProcessNewBlock(block, state, true, true) in src/node/block_template_manager.cpp
  • ProcessNewBlock(block, state, true, true) in src/test/util/setup_common.cpp
  • ProcessNewBlock(block, state, true, true) in src/test/util/mining.cpp
  • ProcessNewBlock(block, state, true, true) in src/test/baseindex_tests.cpp
  • ProcessNewBlock(block, state, true, true) in src/test/blockfilter_index_tests.cpp
  • ProcessNewBlock(block, state, true, true) in src/test/coinstatsindex_tests.cpp
  • ProcessNewBlock(block, state, true, true) in src/test/txindex_tests.cpp
  • ProcessNewBlock(block, state, true, true) in src/test/txospenderindex_tests.cpp
  • ProcessNewBlock(..., true, true) in src/test/validation_chainstate_tests.cpp
  • ProcessNewBlock(..., true, true) in src/test/validation_block_tests.cpp
  • ProcessNewBlock(..., true, true) in src/test/validation_tests.cpp
  • ProcessNewBlock(..., true, true) in src/test/peerman_tests.cpp

Possible places where comparison-specific test macros should replace generic comparisons:

  • [src/test/validation_queue_tests.cpp] BOOST_CHECK_THROW(queue.Start(), std::logic_error); -> consider BOOST_CHECK_EXCEPTION(queue.Start(), std::logic_error, /*predicate on message*/) so the test verifies the specific failure reason, not just the exception type.
  • [src/test/validation_queue_tests.cpp] BOOST_CHECK_THROW(stopped.Start(), std::logic_error); -> consider BOOST_CHECK_EXCEPTION(stopped.Start(), std::logic_error, /*predicate on message*/) to assert the expected error detail.

2026-10-03 07:29:49

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36244 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36244.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36244#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. | Type | Reviewers | | ---- | --------- | | Concept ACK | [sedited](https://github.com/bitcoin/bitcoin/pull/36244#issuecomment-7383544690) | If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore. <!--174a7506f384e20aa4161008e828411d--> ### Conflicts Reviewers, this pull request conflicts with the following ones: * [#36445](https://github.com/bitcoin/bitcoin/pull/36445) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36445.svg"></sub> (net: Skip cs_main when a peer has no orphan work by w0xlt) * [#36389](https://github.com/bitcoin/bitcoin/pull/36389) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36389.svg"></sub> (refactor: deduplicate block validation state catcher by enirox001) * [#36353](https://github.com/bitcoin/bitcoin/pull/36353) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36353.svg"></sub> (kernel: don't reuse cached CheckBlock results across params by FlashWayne) * [#36337](https://github.com/bitcoin/bitcoin/pull/36337) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36337.svg"></sub> (fuzz: Cover block filter P2P messages by maflcko) * [#36268](https://github.com/bitcoin/bitcoin/pull/36268) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36268.svg"></sub> (refactor: prune unused semi-colons by fanquake) * [#36167](https://github.com/bitcoin/bitcoin/pull/36167) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36167.svg"></sub> ([RFC] Enable `-Wunused` by fanquake) * [#36109](https://github.com/bitcoin/bitcoin/pull/36109) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36109.svg"></sub> (test: fix coinbases built on arbitrary parents by l0rinc) * [#36098](https://github.com/bitcoin/bitcoin/pull/36098) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36098.svg"></sub> (fuzz: add corpus reachability checks by HowHsu) * [#35936](https://github.com/bitcoin/bitcoin/pull/35936) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35936.svg"></sub> (net: reject oversized locators before allocating by l0rinc) * [#35911](https://github.com/bitcoin/bitcoin/pull/35911) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35911.svg"></sub> (Warn on and add missing [[noreturn]] by fanquake) * [#35906](https://github.com/bitcoin/bitcoin/pull/35906) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35906.svg"></sub> (First steps towards a stateless, side-effect free validation library by purpleKarrot) * [#35570](https://github.com/bitcoin/bitcoin/pull/35570) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35570.svg"></sub> (refactor: Change some validation.cpp methods to return BlockValidationState by optout21) * [#35561](https://github.com/bitcoin/bitcoin/pull/35561) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35561.svg"></sub> (net: move some CNodeState fields to Peer by Crypt-iQ) * [#35474](https://github.com/bitcoin/bitcoin/pull/35474) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35474.svg"></sub> (node: move index ownership to NodeContext by w0xlt) * [#35229](https://github.com/bitcoin/bitcoin/pull/35229) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35229.svg"></sub> (refactor: Use CBlockIndex parameters as reference by optout21) * [#34775](https://github.com/bitcoin/bitcoin/pull/34775) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/34775.svg"></sub> (kernel: allow only one global logging connection by stickies-v) * [#34374](https://github.com/bitcoin/bitcoin/pull/34374) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/34374.svg"></sub> (kernel: use struct-based logging and simplify logging interface by stickies-v) * [#33847](https://github.com/bitcoin/bitcoin/pull/33847) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/33847.svg"></sub> (kernel: Attach logging connections to contexts, per-connection log levels by ryanofsky) * [#28690](https://github.com/bitcoin/bitcoin/pull/28690) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/28690.svg"></sub> (build: Introduce internal kernel library by sedited) * [#24230](https://github.com/bitcoin/bitcoin/pull/24230) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/24230.svg"></sub> (indexes: Stop using node internal types and locking cs_main, improve sync logic by ryanofsky) If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. <!--5faf32d7da4f0f540f40219e4f7537a3--> ### LLM Linter (✨ experimental) Possible places where named args for integral literals may be used (e.g. `func(x, /*named_arg=*/0)` in C++, and `func(x, named_arg=0)` in Python): - `ProcessNewBlock(block, state, true, true)` in `src/node/block_template_manager.cpp` - `ProcessNewBlock(block, state, true, true)` in `src/test/util/setup_common.cpp` - `ProcessNewBlock(block, state, true, true)` in `src/test/util/mining.cpp` - `ProcessNewBlock(block, state, true, true)` in `src/test/baseindex_tests.cpp` - `ProcessNewBlock(block, state, true, true)` in `src/test/blockfilter_index_tests.cpp` - `ProcessNewBlock(block, state, true, true)` in `src/test/coinstatsindex_tests.cpp` - `ProcessNewBlock(block, state, true, true)` in `src/test/txindex_tests.cpp` - `ProcessNewBlock(block, state, true, true)` in `src/test/txospenderindex_tests.cpp` - `ProcessNewBlock(..., true, true)` in `src/test/validation_chainstate_tests.cpp` - `ProcessNewBlock(..., true, true)` in `src/test/validation_block_tests.cpp` - `ProcessNewBlock(..., true, true)` in `src/test/validation_tests.cpp` - `ProcessNewBlock(..., true, true)` in `src/test/peerman_tests.cpp` Possible places where comparison-specific test macros should replace generic comparisons: - [src/test/validation_queue_tests.cpp] `BOOST_CHECK_THROW(queue.Start(), std::logic_error);` -> consider `BOOST_CHECK_EXCEPTION(queue.Start(), std::logic_error, /*predicate on message*/)` so the test verifies the specific failure reason, not just the exception type. - [src/test/validation_queue_tests.cpp] `BOOST_CHECK_THROW(stopped.Start(), std::logic_error);` -> consider `BOOST_CHECK_EXCEPTION(stopped.Start(), std::logic_error, /*predicate on message*/)` to assert the expected error detail. <sup>2026-10-03 07:29:49</sup>
DrahtBot commented 2026-09-14 15:47:47 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
andrewtoth commented 2026-09-15 00:05:14 +00:00 (Migrated from github.com)

The PR description describes IBD speedup. But, wouldn't the point of something like this be that we could process messages while validating at steady-state, so a block that takes a long time to validate does not hold up responding to compact block transaction requests or other messages? And eventually we could also process competing sibling blocks in parallel?

The PR description describes IBD speedup. But, wouldn't the point of something like this be that we could process messages while validating at steady-state, so a block that takes a long time to validate does not hold up responding to compact block transaction requests or other messages? And eventually we could also process competing sibling blocks in parallel?
w0xlt commented 2026-09-15 01:30:43 +00:00 (Migrated from github.com)

@andrewtoth Yes, keeping other peers responsive during block validation, including at the tip, is the main motivation. I used IBD as a repeatable workload with sustained validation to measure that benefit. The shorter IBD time was a secondary observation; the main measured gains were faster PING/PONG and block-serving responses, as shown in the table.

Your compact-block example fits. getblocktxn already has a path that serves missing transactions from the recent block cache without taking cs_main. This PR moves block processing onto a separate worker, allowing that handler to respond to other peers while validation continues. Other handlers that need cs_main can still wait.

Parallel validation of competing sibling blocks would require further work on shared chainstate and synchronization. This PR keeps a single worker processing blocks serially.

I see this separation of networking and block processing, along with fewer unnecessary waits for cs_main, as a starting point for further concurrency improvements.

@andrewtoth Yes, keeping other peers responsive during block validation, including at the tip, is the main motivation. I used IBD as a repeatable workload with sustained validation to measure that benefit. The shorter IBD time was a secondary observation; the main measured gains were faster PING/PONG and block-serving responses, as shown in the table. Your compact-block example fits. `getblocktxn` already has a path that serves missing transactions from the recent block cache without taking `cs_main`. This PR moves block processing onto a separate worker, allowing that handler to respond to other peers while validation continues. Other handlers that need `cs_main` can still wait. Parallel validation of competing sibling blocks would require further work on shared chainstate and synchronization. This PR keeps a single worker processing blocks serially. I see this separation of networking and block processing, along with fewer unnecessary waits for cs_main, as a starting point for further concurrency improvements.
DrahtBot commented 2026-09-22 20:38:43 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
First-time contributor

Base: c8e852d3a02a73d473228232148163cdbc8f7bb0
Head: 28aa6cc77dc2561f86ddbc16d1b3001bdbd0a96e

💡 Suggestion

Bound memory retained by queued blocks (src/validation_queue.cpp:90, head)

Each enqueue retains the full block until a worker processes it, with no global job or byte limit. If admissions outpace processing, blocks from multiple peers can accumulate. The default 200-connection setting and 4,000,000-byte serialized block limit allow roughly 800 MB of block payload, before object overhead; accepted work also survives source disconnection. Consider a global byte or job budget that defers further submissions without blocking the shared message thread or dropping accepted work. This preserves FIFO behavior but trades some download throughput for bounded memory. No queue high-water or peak-memory measurements were supplied, so practical exposure is unquantified.

Review coverage was incomplete. The archaeology review had incomplete evidence. The independent review had incomplete evidence. The adversarial review had incomplete evidence. The adversarial_glm review did not complete. The build review had incomplete evidence.

Full review report

<!-- forgejo-review-bot:bitcoin/bitcoin --> Base: `c8e852d3a02a73d473228232148163cdbc8f7bb0` Head: `28aa6cc77dc2561f86ddbc16d1b3001bdbd0a96e` ##### 💡 Suggestion **Bound memory retained by queued blocks** (src/validation_queue.cpp:90, head) Each enqueue retains the full block until a worker processes it, with no global job or byte limit. If admissions outpace processing, blocks from multiple peers can accumulate. The default 200-connection setting and 4,000,000-byte serialized block limit allow roughly 800 MB of block payload, before object overhead; accepted work also survives source disconnection. Consider a global byte or job budget that defers further submissions without blocking the shared message thread or dropping accepted work. This preserves FIFO behavior but trades some download throughput for bounded memory. No queue high-water or peak-memory measurements were supplied, so practical exposure is unquantified. Review coverage was incomplete. The archaeology review had incomplete evidence. The independent review had incomplete evidence. The adversarial review had incomplete evidence. The adversarial_glm review did not complete. The build review had incomplete evidence. [Full review report](<https://review.fish.foo/traces/36244-28aa6cc77dc2561f86ddbc16d1b3001bdbd0a96e-330-1.html>)
DrahtBot commented 2026-10-07 14:06:14 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
sedited commented 2026-12-03 15:40:34 +00:00 (Migrated from github.com)

Concept ACK

I think it would be great to finally get this rolling. However, I'm not sure if this should be one big pull request. Reviewing the pure validation changes with the net processing changes at once seems a bit much. A good candidate for a first pull request seems to me changing AcceptBlock to write blocks without holding cs_main in the meantime.

Concept ACK I think it would be great to finally get this rolling. However, I'm not sure if this should be one big pull request. Reviewing the pure validation changes with the net processing changes at once seems a bit much. A good candidate for a first pull request seems to me changing AcceptBlock to write blocks without holding cs_main in the meantime.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36244
No description provided.