3 suggestions
Earlier concerns neither republished nor resolved: 1 suggestion. See the Run archive for their assessments.
Optional improvements
[suggestion] · Confirmed funding inputs hide a remaining lost-announcement case
Every harness child has a confirmed funding input, preventing ordinary non-exempt runs from testing the lost-announcement window when all parent txids are AlreadyHaveTx.
Location: src/test/fuzz/p2p_1p1c_liveness.cpp:139 (head).
Details and suggested fix
If a child spends only its unconfirmed parent, accepting that parent can leave the child queued for reconsideration under its sole announcer. An honest wtxid INV arriving before reconsideration then reaches the empty-unique_parents return in AddTxAnnouncement, which records neither the honest announcer nor a download request. If the sole recorded announcer disconnects before reconsideration, EraseForPeer removes the orphan and handover has no target. A later announcement can recover it. Here every child also spends a confirmed funding output. The fresh PeerManager has an empty recently-confirmed filter, and AlreadyHaveTx does not query the UTXO set, so this extra input keeps the orphan-resolution path open in ordinary non-exempt runs. Add a cast whose child spends only the parent, with an explicit holes flag for this residual window. The disconnect guarantee in the new comment also requires another recorded announcer. This conditional relay gap predates the PR and is neither introduced nor worsened here; its duration and frequency in production remain unconfirmed.
[suggestion] · The honest peer's lowest NodeId bypasses adversarial handover recipients
Once the honest peer is an announcer, every handover goes directly to it, leaving end-to-end coverage without an older adversary receiving the work and then disconnecting.
Location: src/test/fuzz/p2p_1p1c_liveness.cpp:297 (head).
Details and suggested fix
connect assigns next_id++, and the honest peer always connects first, so it receives NodeId 0. All adversaries and reconnects have larger IDs, while Erase() selects the lowest remaining announcer. The target therefore cannot hand work to an older adversary while the honest peer is also an announcer. Chains among adversaries before the honest announcement remain possible, and the unit test separately checks consecutive handovers. Let the fuzzer vary the honest peer's position among the initial connections, tracking it explicitly and excluding it from adversarial selection. This adds the missing topology without changing the connection-type counts or deadline arithmetic.
[suggestion] · The fuzz target relies on transitive includes for std::span
The new target directly uses std::span without including <span>, leaving that dependency implicit.
Location: src/test/fuzz/p2p_1p1c_liveness.cpp:196 (head).
Details and suggested fix
TakeSentMessages constructs a std::span, but the file does not include <span> directly. It currently obtains the header transitively, including through test/fuzz/fuzz.h. Add #include <span> to follow the direct-include convention in doc/developer-notes.md and avoid depending on unrelated headers to expose this declaration.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: Waive the liveness check only when the stripped parent opens the hole