A shared codebase with a security problem @dogecoin traces its origins directly to @litecoin. Dogecoin launched in December 2013 as a fork of Litecoin, which means the two coins rely on the s
A shared codebase with a security problem
@dogecoin traces its origins directly to @litecoin. Dogecoin launched in December 2013 as a fork of Litecoin, which means the two coins rely on the same hashing function: Scrypt. That shared foundation created an early vulnerability. Before August 2014, Dogecoin and Litecoin competed for the same Scrypt miners, and miners would hop between the two networks based on short-term profitability, causing Dogecoin's hashrate to fluctuate sharply.At the time, Dogecoin faced concerns that it could be vulnerable to a 51 percent attack due to a relatively small hashrate.
In 2014, Dogecoin's developers and community decided to switch to an Auxiliary Proof of Work (AuxPoW) algorithm in order to maintain network security through reliance on Litecoin's mining workforce. The upgrade activated at block 371,337 in September 2014 and was mandatory. Nodes that did not adopt the change could no longer send or receive $DOGE.
How merged mining works in practice
The protocol modification allows Dogecoin to accept mining work originally performed for Litecoin as valid proof for Dogecoin blocks, enabling two cryptocurrencies to share the same hashing effort.The Litecoin block header embeds a cryptographic commitment to a Dogecoin block header, and that commitment proves that the same hashing work can simultaneously satisfy both networks' proof-of-work requirements. Crucially, the two chains keep separate ledgers and enforce their own independent rules. Only the mining work is shared.
The impact on Dogecoin's security was immediate. Within one month of the change, Dogecoin's hashrate and mining difficulty increased by more than 1,500 percent as large mining pools expanded their operations.Since then, Dogecoin's hashrate has exhibited an extremely strong positive correlation with Litecoin's hashrate.
The arrangement also benefits miners directly. Litecoin miners can now obtain an additional cryptocurrency for their efforts while providing the same amount of hashpower as before.Today, more than 70 percent of Dogecoin's hashpower comes from merged mining with Litecoin, making it the dominant method for securing the $DOGE network.
Billy Markus, one of the creators of Dogecoin, has stated that the decision to merge-mine with Litecoin not only saved Dogecoin but was also the most important release ever made by the Dogecoin developers. The structure is not without ongoing debate. A recent dispute within the developer community has centred on whether Dogecoin depends on Litecoin specifically for security, or whether it draws security from all merged-mined Scrypt-based layer-1 chains. No change to the current structure has been agreed upon.
Sources:CoinDesk: Dogecoin to Allow Litecoin Merge Mining in Network Security Bid (2014)Binance Research: Case Study on Merged Mining in Dogecoin and LitecoinLitecoin.com: How Litecoin and Dogecoin Created One of the Most Robust PoW Networks