How auxpow actually works step by step
AuxPoW (Auxiliary Proof of Work) lets a miner on one blockchain - usually Litecoin - submit their valid work to a second blockchain - usually Dogecoin - without doing extra computation. The second chain accepts that work as its own proof of work, so the miner earns rewards on both chains simultaneously. The mechanism is straightforward once you understand the data structure and the validation rules.
What auxpow is not
AuxPoW is not "shared mining" where two chains use the same hash. It is not a merged mempool or a cross-chain consensus system. It is a single block header that carries a second block header inside it, linked by a Merkle branch. The miner finds one hash that satisfies both chains' difficulty targets.
The core data structure
AuxPoW works because block headers are not simple flat records. A Bitcoin-style block header contains:
- Version
- Previous block hash
- Merkle root
- Timestamp
- Bits (difficulty target)
- Nonce
In AuxPoW, the "parent" chain (Litecoin) produces a normal block. The "auxiliary" chain (Dogecoin) embeds a reference to that Litecoin block inside its own coinbase transaction. The Dogecoin block header then contains:
- A standard header with its own fields
- An AuxPoW field that holds:
- The Litecoin block header
- A Merkle branch linking that header to the Dogecoin coinbase
- A Merkle branch linking the coinbase to the Dogecoin block's Merkle root
A Dogecoin miner does not compute a separate hash for Dogecoin. They compute a Litecoin hash. If that hash meets Dogecoin's difficulty, they can construct a valid Dogecoin block by adding the AuxPoW data.
Step-by-Step Process
Step 1: The Miner Builds a Litecoin Block
The miner assembles Litecoin transactions, builds a Litecoin Merkle tree, and creates a Litecoin block header. They set the version field to indicate AuxPoW support. The Litecoin block header is the work they will hash.
Step 2: The Miner Constructs a Dogecoin Coinbase Transaction
The Dogecoin coinbase transaction must contain a special output or OP_RETURN that includes the Litecoin block header hash. This is how the Dogecoin chain proves which Litecoin block it references. The coinbase can also hold a merge-mining tag (often "merged mining" or "AuxPoW" in human-readable form).
Step 3: The Miner Builds a Dogecoin Block Header
The Dogecoin block header uses the same timestamp, bits, and nonce as the Litecoin block header - or at least values that produce the same hash. The Dogecoin Merkle root is computed from all Dogecoin transactions, including the special coinbase. The header also includes the AuxPoW structure.
Step 4: The Miner Hashes the Litecoin Block Header
The miner iterates nonces and timestamps on the Litecoin block header until they find a hash below Litecoin's difficulty target. That is the primary work. If the same hash also falls below Dogecoin's difficulty, the miner has a valid Dogecoin block.
Step 5: the miner submits both blocks
The miner broadcasts the Litecoin block normally. They also broadcast the Dogecoin block, which contains the Litecoin block header plus the AuxPoW data. Dogecoin nodes validate the block by:
- Checking that the block hash meets Dogecoin's difficulty
- Verifying the AuxPoW Merkle branches lead back to the Dogecoin coinbase
- Verifying that the embedded Litecoin block header is valid (its hash meets Litecoin's difficulty)
- Confirming the coinbase references the correct Litecoin block
If all checks pass, the Dogecoin node accepts the block.
Difficulty Mismatch
Litecoin's difficulty is usually much higher than Dogecoin's because Litecoin has more hashrate. This means almost every Litecoin block satisfies Dogecoin's difficulty automatically. The reverse is not true: a Dogecoin block would almost never meet Litecoin's difficulty. So AuxPoW is asymmetric. Only Litecoin miners can merge-mine Dogecoin profitably, not the other way around.
Why AuxPoW Persists
AuxPoW gives Dogecoin security from Litecoin's hashrate without Dogecoin needing its own mining industry. Litecoin miners get free Dogecoin rewards. The arrangement has held since Dogecoin adopted AuxPoW in 2014. No significant attack has succeeded on either chain because of it.
What happens if litecoin hashrate drops
AuxPoW ties Dogecoin's security to Litecoin's. If Litecoin's hashrate falls, Dogecoin's effective security falls with it. Dogecoin could technically switch to solo mining, but that would require a hard fork and a new mining ecosystem. In practice, the two chains remain coupled.
Relevant Existing Coverage
This site covers Dogecoin block time and mining reward schedule elsewhere, as well as the broader implications of merge mining for security. The step-by-step mechanics above are the unglamorous detail that makes the relationship work. No magic, no shortcuts - just a hash that satisfies two chains at once.
Not financial advice. doge2onsol.xyz publishes market data and general information about Dogecoin20. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.
Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.