dgb(#82): won-block dual-path regtest soak harness (substrate + ARM A) [DRAFT] - #282
Merged
Conversation
Closes the #82 broadcaster dual-path gate on the wire: live UpdateTip won block (regtest diff, no test-only seam) -> reconstruct coinbase-only -> ARM A submit_block_p2p_raw relays to a peer node, asserting PROP1 (coinbase-only accepted, not fail-open) + PROP2/ARM-A (P2P reaches network). Scripts-only, fenced (scripts/), DGB-isolated, localhost regtest, self-service creds. Two live-leg items remain: digibyted self-provisioning (daemon-gated, only namecoind on fleet) and ARM B submitblock-fallback isolation mechanism (no --no-p2p-relay flag -> integrator design call), both explicit in-file.
Approved operator toggle (integrator UID1709, option a): suppress ONLY the embedded P2P-relay arm in main_dgb on_block_found, leaving the external-digibyted submitblock seam (RPC fallback) live. Lets the #82 regtest soak prove the submitblock fallback lands the won block on its own, deterministically, instead of being masked by a silent or dead P2P relay -- the historical #82 gap. Additive, DGB-fenced (src/c2pool/main_dgb.cpp only); no consensus/share/ PPLNS/shared surface. Real operator flag, not a test-only seam (mirrors the no-test-seam principle honored for ARM A).
frstrtr
force-pushed
the
dgb/82-regtest-won-block-soak
branch
from
June 21, 2026 00:20
31b2e6e to
691ff22
Compare
frstrtr
marked this pull request as ready for review
June 21, 2026 06:31
frstrtr
added a commit
that referenced
this pull request
Jun 23, 2026
…) [DRAFT] (#282) * dgb(#82): won-block dual-path regtest soak harness (substrate + ARM A) Closes the #82 broadcaster dual-path gate on the wire: live UpdateTip won block (regtest diff, no test-only seam) -> reconstruct coinbase-only -> ARM A submit_block_p2p_raw relays to a peer node, asserting PROP1 (coinbase-only accepted, not fail-open) + PROP2/ARM-A (P2P reaches network). Scripts-only, fenced (scripts/), DGB-isolated, localhost regtest, self-service creds. Two live-leg items remain: digibyted self-provisioning (daemon-gated, only namecoind on fleet) and ARM B submitblock-fallback isolation mechanism (no --no-p2p-relay flag -> integrator design call), both explicit in-file. * dgb(#82): add --no-p2p-relay to isolate ARM B submitblock fallback Approved operator toggle (integrator UID1709, option a): suppress ONLY the embedded P2P-relay arm in main_dgb on_block_found, leaving the external-digibyted submitblock seam (RPC fallback) live. Lets the #82 regtest soak prove the submitblock fallback lands the won block on its own, deterministically, instead of being masked by a silent or dead P2P relay -- the historical #82 gap. Additive, DGB-fenced (src/c2pool/main_dgb.cpp only); no consensus/share/ PPLNS/shared surface. Real operator flag, not a test-only seam (mirrors the no-test-seam principle honored for ARM A). --------- Co-authored-by: frstrtr <frstrtr@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scripts-only DRAFT for the #82 broadcaster dual-path gate. Adds scripts/dgb_regtest_won_block_soak.sh.
WHAT IT PROVES (live, on the wire):
TWO REMAINING LIVE-LEG ITEMS (explicit in-file, NOT read as covered):
Fence: scripts/ only, DGB-isolated, localhost regtest, self-service creds, no consensus/share/PPLNS surface. Parked alongside #281 (the reconstruct-closure install) until ARM A+B are green.