Damus
JackTheMimic · 2d
There's no way to know that a miner's hash corresponds to a block template that they show you. OCEAN would only know that their block template or at least one of the transactions within it are invalid...
m0wer profile picture
Of course there is! What would be the point to mining otherwise!

The block hash includes the merkle root of the transactions, so it could be verified easily. And it must be checked! Otherwise how does the pool know to what address you are mining the reward to? Would a pool pay a miner that might be sending the block reward + fees to their own address? You don't need to disclose the whole merkle tree to prove that the coinbase transaction is correct. But the mechanism is there.

In the case of BIP-110 activation, I guess the BIP-110 miners wouldn't want to share rewards with miners that, if lucky, would include "invalid" transactions that they would later reject as a valod block. So then you need to check the whole merkle tree to recompute the root and validate the shares of all miners.

JackTheMimic · 2d
During mining? That compute would be just as much as mining itself. I was under the impression that the merkle root was only validated if the POW was under the diff threshold. I mean trillions of hashes are being given per second, were are sayong each one is checked against the reported block templa...