summaryrefslogtreecommitdiff
path: root/7b/eca85b28f0db83811b0a45d57de08cbc6239e0
blob: 9f0d311866f9be4bff32b3ed3d6628fbabf9e377 (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
Return-Path: <gmaxwell@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 8DCA5CB27
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri,  8 Mar 2019 00:40:15 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com
	[209.85.208.52])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 20E93180
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri,  8 Mar 2019 00:40:14 +0000 (UTC)
Received: by mail-ed1-f52.google.com with SMTP id c55so15056886edb.0
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 07 Mar 2019 16:40:14 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:references:in-reply-to:from:date
	:message-id:subject:to:cc;
	bh=xKb9lhQlFS3QOz0LDATN/Vf/L/jyo8xum08mjLBfIQ4=;
	b=DHjzc/PTJaA1Qo6n1wete1mE48uJlYu9kqNYoiEURX+NPy44fiXxFLP/nB6q6X1oxW
	W3GVZs/YPUNzbAZaGWTwpRoJKiAPNDfqv9WtYNgqWybbgJD4c7T2365b4NN2Pd5ffEGJ
	kYxWy4QRLPLf3QOh76QzxjBjrs2BNpHyiabhAXTQDs38OW8O85wx6wvSfi0NmqHMO5OP
	SF6OPv3LgnPzqJK/U7FfEmD4k63Ro8HAApCcEag+F4A0RrNNlsKspoE3D0QMmkvXpdFf
	ylOY4CpD9/CblDYgHSGZL0vVRmXZyPLb9gKacT4UpbTfAR/4AHDCrzx2Xbr6HYoFpJ8h
	bzow==
X-Gm-Message-State: APjAAAU/B19OsVIvYoxCYALY4lnFZjv9CKhkZiEW/N80IJamu1PEvNwY
	apL+giUjECub85WfySVzQq4r6yBAzJDJPshQNwwnCw==
X-Google-Smtp-Source: APXvYqy64FzXOJ9EtWSLPatyvdvNgr2WuG417Vwzgv5Oqg2jtW7vqHsKaNBrD++fhQi8CPUbeCY05Iw6UOR/EvziutU=
X-Received: by 2002:a17:906:5f99:: with SMTP id
	a25mr9561257eju.140.1552005613657; 
	Thu, 07 Mar 2019 16:40:13 -0800 (PST)
MIME-Version: 1.0
References: <20190306180800.GC10453@boulet>
	<dSmKNsbsqQaRCPeT2EYOwhAvBXUvtSVJZVPLSAeYnSElB0WM7iY3nKQJfQAj3AWfP-oFpTqKk9OvrQtlM6W3c_2tv9HwGN5cYy_XgZuDiGM=@achow101.com>
In-Reply-To: <dSmKNsbsqQaRCPeT2EYOwhAvBXUvtSVJZVPLSAeYnSElB0WM7iY3nKQJfQAj3AWfP-oFpTqKk9OvrQtlM6W3c_2tv9HwGN5cYy_XgZuDiGM=@achow101.com>
From: Gregory Maxwell <greg@xiph.org>
Date: Fri, 8 Mar 2019 00:40:00 +0000
Message-ID: <CAAS2fgR_smsA66DKJUmN_c2qeg0v36OcJhFWc_ZddOLbxG3Onw@mail.gmail.com>
To: Andrew Chow <achow101-lists@achow101.com>, 
	Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
X-Mailman-Approved-At: Fri, 08 Mar 2019 00:52:36 +0000
Subject: Re: [bitcoin-dev] BIP174 / PSBT extensions
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
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: Fri, 08 Mar 2019 00:40:15 -0000

On Thu, Mar 7, 2019 at 11:49 PM Andrew Chow via bitcoin-dev
<bitcoin-dev@lists.linuxfoundation.org> wrote:
> I feel like this breaks the central idea of PSBT that a PSBT contains everything you need to construct a transaction.
> This would rely on parties in the transaction having state and remembering things which I don't think is something
> that we can assume.

I think it's perfectly fine for someone to have a propritary extension
to PSBT that isn't going to work right unless used only between their
own stuff or need a translator to talk to ordinary PSBT stuff.

For that purpose, having some kind of versioning field that you can
use to indicate what weird PSBT dialect you're speaking might be
helpful, if only to allow for more reasonable error messages.