Thanks for sharing that. Fix your wallet to get zapped⚡️
Yes, I think it'd be an attack because Ocean would be crediting the attacker's shares to receive payouts from other honest miners, while they'd get to keep the full reward when they find a block.
However the protocol doesn't assume that miners behave honestly because they share their templates with the pool for inspection: https://github.com/OCEAN-xyz/datum_gateway/issues/1
Sharing the full template is not strictly necessary, though. I believe the datum_gateway could just send the block header, the coinbase transaction and a Merkle proof of inclusion of that transaction. But I don't know if that's what they have in mind for future versions of DATUM.
Discussion
No replies yet.