Post AXXmcAJBzrC09Sa1Z2 by stevenroose@x0f.org
 (DIR) More posts by stevenroose@x0f.org
 (DIR) Post #AXUpbftemg4YDeDJyq by stevenroose@x0f.org
       2023-07-08T21:01:40Z
       
       0 likes, 0 repeats
       
       When attempting 0-conf double spend prevention in #Bitcoin, nonce-fixing only works for a single-use key, which is pointless.Using OP_CHECKSIGFROMSTACK (and OP_CAT), however, you can create a script that takes 2 txs on the stack and verifies that they are double spends of one another.This works for a party that always reuses the same key and promises to never double spend any of its UTXOs.
       
 (DIR) Post #AXUrBibQIiWSzTR62K by stevenroose@x0f.org
       2023-07-08T21:19:23Z
       
       0 likes, 0 repeats
       
       Interestingly, this means you can do 0-conf double spend prevention ON #BITCOIN today by posting a fidelity bond on #Liquid using the above construction.
       
 (DIR) Post #AXVffQgyS3K7q0ORTE by kcalvinalvin@fosstodon.org
       2023-07-09T06:44:59Z
       
       0 likes, 0 repeats
       
       @stevenroose I don’t quite follow. How would this be enforced for inclusion in blocks?
       
 (DIR) Post #AXVoE323D5bCE5Gni4 by stevenroose@x0f.org
       2023-07-09T08:20:54Z
       
       0 likes, 0 repeats
       
       @kcalvinalvin You make a single fidelity bond that is tied to a given pubkey and that whenever you cna proof to the script that you observed a double spend by that pubkey, the money in the fidelity bond is burned (and claimer gets 10% or so). Can't give him everything cuz then the violator can claim the bond himself ofc.
       
 (DIR) Post #AXXkruejlCH0Kb2SHo by kcalvinalvin@fosstodon.org
       2023-07-10T06:52:41Z
       
       0 likes, 0 repeats
       
       @stevenroose Ah ok so there’s an external validation process besides just block consensus. Gotcha
       
 (DIR) Post #AXXmcAJBzrC09Sa1Z2 by stevenroose@x0f.org
       2023-07-10T07:12:13Z
       
       0 likes, 0 repeats
       
       @kcalvinalvin A person has to notice that there has been a double spend, yeah. And then proof the double spend to the blockchain.
       
 (DIR) Post #AYjgU2ZaxCWFQVeBF2 by stevenroose@x0f.org
       2023-08-14T22:52:12Z
       
       0 likes, 0 repeats
       
       We actually built this recently!https://github.com/stevenroose/doubletake
       
 (DIR) Post #AZJD1w1GWrcV9WVeJU by stevenroose@x0f.org
       2023-09-01T02:11:47Z
       
       0 likes, 0 repeats
       
       I recently published a blog post on this idea and how we actually built it :)https://roose.io/blog/bitcoin-double-spend-prevention-bonds-liquid/#Bitcoin #liquid