Commit cbf0b4c
committed
nmc(P1 PE 2b-0): pin testnet genesis + chain_id=1 in NMCChainParams
Replace the TO-CONFIRM placeholders in NMCChainParams::testnet() with the
real Namecoin testnet genesis, pinned against a live namecoind on .140
(getblockhash 0 / getblockheader, 2026-06-19):
version=1 time=1296688602 bits=0x1d07fff8 nonce=384568319
merkleroot=4a5e1e4b..deda33b -> hash=00000007..367b008
Add NMCChainParams::testnet_genesis_header() (the 80-byte parent the
embedded HeaderChain seeds at height 0) and pin aux_chain_id=1
(Namecoin nAuxpowChainId=0x0001, both nets). New GenesisTestnet KAT
re-derives the pinned hash via block_hash() (external daemon truth, not
self-derived). Rides the allowlisted nmc_auxpow_wire_test exe -> no
build.yml change. Mainnet genesis stays TO-CONFIRM: pinning needs a
namecoin MAINNET node (.140 is currently on testnet, height 0).
Fence: src/impl/nmc/ only.1 parent df9cfb0 commit cbf0b4c
2 files changed
Lines changed: 48 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
529 | | - | |
| 529 | + | |
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
| |||
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
568 | | - | |
| 568 | + | |
569 | 569 | | |
570 | | - | |
571 | | - | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
572 | 574 | | |
573 | 575 | | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
574 | 593 | | |
575 | 594 | | |
576 | 595 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
261 | 286 | | |
0 commit comments