alicexbt [ARCHIVE] on Nostr: ๐ Original date posted:2023-05-22 ๐๏ธ Summary of this message: A new method ...
๐
Original date posted:2023-05-22
๐๏ธ Summary of this message: A new method for reducing steps in coinjoin using ALL|ANYONECANPAY sighash flag in PSBTs has been discovered and tested, with a proof of concept provided.
๐ Original message:Hi Bitcoin Developers,
I recently experimented with different sighash flags, PSBTs and realized ALL|ANYONECANPAY could be used to reduce some steps in coinjoin.
Steps:
- Register outputs.
- One user creates a signed PSBT with 1 input, all registered outputs and ALL|ANYONECANPAY sighash flag. Other participants keep adding their inputs to PSBT.
- Finalize and broadcast the transaction.
Proof of Concept (Aice and Bob):ย https://gitlab.com/-/snippets/2542297
Tx: https://mempool.space/testnet/tx/c6dd626591dca7e25bbd516f01b23171eb0f2b623471fcf8e073c87c1179c492
I plan to use this in joinstr if there are no major drawbacks and it can even be implemented by other coinjoin implementations.
/dev/fd0
floppy disk guy
Sent with Proton Mail secure email.
๐๏ธ Summary of this message: A new method for reducing steps in coinjoin using ALL|ANYONECANPAY sighash flag in PSBTs has been discovered and tested, with a proof of concept provided.
๐ Original message:Hi Bitcoin Developers,
I recently experimented with different sighash flags, PSBTs and realized ALL|ANYONECANPAY could be used to reduce some steps in coinjoin.
Steps:
- Register outputs.
- One user creates a signed PSBT with 1 input, all registered outputs and ALL|ANYONECANPAY sighash flag. Other participants keep adding their inputs to PSBT.
- Finalize and broadcast the transaction.
Proof of Concept (Aice and Bob):ย https://gitlab.com/-/snippets/2542297
Tx: https://mempool.space/testnet/tx/c6dd626591dca7e25bbd516f01b23171eb0f2b623471fcf8e073c87c1179c492
I plan to use this in joinstr if there are no major drawbacks and it can even be implemented by other coinjoin implementations.
/dev/fd0
floppy disk guy
Sent with Proton Mail secure email.