NEWSATOSHI.ORG │NEWSATOSHI/2.0 │TESTNET · A STORE OF ORDER │NOTE 003 │UNSTAMPED
← notes

Merge-mining NEWSATOSHI: what a pool adds

note 003 · 10 November 2026

A pool that already mines Bitcoin can mine this chain with the same hashes. Nothing about its hardware changes. It puts one more hash in the commitment its Bitcoin coinbase already carries for merged-mined chains, and when a Bitcoin share also meets this chain's target, it sends that share here. Namecoin has worked this way since 2011 [1].

What to run

newsatoshi --net testnet node --rpc 18556 [--rpcauth USER:PASS] [--rpcbind ADDR]

The node answers Namecoin's calls over JSON-RPC: createauxblock ADDRESS, getauxblock (which pays the node's own wallet) and submitauxblock HASH AUXPOW, with getblockcount, getbestblockhash, getblockchaininfo, getdifficulty and validateaddress. The chain ID is 20051 (0x4e53). A pool that merge-mines Namecoin adds this chain as one more entry in its merged-mining tree.

What is checked

The Bitcoin header, the coinbase and the branch a pool submits are checked by Namecoin's rules, and the Bitcoin header's hash must meet this chain's target. The difficulty follows ASERT towards one block a minute on the test network. Authentication is HTTP Basic; without --rpcauth the node writes a fresh password to .cookie in its data directory, as Bitcoin Core does. The RPC listens on 127.0.0.1 and has no TLS, so expose it only on a private network.

What it costs

No extra hashing: the work is the work the pool already does for Bitcoin. The cost is one more node to run and one more payout to account for. The subsidy follows Bitcoin's schedule exactly, 50 LOVE a block halving every 210,000 blocks, until it reaches 0.1953125 LOVE and stays there (white paper, §8).

Try it first

contrib/merge_mine_sim.py in the source plays the pool's side, end to end, against a local node. The test network is live, and its coins are worth nothing. The main network has not launched.

  1. “Merged mining specification,” Bitcoin Wiki. en.bitcoin.it