I don't understand how this part could be true. If the hashing being done is salted by the current block and a hash of the preceding block, how could that work possibly be equally valid for another coin whose current block and previous hash are totally different?
Merge mining requires that at least one of the coins supports it.
Namecoin allows you to mine a bitcoin header and then include the hash of the namecoin header in the coinbase transaction. If you meet the Namecoin difficulty, you have to send the bitcoin header, the merkle path to the coinbase transaction and the coinbase transaction to the Namecoin network as your "header".
How does that help with consensus? If a node gets a bitcoin header, the merkle path to the coinbase transaction, and the coinbase transaction, why couldn't the Namecoin node just modify all the transactions, or even drop them entirely, since the bitcoin header doesn't depend on the contents of the Namecoin
nodeblock?
Ohhhhh... There's some information put into the Bitcoin blockchain. Ok. This makes more sense now. I assume that this "small amount of data" is the hash of the Namecoin block?
Merged mining works like this, you have two totally separate block chains, they are not related in any way nor does either contain any data from the other. When you mine you generate hashes that may be the solution to the current block, this is very very improbable per hash, its like a lottery where everyone generates tickets until someone finds the winning one. Normally you make tickets and check them against the Bitcoin block chain to see if they are the solution. With merged mining you create a ticket and check it against both the Bitcoin block chain and the Namecoin block chain, Bitcoin and Namecoin know nothing about each other, they are two totally different lotteries with different winning numbers, you just sent a copy of your ticket to both. Since you are sending the same ticket to two lotteries you increase your chances of winning one or the other. No Bitcoin data goes into Namecoin no Namecoin data into Bitcoin they remain totally separate, you simply run both the Namecoin and Bitcoin clients on the same machine and submit hashes to both networks, if your hash is the solution to the Namecoin block you get Namecoins if you hash is the solution to the Bitcoin block you get Bitcoins, its exactly like if you where mining on just one network, except you submit the same work twice.
Not quite tl;dr but i think its gets the point across.
Thankyou ttk2 for this. I've been reading lots of text about this concept, and wasn't quite getting some bits of it. Now it makes more sense.
Why don't you have a donation address in your signature?
Didn't think anyone would care to donate.
12YXLzbi4hfLaUxyPswRbKW92C6h5KsVnX
Thanks! I am glad i could help.
Could you please correct this (on the web site also)
It is false (see
highlighted sections that are wrong)
Namecoin data (unrelated to bitcoin) is added to the bitcoin block chain, thus making the bitcoin block chain unnecessarily larger.
Though, for those who do want to do this - look at it this way
Namecoin blocks are almost free.
The cost is those extra bytes added to the bitcoin block chain (i.e. disk space for everyone in bitcoin)
If you mine exclusively namecoin you are paying with your hashes and electricity (as well as the namecoin block chain disk space)
If you mine merged you are only paying with your namecoin and bitcoin block chain disk space.
What value does that put on a namecoin coin?
Update: It's the hash of the Namecoin block header.
https://en.bitcoin.it/wiki/Merged_mining_specification