summaryrefslogtreecommitdiff
path: root/c4/06a610e440201f0d5cfd146d63892aafd0309f
blob: a5f267adae4867e22f66c803ecb1dabf34c3ecb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
Return-Path: <ZmnSCPxj@protonmail.com>
Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 18369C016F
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 25 May 2020 06:54:40 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by silver.osuosl.org (Postfix) with ESMTP id 144052033B
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 25 May 2020 06:54:40 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
Received: from silver.osuosl.org ([127.0.0.1])
 by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id ijru0ViCSR-u
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 25 May 2020 06:54:38 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6
Received: from mail-40130.protonmail.ch (mail-40130.protonmail.ch
 [185.70.40.130])
 by silver.osuosl.org (Postfix) with ESMTPS id 52E7520385
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 25 May 2020 06:54:38 +0000 (UTC)
Date: Mon, 25 May 2020 06:54:27 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1590389675;
 bh=OHCwiHAgpZdTTvpjO1E6scwKA9WvCvFmszLcZJdas5o=;
 h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From;
 b=RYI99Kx/MzTnNQLdk+wX+t0DxLd/Ue6uzClJIBtqQvdgP9yaROowhFR4+tNTW8f6q
 tG7V9wSBXoZk8wAd0MHBxEg3ZyEWt0lyYCS18iKXXZy36wLS3CFqixvsY+i23O3K0r
 zwB07Rn3WSFN7agO7Zy0I6rQQRHfLsYksp6cM/Wc=
To: "prayank@tutanota.de" <prayank@tutanota.de>,
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
From: ZmnSCPxj <ZmnSCPxj@protonmail.com>
Reply-To: ZmnSCPxj <ZmnSCPxj@protonmail.com>
Message-ID: <3K6kmk75oNFwNf_E4xqPgf5URJOf4c64Iyxi1HOgEpvvZrdn_wBWxbx3hRBEDfu2MjC5kF6N0ejpjqeG_5FTGIFD_45sFyhLCtMvhJNdq3E=@protonmail.com>
In-Reply-To: <M87d6RV--3-2@tutanota.de>
References: <M87d6RV--3-2@tutanota.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: [bitcoin-dev] Post-mix(coinjoin) usage with multisig and cpfp
	in bitcoin core wallet
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, 25 May 2020 06:54:40 -0000

Good morning Prayank

> I have explained the whole idea with a proof of concept in this link:=
=C2=A0https://medium.com/@prayankgahlot/post-mix-usage-using-multisig-and-c=
pfp-e6ce1fdd57a1

The article is not clear I think, so please confirm my understanding below.

Participants:

* "Peer 3" - Payee
* "Peer 2" - Payer
* "Peer 1" - Enabling tr\*sted third party

Goal: Payer wants to pay to the payee 0.006BTC

Current Conditions:

* Payer owns 0.01 BTC in a single UTXO
* Third Party owns 0.05 BTC in a single UTXO

Protocol:

1.  Payer and Third Party compute a 2-of-3 address with the public keys of =
Payer, Payee, and Third Party.
2.  Payer and Third Party individually pay their owned funds to the 2-of-3 =
address.
3.  After confirmation, they consume the new outputs into another transacti=
on with equal-valued outputs, hiding who owns which coins.

Is my understanding correct?

If so, I believe JoinMarket has a superior technology, which does not requi=
re a tr\*sted third party; it simply requires one or more UNtrusted third p=
arties to participate in signing a single transaction that does not require=
 paying to an intermediate m-of-n address (thus all inputs are singlesig).

Basically JoinMarket allows the market taker to decide how much the equal-v=
alue outputs are, and to define the address it goes to.
The destination address need not be one the market taker controls, it can b=
e to a payee.
This technique is the only out-of-the-box way that a JoinMarket wallet can =
spend funds from a JoinMarket wallet.

JoinMarket as well already includes how to get in touch with enabling third=
 parties (called "market makers").


Regards,
ZmnSCPxj