Skip to content

dgb(#82): won-block dual-path regtest soak harness (substrate + ARM A) [DRAFT] - #282

Merged
frstrtr merged 2 commits into
masterfrom
dgb/82-regtest-won-block-soak
Jun 21, 2026
Merged

dgb(#82): won-block dual-path regtest soak harness (substrate + ARM A) [DRAFT]#282
frstrtr merged 2 commits into
masterfrom
dgb/82-regtest-won-block-soak

Conversation

@frstrtr

@frstrtr frstrtr commented Jun 20, 2026

Copy link
Copy Markdown
Owner

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):

  1. digibyted regtest binary self-provisioned -- not yet on the fleet (only namecoind). Daemon-gated until then.
  2. ARM B (submitblock RPC fallback) isolation mechanism -- there is NO --no-p2p-relay flag; cleanly proving the fallback independently of the P2P arm is a design call for integrator (mirrors the NMC forced-seam-vs-CLI decision). ARM B is GATED, not placeholder-asserted.

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.

frstrtr added 2 commits June 21, 2026 00:19
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
frstrtr force-pushed the dgb/82-regtest-won-block-soak branch from 31b2e6e to 691ff22 Compare June 21, 2026 00:20
@frstrtr
frstrtr marked this pull request as ready for review June 21, 2026 06:31
@frstrtr
frstrtr merged commit 184ec81 into master Jun 21, 2026
30 checks passed
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant