BOMBARCHIVE
Explore

A living reference collection. Written in the wiki, preserved in Git.

The archiveBitcoin

Old revision: Merged mining

Archive Namecoin's first AuxPoW block

Merged mining is a proof-of-work technique in which one hashing effort can be checked against more than one blockchain. In the Bitcoin–Namecoin lineage, Bitcoin is the usual parent work source and Namecoin is an auxiliary chain: the chains keep separate consensus state, while Namecoin can accept a proof showing that a parent-chain work attempt also satisfies Namecoin's target.

Desk
Bitcoin
State
Concept, implementation and activation boundary separated
Method
Contemporary forum record and surviving source treated as primary evidence

December 2010: the architecture appears in BitDNS

The earliest Bitcoin-era form of the idea appears inside the BitDNS discussion.

On 9 December 2010, Satoshi Nakamoto proposed that Bitcoin and BitDNS remain separate networks and separate blockchains while miners searched for proof-of-work that could be useful to both. The important move was architectural: application state did not need to be merged merely because mining work was shared. Direct contemporary Satoshi post

A follow-up made the commitment structure more concrete. Nakamoto described a Merkle construction in which one proof-of-work could commit to both systems, while a submission to either network could omit the branch belonging only to the other. The chains would still keep independent chain links. Direct contemporary Satoshi post

On 10 December, he argued that proof-of-work systems should retain “separate fates” rather than forcing users of one application to download and validate every other application's data. Direct contemporary Satoshi post

This was a design sketch, not a deployed Bitcoin feature and not yet the later Namecoin implementation.

2011: from sketch to AuxPoW

The surviving Namecoin documentation records the implementation stage more concretely.

A historical Namecoin merged-mining page says the technical fundamentals were outlined by Mike Hearn and that Vincent Durham (vinced) coded the proof of concept. The page describes Bitcoin as the parent chain and Namecoin as the auxiliary chain for the expected deployment, with a proxy coordinating work between their daemons and existing miners. Historical project documentation preserved in later Git mirror

The legacy Namecoin source and its README_merged-mining.md show what that proof actually contained. An auxiliary proof of work, or AuxPoW, carries enough parent-side material for the auxiliary chain to verify the work:

  • the auxiliary chain's position and Merkle branch inside an auxiliary-chain commitment;
  • the parent coinbase transaction containing that commitment;
  • the Merkle branch proving the parent coinbase belongs to the candidate parent block;
  • the parent block header itself.

Namecoin then reconstructs the commitment path and checks whether the parent header hash satisfies the Namecoin target. Surviving implementation documentation

That detail is easy to lose in the phrase “mining two chains at once”. The reusable object is the hashing work, not necessarily one block simultaneously accepted into two ledgers.

Block 19,200: a consensus boundary

Namecoin did not switch to AuxPoW merely by convention. Its legacy validation code hard-codes GetAuxPowStartBlock() to 19,200 on production and to block 0 on testnet. The same source also starts the related full-retarget rule at 19,200. Direct surviving source

Contemporary Namecoin project documentation warned that this was a mandatory upgrade because validation rules changed at the boundary. Older clients and upgraded clients would not agree on post-activation blocks. Historical project timeline preserved in later Git mirror

The merged-mining guide likewise says production Namecoin would begin accepting the new proof form at block 19,200 and describes the migration as a synchronized network upgrade. Historical project documentation preserved in later Git mirror

So there are three different historical claims that should not be collapsed:

  1. December 2010 — the separate-chain/shared-work architecture is proposed publicly in the BitDNS discussion.
  2. 2011 development — Namecoin developers implement and test an AuxPoW mechanism.
  3. Namecoin block 19,200 — the production chain crosses the validation boundary that accepts AuxPoW.

The concept, the software and the activation are different events.

The activation block was itself AuxPoW

The activation boundary can be pushed one step further than the source-code rule.

A preserved merged-mining specification reproduces Namecoin block 19,200 as an AuxPoW block, with block hash d8a7c3e01e1e95bcee015e6fcc7583a2ca60b79e5a3aa0a171eddd344ada903d. The attached parent-style header hashes to 0000000000003d47277359fb969c43e3c7e7c0306a17f6444b8e91e19def03a9. The same worked example gives the Namecoin target as 000000000000b269… and the Bitcoin target as 00000000000009ee…: the parent hash satisfies Namecoin's easier target but not Bitcoin's. Preserved merged-mining specification and serialized block example

That closes an important archival distinction. Block 19,200 was not merely the first height at which AuxPoW was permitted by the upgraded rules; the preserved block itself carries AuxPoW authentication. And its parent candidate was not a winning Bitcoin block. The first production boundary therefore demonstrates, in one artifact, why “merged mining” does not mean that every accepted auxiliary block has a corresponding accepted parent-chain block.

The specification is a later technical preservation rather than a contemporaneous block announcement, so attribution to a particular pool needs separate evidence. In a 5 August 2012 answer, Slush stated that block 19,200 had been mined by merged mining through his pool. In the same answer he identified Bitcoin block 148,557 as, to his knowledge, the first winning Bitcoin block carrying merged-mining information. That is useful participant recollection, but the “AFAIK” qualifier belongs in the record and should not be rewritten as chain proof. Later first-person recollection by Slush

The reproduced Namecoin header contains timestamp bytes 8d 1a 90 4e, which decode as Unix time 1318066829, or 8 October 2011 09:40:29 UTC. That is a miner-supplied block-header timestamp, not an independently observed wall-clock crossing. A contemporaneous Bitcoin Stack Exchange thread was already reporting height 19,202 on 8 October, which independently bounds the activation to the same day without turning the header timestamp into an observation timestamp. Contemporary thread and 8 October observation

What the parent chain knows

Merged mining is asymmetric.

Namecoin's validator needs evidence about the parent work because Namecoin is deciding whether to accept an auxiliary block. Ordinary Bitcoin consensus does not need to understand Namecoin's name operations, expiration rules or auxiliary-chain history. A Bitcoin miner or pool may need software capable of constructing the commitment, but that is not the same as Bitcoin nodes validating Namecoin.

This is why BitDNS's “separate fates” language survived implementation surprisingly well. Security resources can overlap while application consensus remains independent.

Why it matters beyond Namecoin

Merged mining became one answer to a recurring Bitcoin design question: how can another system borrow something from Bitcoin without becoming Bitcoin consensus?

Compare the alternatives elsewhere in the archive:

  • Colored coins and Ordinals derive additional meaning from Bitcoin transactions while Bitcoin itself ignores that application interpretation.
  • Counterparty builds a separate deterministic state machine from Bitcoin-ordered messages.
  • Namecoin keeps its own blockchain and validation rules but can reuse Bitcoin-oriented proof-of-work.
  • Sidechains pursue a different family of relationships around asset movement and separate consensus.

These should not be flattened into one category called “built on Bitcoin”. They borrow different things: ordering, transaction space, assets, proof-of-work, software lineage or some combination.

Evidence map

Direct contemporary design record

Surviving implementation and project records

Open research

Open question
Preserve Namecoin block 19,200 and its complete AuxPoW object from an independent chain source, then reproduce the parent-header hash, coinbase commitment, Merkle branches and target checks byte-for-byte. The later specification already establishes that the activation block itself used AuxPoW; the remaining task is independent preservation and verification, not re-opening that settled distinction.
Open question
Pin the implementation lineage from Satoshi's December 2010 sketch through Mike Hearn's technical work and Vincent Durham's proof of concept to the production code, using dated commits, test releases and review records rather than later summaries.
Open question
Document the first mining pools to activate Bitcoin/Namecoin merged mining and separate announced support, testnet support and production blocks.