Skip to content

dash: runnable c2pool-dash launcher (clean rebuild, supersedes #387) - #398

Merged
frstrtr merged 2 commits into
masterfrom
dash/launcher-clean
Jun 24, 2026
Merged

dash: runnable c2pool-dash launcher (clean rebuild, supersedes #387)#398
frstrtr merged 2 commits into
masterfrom
dash/launcher-clean

Conversation

@frstrtr

@frstrtr frstrtr commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Clean rebuild of the DASH launcher slices (supersedes the stale-base #387, which two-dot-diffed into 7 out-of-lane files). Branched fresh off origin/master; only the two launcher commits cherry-picked, re-signed, attribution trailer stripped.

Lane fence (git diff --name-only origin/master..HEAD) — exactly 3 files:

  • src/c2pool/c2pool_refactored.cpp (slice 1: register DASH in unified launcher dispatch)
  • src/c2pool/main_dash.cpp (slice 2: runnable c2pool-dash entrypoint via live consensus selftest)
  • src/c2pool/CMakeLists.txt (slice 2: c2pool-dash target)

--selftest drives the REAL header-only consensus path (make_coin_params + X11 PoW KATs + post-V20 subsidy/MN payment), 11/11 green. --run block submission is an explicit labelled stub deferred to the next stacked slice; dashd RPC submitblock fallback path is preserved and untouched. This dashd-fallback launcher gates DASH G2 first-share on VM517.

Both commits GPG-good (EDDSA 50AB1379285EFE76), 0 attribution trailers.

frstrtr and others added 2 commits June 24, 2026 01:58
…int slice 1)

Additive launcher registration so c2pool can parse and route the dash
blockchain alongside ltc/dgb/btc/doge. Touches only the dispatch lambdas
in c2pool_refactored.cpp; no ltc/doge/dgb/btc launcher case or any
src/impl/<coin>/ tree is modified.

- parse_blockchain: dash|darkcoin -> Blockchain::DASH
- get_coin_p2p_port: DASH testnet 19999 / mainnet 9999 (dashd addrman)
- blockchain_to_symbol: Blockchain::DASH -> "DASH"
- get_chain_p2p_prefix: testnet cee2caff / mainnet bf0c6bbd (dashd net magic)

Registration only; the runnable node-construction path (main_dash.cpp,
dashd-RPC fallback) lands in the next slice. dashd fallback preserved.
…uncher slice 2) (#388)

Closes the "DASH is impl-files-only, not runnable" gap. Slice 1 (#387)
registered DASH in the unified launcher dispatch; this adds DASHs own
c2pool-dash executable driving the REAL header-only consensus path:

  --selftest (default): make_coin_params (oracle CoinParams + X11 pow_func
    seam), X11 PoW KATs (mainnet genesis + real-node testnet3 #1497944),
    and post-V20 subsidy + 3/4 masternode payment. 11/11 checks green.
  --run: block submission is DEFERRED to the next stacked slice and is an
    explicit labelled stub. The dual-path broadcaster (dashd-RPC submitblock
    fallback + embedded P2P relay) lives in the unmerged dash-spv-embedded
    work; DASH has no NodeRPC TU on master yet (only coin/rpc_data.hpp).
    The CoinParams path the RPC fallback consumes IS wired here.

Per-coin isolation: src/impl/dash only + main_dash.cpp; no shared-base/core
SOURCE edit; dashd RPC fallback untouched. Link set mirrors c2pool-bch.
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