MultiversX Tracker is Live!

Developments in JoinMarket and privacy: One month of fidelity bonds

Bitcoin Reddit

More / Bitcoin Reddit 261 Views

JoinMarket is a bitcoin privacy solution, it creates coinjoin transactions which can improve the privacy and fungibility of bitcoin.

JoinMarket used to work by the user's wallet randomly choosing market makers out there to do a coinjoin with, but what if all those makers were actually controlled by the same person? That attacker could unmix all the coinjoins and spy on users, this is called a sybil attack.

Fidelity bonds are a mechanism for resistance against such sybil attacks. Honest makers in JoinMarket are now incentivized to lock up bitcoins using the OP_CHECKLOCKTIMEVERIFY opcode. For a sybil attacker to be successful they have to lock up a huge amount of bitcoins

The JoinMarket software allows us to view all the fidelity bonds, and provides calculations telling us how strong or weak the sybil protection is.

Currently 264 BTC are locked up, including this one maker who locked up 124 coins for one year. Several other makers have locked up tens of bitcoins each some for multiple years.

https://imgur.com/a/GaJL8FK

Fidelity bond transactions must be published for all to see, so we can look at them ourselves, for example this is the 124 BTC locked coins transaction:

https://blockstream.info/tx/93722aa851984b9b8b95a0139181bd4fc1282070a44b1b9a2d1b19cc68c2a47b

The second address there is the timelocked address, which can see using the bitcoin core command decodescript using the published redeemscript:

$ bitcoin-cli decodescript 0400f60f63b1752102deb8ccadc36685c45389629831737387b3ae4bbf554e9d228c88bedec25e1f3cac { "asm": "1661990400 OP_CHECKLOCKTIMEVERIFY OP_DROP 02deb8ccadc36685c45389629831737387b3ae4bbf554e9d228c88bedec25e1f3c OP_CHECKSIG", .... "addresses": [ "bc1qeqa9q9a75ks935323f58l9vmjtkp47xncpq6fyxqnf5exukpl2jshgaczk" ], } 

In there we can see the unix timestamp of the locktime 1661990400 which corresponds to 1st September 2022. These 124 BTC are unspendable until that date.

In terms of sybil resistance, if a taker does a coinjoin with 10 other makers (the default value), then in order to successfully attack a sybil attacker would have to lock up over 128k BTC (6.1 billion USD) for one year, or destroy 160 BTC forever:

https://imgur.com/a/Lp3WnQG

What if top fidelity bonds in the orderbook are actually controlled by the same person? They would be foregoing about 8.39 BTCΒ² in sacrificed value, nearly twice as much as the total value right now which is 4.51 BTCΒ². And their success rate would only be about 6% per coinjoin

https://imgur.com/a/97akHFI

submitted by /u/belcher_
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments