Skip to content

nmc: P1 PE 2b-i — register NMC P2P port in host get_coin_p2p_port (RPC-first cid=1) - #238

Merged
frstrtr merged 1 commit into
masterfrom
nmc/p1-pe-2b-cid1-register
Jun 19, 2026
Merged

nmc: P1 PE 2b-i — register NMC P2P port in host get_coin_p2p_port (RPC-first cid=1)#238
frstrtr merged 1 commit into
masterfrom
nmc/p1-pe-2b-cid1-register

Conversation

@frstrtr

@frstrtr frstrtr commented Jun 19, 2026

Copy link
Copy Markdown
Owner

P1 PE leg 2b-i (RPC-first ordering). Single additive host hunk: NMC well-known P2P port (8334 mainnet / 18334 testnet) in get_coin_p2p_port.

Why minimal: the chain_id-generic merged path already admits NMC on cid=1 — --merged NMC:1:host:port:user:pass parses generically (spec parser stoul(parts[1])) and registers via add_chain + submitblock RPC-fallback with no host change. This commit adds the only host hunk the RPC-first leg needs.

Sourcing: port from src/impl/nmc/coin/chain_seeds.hpp SSOT (harvested live from a namecoind addrman), not memory.

Deferred (by design): get_chain_p2p_prefix NMC magic case — network pchMessageStart not yet pinned in nmc SSOT (daemon-gate); the fast P2P relay leg lands with the embedded backend in 2b-ii.

DOGE(98)/LTC byte-isolated, no build.yml. Shared host file -> NOT auto-merge-fenced; operator tap on full-rollup green. I do not self-merge.

… PE 2b-i)

RPC-first leg of NMC cid=1 merged-mining registration. The --merged
NMC:1:host:port:user:pass spec already rides the chain_id-generic
add_chain + submitblock RPC-fallback path; this adds the only host hunk
that leg needs: the NMC well-known P2P port so auto-port wiring resolves.
Port sourced from src/impl/nmc/coin/chain_seeds.hpp SSOT (harvested live
from a namecoind addrman), not retyped from memory.

The get_chain_p2p_prefix NMC magic case is intentionally deferred: the
network pchMessageStart is not yet pinned in the nmc SSOT, so the fast
P2P relay leg lands with the embedded backend in 2b-ii. DOGE(98)/LTC
untouched and byte-isolated.
@frstrtr
frstrtr merged commit 07a77c3 into master Jun 19, 2026
18 checks passed
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