BOMBARCHIVE
Explore

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

The archiveBitcoin

Old revision: Merged mining

archive: tighten merged-mining source labels

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.

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
Reconstruct Namecoin block 19,200 directly from chain data, preserve its AuxPoW object, and identify the exact parent header/work it proves against. Do not assume that “activation block” and “first actually AuxPoW-mined block” are identical until the block itself is inspected.
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.