Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 76897A58 for ; Mon, 9 Jan 2017 09:36:51 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-yw0-f174.google.com (mail-yw0-f174.google.com [209.85.161.174]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id CD4ED123 for ; Mon, 9 Jan 2017 09:36:50 +0000 (UTC) Received: by mail-yw0-f174.google.com with SMTP id a10so420628598ywa.3 for ; Mon, 09 Jan 2017 01:36:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Jcw1xaRYozX4rXoRIL5boAQs9t2DwQEPerUVbacN5Rw=; b=KyaZwEu49+Ro5pHPU++hsIoeyN/tYxSyEaIMyfoMU2LCeo0LFl3gKIv+mjGNs6uDkq VBgd1kJlS3AhYeg13WP0bSYWvcYQc1jM1HjQ265cEdV9CoD3Z3C1nB1IVBgqzarIA6uz X2N3s/r4UY7EPqBRSXJbHxL7Xha9j6qLwo1HMgPWYqTilbIxPlpm1pHaFjcLo/7Kakcy yQj91TStNU23nISH1X23IY3xS05J/4MX85tuL15g9NkZlyVEs8VUrieBV3YvsYXwk7r3 XMCqDbUQVA03xLG0gZL/fZJFBsJ4xZQsjESILKUgj9h1kNx1rr6UjKb4wfcDS8UxFb+s D4lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Jcw1xaRYozX4rXoRIL5boAQs9t2DwQEPerUVbacN5Rw=; b=Ej1Ls1/PiW3UsijPgFFqKR3/tJofPDMfUZED/ZRDYdkFoNBmdX0ETuWEYK5yO6JXX3 59T2gNUsiAbjnuL5bK46r//68r8LWZ6d6BFYUd1ZtrBmfWa7hH77y2Vg0J2mrs6scaX6 0PLlaa18jhaJwaL8ol0vZiimL7pj1qOeNNEIWwMe1edgJT2PWoQVB0EnJnd8Vz7cbxxR FhNEcDNTPXXRFar2rBmxeTg+KqQwOgRIGED8k5BEvPLX+xLY8qLBd5xfte0Q4f8dC/7k 1E51uv8kJRIW9pBX9GOhXvUappqudL58b7276+IGcuwUgS+mqbnHBCnd8s+tGx9Yh2W0 RvPA== X-Gm-Message-State: AIkVDXJ99Tap8SxvryIjGON4ECZmKrpTmDtu++49FGpfkRKsfi62rtTp91q57czBHBPey0ZhnfPFCQ55wkyzNw== X-Received: by 10.129.104.70 with SMTP id d67mr19047449ywc.166.1483954609832; Mon, 09 Jan 2017 01:36:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.87.12 with HTTP; Mon, 9 Jan 2017 01:36:49 -0800 (PST) From: =?UTF-8?B?5pyo44OO5LiL44GY44KH44Gq?= Date: Mon, 9 Jan 2017 18:36:49 +0900 Message-ID: To: bitcoin-dev@lists.linuxfoundation.org Content-Type: multipart/alternative; boundary=001a11490c6061c7d90545a61b15 X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM,TRACKER_ID autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Mailman-Approved-At: Mon, 09 Jan 2017 12:39:29 +0000 Subject: [bitcoin-dev] A BIP for partially-signed/not-signed raw transaction serialization; would it be useful? X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2017 09:36:51 -0000 --001a11490c6061c7d90545a61b15 Content-Type: text/plain; charset=UTF-8 I have been seeing issues like the following many times on all the different projects that support multisig with users responsible for partial transaction transport. https://github.com/OutCast3k/coinbin/issues/73 I would like to gather opinions before proposing a BIP, (like whether we need one or not) so please let me know what you think. Basically, Electrum, Copay, Coinb.in, Bitcoin Core, etc. all have different methodology for serializing partially signed multisig raw transactions, as well as not-signed raw transactions regardless of scriptPubkey. I think we should all be on the same page when serializing not-signed and partially signed transactions so that the person could look at the data alone and know what is necessary and how to manipulate it to sign and complete the transaction. - Jon -- -----BEGIN PGP PUBLIC KEY BLOCK----- Comment: http://openpgpjs.org xsBNBFTmJ8oBB/9rd+7XLxZG/x/KnhkVK2WBG8ySx91fs+qQfHIK1JrakSV3 x6x0cK3XLClASLLDomm7Od3Q/fMFzdwCEqj6z60T8wgKxsjWYSGL3mq8ucdv iBjC3wGauk5dQKtT7tkCFyQQbX/uMsBM4ccGBICoDmIJlwJIj7fAZVqGxGOM bO1RhYb4dbQA2qxYP7wSsHJ6/ZNAXyEphOj6blUzdqO0exAbCOZWWF+E/1SC EuKO4RmL7Imdep7uc2Qze1UpJCZx7ASHl2IZ4UD0G3Qr3pI6/jvNlaqCTa3U 3/YeJwEubFsd0AVy0zs809RcKKgX3W1q+hVDTeWinem9RiOG/vT+Eec/ABEB AAHNI2tpbm9zaGl0YSA8a2lub3NoaXRham9uYUBnbWFpbC5jb20+wsByBBAB CAAmBQJU5ifRBgsJCAcDAgkQRB9iZ30dlisEFQgCCgMWAgECGwMCHgEAAC6Z B/9otobf0ASHYdlUBeIPXdDopyjQhR2RiZGYaS0VZ5zzHYLDDMW6ZIYm5CjO Fc09ETLGKFxH2RcCOK2dzwz+KRU4xqOrt/l5gyd50cFE1nOhUN9+/XaPgrou WhyT9xLeGit7Xqhht93z2+VanTtJAG6lWbAZLIZAMGMuLX6sJDCO0GiO5zxa 02Q2D3kh5GL57A5+oVOna12JBRaIA5eBGKVCp3KToT/z48pxBe3WAmLo0zXr hEgTSzssfb2zTwtB3Ogoedj+cU2bHJvJ8upS/jMr3TcdguySmxJlGpocVC/e qxq12Njv+LiETOrD8atGmXCnA+nFNljBkz+l6ADl93jHzsBNBFTmJ9EBCACu Qq9ZnP+aLU/Rt6clAfiHfTFBsJvLKsdIKeE6qHzsU1E7A7bGQKTtLEnhCCQE W+OQP+sgbOWowIdH9PpwLJ3Op+NhvLlMxRvbT36LwCmBL0yD7bMqxxmmVj8n vlMMRSe4wDSIG19Oy7701imnHZPm/pnPlneg/Meu/UffpcDWYBbAFX8nrXPY vkVULcI/qTcCxW/+S9fwoXjQhWHaiJJ6y3cYOSitN31W9zgcMvLwLX3JgDxE flkwq/M+ZkfCYnS3GAPEt8GkVKy2eHtCJuNkGFlCAmKMX0yWzHRAkqOMN5KP LFbkKY2GQl13ztWp82QYJZpj5af6dmyUosurn6AZABEBAAHCwF8EGAEIABMF AlTmJ9QJEEQfYmd9HZYrAhsMAABKbgf/Ulu5JAk4fXgH0DtkMmdkFiKEFdkW 0Wkw7Vhd5eZ4NzeP9kOkD01OGweT9hqzwhfT2CNXCGxh4UnvEM1ZMFypIKdq 0XpLLJMrDOQO021UjAa56vHZPAVmAM01z5VzHJ7ekjgwrgMLmVkm0jWKEKaO n/MW7CyphG7QcZ6cJX2f6uJcekBlZRw9TNYRnojMjkutlOVhYJ3J78nc/k0p kcgV63GB6D7wHRF4TVe4xIBqKpbBhhN+ISwFN1z+gx3lfyRMSmiTSrGdKEQe XSIQKG8XZQZUDhLNkqPS+7EMV1g7+lOfT4GhLL68dUXDa1e9YxGH6zkpVECw Spe3vsHZr6CqFg== =/vUJ -----END PGP PUBLIC KEY BLOCK----- --001a11490c6061c7d90545a61b15 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have been seeing issues like the following many times on= all the different projects that support multisig with users responsible fo= r partial transaction transport.


I would like to gather opinions before= proposing a BIP, (like whether we need one or not) so please let me know w= hat you think.

Basically, Electrum, Copay, Coinb.i= n, Bitcoin Core, etc. all have different methodology for serializing partia= lly signed multisig raw transactions, as well as not-signed raw transaction= s regardless of scriptPubkey.

I think we shou= ld all be on the same page when serializing not-signed and partially signed= transactions so that the person could look at the data alone and know what= is necessary and how to manipulate it to sign and complete the transaction= .

- Jon

--
-----BEGIN PGP PUBLIC KEY BLOCK-----<= /div>

xsBNBFTmJ8oBB/9rd+7XLxZG/x/Knh= kVK2WBG8ySx91fs+qQfHIK1JrakSV3
x6x0cK3XLClASLLDomm7Od3Q/fMFzdwCEq= j6z60T8wgKxsjWYSGL3mq8ucdv
iBjC3wGauk5dQKtT7tkCFyQQbX/uMsBM4ccGBI= CoDmIJlwJIj7fAZVqGxGOM
bO1RhYb4dbQA2qxYP7wSsHJ6/ZNAXyEphOj6blUzdq= O0exAbCOZWWF+E/1SC
EuKO4RmL7Imdep7uc2Qze1UpJCZx7ASHl2IZ4UD0G3Qr3p= I6/jvNlaqCTa3U
3/YeJwEubFsd0AVy0zs809RcKKgX3W1q+hVDTeWinem9RiOG/v= T+Eec/ABEB
AAHNI2tpbm9zaGl0YSA8a2lub3NoaXRham9uYUBnbWFpbC5jb20+ws= ByBBAB
CAAmBQJU5ifRBgsJCAcDAgkQRB9iZ30dlisEFQgCCgMWAgECGwMCHgEAAC= 6Z
B/9otobf0ASHYdlUBeIPXdDopyjQhR2RiZGYaS0VZ5zzHYLDDMW6ZIYm5CjO
Fc09ETLGKFxH2RcCOK2dzwz+KRU4xqOrt/l5gyd50cFE1nOhUN9+/XaPgrou
=
WhyT9xLeGit7Xqhht93z2+VanTtJAG6lWbAZLIZAMGMuLX6sJDCO0GiO5zxa
02Q2D3kh5GL57A5+oVOna12JBRaIA5eBGKVCp3KToT/z48pxBe3WAmLo0zXr
hEg= TSzssfb2zTwtB3Ogoedj+cU2bHJvJ8upS/jMr3TcdguySmxJlGpocVC/e
qxq12Nj= v+LiETOrD8atGmXCnA+nFNljBkz+l6ADl93jHzsBNBFTmJ9EBCACu
Qq9ZnP+aLU/= Rt6clAfiHfTFBsJvLKsdIKeE6qHzsU1E7A7bGQKTtLEnhCCQE
W+OQP+sgbOWowId= H9PpwLJ3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