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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
Return-Path: <me@tobin.cc>
Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])
by lists.linuxfoundation.org (Postfix) with ESMTP id 0FBC3C0032
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 11 Aug 2023 04:55:54 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by smtp1.osuosl.org (Postfix) with ESMTP id BEA0482C61
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 11 Aug 2023 04:55:53 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org BEA0482C61
Authentication-Results: smtp1.osuosl.org;
dkim=pass (2048-bit key, unprotected) header.d=tobin.cc header.i=@tobin.cc
header.a=rsa-sha256 header.s=fm2 header.b=ws1E1fHZ;
dkim=pass (2048-bit key,
unprotected) header.d=messagingengine.com header.i=@messagingengine.com
header.a=rsa-sha256 header.s=fm3 header.b=q7dZfCVL
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -0.903
X-Spam-Level:
X-Spam-Status: No, score=-0.903 tagged_above=-999 required=5
tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7,
SPF_HELO_PASS=-0.001, SPF_PASS=-0.001]
autolearn=ham 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 pYLI-eWVOAv7
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 11 Aug 2023 04:55:52 +0000 (UTC)
X-Greylist: delayed 586 seconds by postgrey-1.37 at util1.osuosl.org;
Fri, 11 Aug 2023 04:55:51 UTC
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org E2C9181EAB
Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com
[64.147.123.24])
by smtp1.osuosl.org (Postfix) with ESMTPS id E2C9181EAB
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 11 Aug 2023 04:55:51 +0000 (UTC)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
by mailout.west.internal (Postfix) with ESMTP id 8E0E9320077A;
Fri, 11 Aug 2023 00:46:03 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
by compute3.internal (MEProxy); Fri, 11 Aug 2023 00:46:03 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobin.cc; h=cc
:cc:content-type:content-type:date:date:from:from:in-reply-to
:message-id:mime-version:reply-to:sender:subject:subject:to:to;
s=fm2; t=1691729163; x=1691815563; bh=yCs6kPWCiFIcu5hitabvSbfvS
Lk7mlJfOfzh1YRJsys=; b=ws1E1fHZFiIpfrmIYQZjamV+/I2Po+AYQSs3yKLwh
EyZJXJ8p9E3TDmcNXqbpCouwLxRssBQskzf6wbpd35ZUjDHradVvdGuOrTF/l3Yh
v+qpTNHvzJu6uvWPxT2l9FHXFIzmAE+65k757B/8xiivc0ptv4wAS0PIRqokYzrj
argogmZC2qe6NAQCAyFWRZMUZO85avbB0+CRsU45TSB2Ksg+aKgrZrJnB0d7SNVB
+znd4mKAtSwq1usa8CnulcrBsQh3ibkSIUzGamAOkzRfQdMoyr1KirI9pAY9Wejb
2xtxB5JBjqYNWNwBEDDUGgpOEirOrHBYFl/0t4NmYWvIg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:cc:content-type:content-type:date:date
:feedback-id:feedback-id:from:from:in-reply-to:message-id
:mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy
:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=
1691729163; x=1691815563; bh=yCs6kPWCiFIcu5hitabvSbfvSLk7mlJfOfz
h1YRJsys=; b=q7dZfCVL0g+14OtyzOETmXYLq8zxgdYNjLkQVf/eBurDcbjRWzF
bfOvXNzEehP9NQTOBEZi/32fxFhN6pR1LGsK2wSkkuMzQEON2ql1xkfoupVM3zIT
HBg9a72myys9OxvahlJ+mAk2by3CC/Y85w7e/eLkniDP2zw2Pb+lOw10/VWGWuKc
MGHpmzR+7SYkl7Oj1WmvmZp5FLOFmTq/jjQsFHU5235q/b2Z3JkwcxV+qpJw3QKH
PkZt4vEZgwgOzk9Rkv+Qs/qHiPoQhn86lcyGbi72iI0Eb+03KjRRK2s21Pvc0Ori
CyMw8Zi9FzpJcqlbHj63/ZYhBAkH/myApow==
X-ME-Sender: <xms:Cr3VZNsG-MyEdI9mK8K-kfg8GueHoh68KyfiF4vU9M1br1VLDTG1Pw>
<xme:Cr3VZGfJnZ-P8Fvo8CC7PgStowJTlCU7HTQmK5AxpW3-0xvwB_BvUCDwwiJEiFyPH
sz3zeH_Ofd1pwphtw>
X-ME-Received: <xmr:Cr3VZAyjda2B1j8CQlUMGq_XVco_2cV1r0Lp3zFfRMPHSPpcmHYTNpnHL_SUme7FdgIUngrFhJbPtk9GfeNmJB5Qa3ud>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrleejgdekgecutefuodetggdotefrodftvf
curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdeftddmnecujfgurhepfffhvf
evuffkgggtugfosehttdertdfotddvnecuhfhrohhmpefvohgsihhnucfjrghrughinhhg
uceomhgvsehtohgsihhnrdgttgeqnecuggftrfgrthhtvghrnhepkedufeefteelledtie
fffedtkeekkeeivdeuveetgeejleehtdduveefiefhudetnecuvehluhhsthgvrhfuihii
vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgvsehtohgsihhnrdgttg
X-ME-Proxy: <xmx:Cr3VZEOghofRVw9puz_UPGWHIomVPsLUf1PSVnR2Dbum2xOkdBwlUw>
<xmx:Cr3VZN8yVrypyGgJ6KH3_rspf4FnFG9fUyHlK0G6XsbjZgMmT1yt4g>
<xmx:Cr3VZEWf4moReuuNhtFF8nwPKRPUX3b2jQQ9FlNRit66_j-ETd88vw>
<xmx:C73VZKGVd5lyNqQtlLv9aXhU2SZFq9unvUadvjnPtEOnkJZj6y8-Fg>
Feedback-ID: i05c0407e:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
11 Aug 2023 00:46:02 -0400 (EDT)
Date: Fri, 11 Aug 2023 14:45:57 +1000
From: Tobin Harding <me@tobin.cc>
To: bitcoin-dev@lists.linuxfoundation.org
Message-ID: <ZNW9BenWIhgX95zl@alke>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Mailer: Mutt 2.1.4 (2021-12-11)
X-Mailman-Approved-At: Fri, 11 Aug 2023 06:41:32 +0000
Subject: [bitcoin-dev] segwit naming ambiguity
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: Fri, 11 Aug 2023 04:55:54 -0000
Question for OG bitcoin API designers please.
If you were to see the following function
`is_segwit()`
would you assume it returns `true` or `false` for a p2tr transaction?
Currently we (rust-bitcoin) are being liberal with the use of `v0` but
its a pretty ugly. Is there an official, or widely used, name for segwit v0?
Thanks,
Tobin.
|