summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralicexbt <alicexbt@protonmail.com>2023-05-22 12:51:22 +0000
committerbitcoindev <bitcoindev@gnusha.org>2023-05-22 12:51:39 +0000
commit2c82ee213f762423c224d3dc374ff74819b2ef95 (patch)
tree16440992994213edfc0bce9b4c0e9c721c470e66
parent105924613ceaac2504f7beef5321005a09ba48d4 (diff)
downloadpi-bitcoindev-2c82ee213f762423c224d3dc374ff74819b2ef95.tar.gz
pi-bitcoindev-2c82ee213f762423c224d3dc374ff74819b2ef95.zip
[bitcoin-dev] Coinjoin with less steps using ALL|ANYONECANPAY
-rw-r--r--9b/f0645da5b13078f06f1c1f7118c26c055d768893
1 files changed, 93 insertions, 0 deletions
diff --git a/9b/f0645da5b13078f06f1c1f7118c26c055d7688 b/9b/f0645da5b13078f06f1c1f7118c26c055d7688
new file mode 100644
index 000000000..b5994efbf
--- /dev/null
+++ b/9b/f0645da5b13078f06f1c1f7118c26c055d7688
@@ -0,0 +1,93 @@
+Return-Path: <alicexbt@protonmail.com>
+Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])
+ by lists.linuxfoundation.org (Postfix) with ESMTP id CD701C002A
+ for <bitcoin-dev@lists.linuxfoundation.org>;
+ Mon, 22 May 2023 12:51:39 +0000 (UTC)
+Received: from localhost (localhost [127.0.0.1])
+ by smtp1.osuosl.org (Postfix) with ESMTP id A290283B01
+ for <bitcoin-dev@lists.linuxfoundation.org>;
+ Mon, 22 May 2023 12:51:39 +0000 (UTC)
+DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org A290283B01
+Authentication-Results: smtp1.osuosl.org;
+ dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com
+ header.a=rsa-sha256 header.s=protonmail3 header.b=RcG0c4V6
+X-Virus-Scanned: amavisd-new at osuosl.org
+X-Spam-Flag: NO
+X-Spam-Score: -0.103
+X-Spam-Level:
+X-Spam-Status: No, score=-0.103 tagged_above=-999 required=5
+ tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
+ DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
+ PDS_OTHER_BAD_TLD=1.999, RCVD_IN_MSPIKE_H2=-0.001,
+ SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
+Received: from smtp1.osuosl.org ([127.0.0.1])
+ by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
+ with ESMTP id TCkg4SRNaZSF
+ for <bitcoin-dev@lists.linuxfoundation.org>;
+ Mon, 22 May 2023 12:51:39 +0000 (UTC)
+X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0
+DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org E328583385
+Received: from mail-4324.protonmail.ch (mail-4324.protonmail.ch [185.70.43.24])
+ by smtp1.osuosl.org (Postfix) with ESMTPS id E328583385
+ for <bitcoin-dev@lists.linuxfoundation.org>;
+ Mon, 22 May 2023 12:51:37 +0000 (UTC)
+Date: Mon, 22 May 2023 12:51:22 +0000
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
+ s=protonmail3; t=1684759894; x=1685019094;
+ bh=SmdvzMx0/Jycn9JMQ/gY5vgTBsvi9XRs34GLTCAOrl8=;
+ h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
+ Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector;
+ b=RcG0c4V6FAUJaeN3IELqZEArzwut56PeGdplkWy4bOIUFeddNTJTTMo7w46WUvrup
+ 1lXgyUlkdXMdfLT+smgzqevHyiW5pfEnl8Qx288e8sGjF4PKN7IDwSW4S3adFRGBd2
+ C9X73m5z1ByDJJp8Bcxe3SHbMAqzuoPjCQgsSfqWgnpWzrlWkz9guF+t+rkJSn2Hen
+ deO5fR0lGRSBoh1oBqd8POAWGsFPA7XM21F4/QxVVcsD7WIEfF86w97hCFL6T316Cd
+ EVpnyxc+ZK70CDg9ACnamr/QBNQUHasB97ahfV4mpmQJQ3YtEI/QfIFMO8FpOK0UHF
+ MJ+g0Pe6yDIzg==
+To: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
+From: alicexbt <alicexbt@protonmail.com>
+Message-ID: <EWAXAmgFlZ8XQJOYO8VTH7Zj0tTAftwy-ylaGvf3Giealz1FFb97CbcxjP0q-Zu85XoAzOG0ivdYIKa_kG77ooHqBvCP7YOZOkb6yHmX75s=@protonmail.com>
+Feedback-ID: 40602938:user:proton
+MIME-Version: 1.0
+Content-Type: text/plain; charset=utf-8
+Content-Transfer-Encoding: quoted-printable
+X-Mailman-Approved-At: Mon, 22 May 2023 22:12:08 +0000
+Subject: [bitcoin-dev] Coinjoin with less steps using ALL|ANYONECANPAY
+X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
+X-Mailman-Version: 2.1.15
+Precedence: list
+List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org>
+List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
+ <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
+List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
+List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
+List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
+List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
+ <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
+X-List-Received-Date: Mon, 22 May 2023 12:51:39 -0000
+
+Hi Bitcoin Developers,
+
+I recently experimented with different sighash flags, PSBTs and realized AL=
+L|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 A=
+LL|ANYONECANPAY sighash flag. Other participants keep adding their inputs t=
+o PSBT.
+- Finalize and broadcast the transaction.
+
+Proof of Concept (Aice and Bob):=C2=A0https://gitlab.com/-/snippets/2542297
+
+Tx: https://mempool.space/testnet/tx/c6dd626591dca7e25bbd516f01b23171eb0f2b=
+623471fcf8e073c87c1179c492
+
+I plan to use this in joinstr if there are no major drawbacks and it can ev=
+en be implemented by other coinjoin implementations.=20
+
+/dev/fd0
+floppy disk guy
+
+Sent with Proton Mail secure email.
+