11

How would one go about detecting whether a mining pool is being dishonest by performing merged-mining without sharing the Namecoin income with its miners?

We assume that:

  • The pool is operating normally, albeit pays out only Bitcoin rewards
  • It merge-mines while claiming not doing such a thing

How could we find out the pool is in fact merge-mining and what are the tactics the pool can use to make our investigation harder?

  • I disagree with the premise. If the pool hasn't agreed to share the profits from merged mining with its miners, then it has no obligation to do so. It's not dishonest unless the pool specifically represented that they're not doing merged mining. – David Schwartz Apr 6 '12 at 1:59
  • 2
    @DavidSchwartz I guess it's a moral grey area to merge-mine and not share the profits - while it is not dishonest per se, the pool's miners might shun the pool owner for such a practice. I couldn't find a better word to describe such a pool, so instead I'm exploring explicitly dishonest pool that claims not to merge mine, while doing so. – ThePiachu Apr 6 '12 at 13:04
8

The only way to know for sure would be if you mined for the pool and you mined a Namecoin block for them. You would find the particular header you had submitted as a share used as a solved, merge-mined Namecoin block.

  • 2
    Note that this requires keeping track of all the shares submitted, which no public mining software does AFAIK. Certainly doable, though. Good point in any case. – BinaryMage Apr 6 '12 at 3:55
3

Functionality of merged mining for reference, from user ttk2 on BitcoinTalk:

"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. "

Protocol-wise there is nothing you can do; the work sent to the user is identical whether or not the pool is merged mining. You can certainly check to see if the IP of the pool's server is submitting Namecoin blocks, but even if it is, there is no way save hacking the server to definitively prove that those blocks are being hashed by users. (Though you could potentially provide "beyond a reasonable doubt" proof due to frequency of block solving.) The pool could also fairly easily redirect Namecoin block solutions through another server, VPN, or anonymizer, rendering legal methods of proof effectively impossible.

  • 1
    The post you quote is pretty misleading IMO. – CodesInChaos Apr 10 '12 at 23:52
  • @CodeInChaos I thought it was a decent explanation, but I'm no expert in matters of merged mining. Can you specify exactly what it is you disagree with? – BinaryMage Apr 11 '12 at 5:05
  • From what others have explained regarding how merged mining works, Bitcoin data does make it into the Namecoin chain, even if it's in the end ignored. The claim that "no data from one chain enters the other" is thus just a PR stunt. – Joe Pineda Feb 20 '14 at 17:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.