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/2542297Tx:
https://mempool.space/testnet/tx/c6dd626591dca7e25bbd516f01b23171eb0f2b623471fcf8e073c87c1179c492I 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.
Published at
2023-06-07 23:21:57Event JSON
{
"id": "075cde0156c58f3ebf9d134b18f47ad660b0b4691f8cfd271f64b4d35183489f",
"pubkey": "745e2723e72d7ded3f0dd293d710b706cd302ab8476983c292d4bdb7f9c5d366",
"created_at": 1686180117,
"kind": 1,
"tags": [
[
"e",
"46924194aed9e2b2816d0bc4ae1b22cc2c3ac38d3258e74c8c083ccc00000156",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "๐
Original date posted:2023-05-22\n๐๏ธ 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.\n๐ Original message:Hi Bitcoin Developers,\n\nI recently experimented with different sighash flags, PSBTs and realized ALL|ANYONECANPAY could be used to reduce some steps in coinjoin.\n\nSteps:\n\n- Register outputs.\n- 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.\n- Finalize and broadcast the transaction.\n\nProof of Concept (Aice and Bob):ย https://gitlab.com/-/snippets/2542297\n\nTx: https://mempool.space/testnet/tx/c6dd626591dca7e25bbd516f01b23171eb0f2b623471fcf8e073c87c1179c492\n\nI plan to use this in joinstr if there are no major drawbacks and it can even be implemented by other coinjoin implementations. \n\n/dev/fd0\nfloppy disk guy\n\nSent with Proton Mail secure email.",
"sig": "508758124ca962773ad996e859cf5ec59a07389158883a1bb33045200972a925e531fcbf1bf8ae1f2ee2a9624163e2744221367f4d09e7b66b292e95c164e45d"
}