Return-Path: Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 18369C016F for ; 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 ; 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 ; 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 ; 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" , Bitcoin Protocol Discussion From: ZmnSCPxj Reply-To: ZmnSCPxj Message-ID: <3K6kmk75oNFwNf_E4xqPgf5URJOf4c64Iyxi1HOgEpvvZrdn_wBWxbx3hRBEDfu2MjC5kF6N0ejpjqeG_5FTGIFD_45sFyhLCtMvhJNdq3E=@protonmail.com> In-Reply-To: References: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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