Skip to content

nmc(P0): embedded merge-mining foundation leaf — structure-only coin tree - #175

Merged
frstrtr merged 1 commit into
masterfrom
nmc/p0-embedded-mm
Jun 18, 2026
Merged

nmc(P0): embedded merge-mining foundation leaf — structure-only coin tree#175
frstrtr merged 1 commit into
masterfrom
nmc/p0-embedded-mm

Conversation

@frstrtr

@frstrtr frstrtr commented Jun 18, 2026

Copy link
Copy Markdown
Owner

P0 structural foundation for embedded merge-mined Namecoin under a BTC parent (DOGE-under-LTC analog). Lays down src/impl/nmc/coin: header_chain.hpp (AuxPow header interface + parent-powhash path), block.hpp, transaction.{hpp,cpp}, coin_smoke.cpp TU, CMake wiring (nmc_coin lib).

Fences (per integrator ACK):

  • btc tree READ-ONLY (NMC consumes src/impl/btc public header types only; HARD-STOP + raise-as-shared-change if a btc edit is ever needed).
  • AuxPow merkle-branch proof walk + block-validation = P0-DEFER stubs; NMC not block-viable off P0.
  • vector stays nmc-local; no lift into bitcoin_family/src/core.
  • chain_id / auxpow_activation_height (~19200) / genesis = -1 TO-CONFIRM sentinels, NOT compiled constants. Pinning gated on VMID 219 nmc-testnet (chainparams + namecoind ground-truth).

Smoke gate: cmake --build --target nmc_coin → exit 0 (clean).

…tree

Lay down src/impl/nmc/coin as the P0 structural foundation for embedded
merge-mined Namecoin under a BTC parent (DOGE-under-LTC analog):
header_chain.hpp (AuxPow header interface, parent-powhash path), block.hpp,
transaction.{hpp,cpp}, coin_smoke.cpp TU, plus CMake wiring (nmc_coin lib).

Fences (per integrator ACK msgid 5823428726...):
- btc tree READ-ONLY: NMC consumes src/impl/btc public header types only.
- AuxPow merkle-branch proof walk + block-validation = P0-DEFER stubs.
- vector<AuxChain> stays nmc-local; no lift into bitcoin_family/src/core.
- chain_id / auxpow_activation_height (cited ~19200) / genesis kept as -1
  TO-CONFIRM sentinels, NOT compiled constants — pinning gated on VMID 219
  nmc-testnet landing (chainparams + namecoind ground-truth).

nmc_coin smoke target builds clean (cmake --build --target nmc_coin, exit 0).
@frstrtr
frstrtr merged commit fd8f2e3 into master Jun 18, 2026
16 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