bitcoin-dev

Congestion Control via OP_CHECKOUTPUTSHASHVERIFY proposal

Congestion Control via OP_CHECKOUTPUTSHASHVERIFY proposal

Original Postby Jeremy

Posted on: May 24, 2019 21:15 UTC

The OP_COSHV Taproot key is a better option for withdrawal requests from an exchange as compared to MuSig and other distributed signing solutions because they require interaction for payout guarantee.

With OP_COSHV, one can request a withdrawal that pays out to multiple people at once, without having to withdraw multiple times and pay separately. The exchange doesn't have to know about this, and they can also aggregate multiple withdrawal requests into a tree without requiring permission from the recipients. Additionally, the payment can be made into a payment channel between the user and the exchange, which allows undoing the withdrawal by routing money back to the exchange over lightning. With just pre-signing, none of these operations work well as they require permission first. OP_COSHV allows the payer or recipient to commit funds to a complex transaction structure without talking to anyone else.Furthermore, in terms of DoS, if one user drops out during the last step of building a tree with N users' payment requests, the process has to be restarted, excluding that user. With OP_COSHV, once all the requests are received, issuing the transaction is the only thing left to do, allowing for a smoother process.