Why does Wasabi only use SegWit Bech32 addresses? #5092
-
Why does Wasabi only use SegWit Bech32 addresses? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Wasabi was created after the activation of SegWit, and it makes sense to support the most advanced address type, which has numerous benefits. For example, due to the malleability fix of SegWit, you can now remix CoinJoin outputs which are currently unconfirmed. There are also large savings on mining fees for SegWit transactions. |
Beta Was this translation helpful? Give feedback.
-
@RiccardoMasutti is right. Besides, that without Native SegWit (bech32) Wasabi CoinJoins would be impossible to create. At the Signing phase, everyone gets the unsigned CoinJoin and all the clients send their signature to the Coordinator thus added to the final CJ transaction. If everyone signed then the backend broadcast the signed CoinJoin. Every single tx has a hash that is calculated by the "content" of the transaction. When the Wasabi client signs an input the signature also guarantees that it is valid only for the tx with that specific hash. So if the tx changed later on by the coordinator the input signature would become invalid. Without bech32 every signature addition would change the content thus invalidating the collected signatures. This is the so-called "Transaction Malleability Issue". However, with bech32 the signature was "taken out" of the tx thus it does not affect the hash of the tx - so the signatures can be gathered and added one-by-one. |
Beta Was this translation helpful? Give feedback.
-
All points mentioned above are important reasons why Wasabi is segwit only. One further point, is that we are using BIP 158 block filters. If Wasabi would support all output types, then we would have to create I don't know the exact numbers in mind, but a the Bitcoin Core generated |
Beta Was this translation helpful? Give feedback.
Wasabi was created after the activation of SegWit, and it makes sense to support the most advanced address type, which has numerous benefits. For example, due to the malleability fix of SegWit, you can now remix CoinJoin outputs which are currently unconfirmed. There are also large savings on mining fees for SegWit transactions.