dash: runnable c2pool-dash launcher (clean rebuild, supersedes #387) - #398
Merged
Conversation
…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.
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.
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:--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.