3 ms·
How does Grin protect against double spend? What keeps two valid transactions spending the same coins from both being accepted?
by jcoffland 8y ago
How does Grin protect against double spend? What keeps two valid transactions spending the same coins from both being accepted?
- tromp 8y agoLike Bitcoin, Grin checks that inputs are in the UTXO set, and removes them from this set. Beyond that, a double spend would also invalidate the check that sum of coinbases equals sum of UTXO.
- ianmiers 8y agoThe coins are public but with a hidden monetary value. When you spend one you explicitly identify it and include it in a transaction that produces a new coin. After they are broadcast there are ways of compressimg individual transactions together, but this doesn't change the double spend protections.