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
|
Return-Path: <btcdrak@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id 1C4F71BB
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 24 Nov 2015 10:31:14 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 596E0CC
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 24 Nov 2015 10:31:13 +0000 (UTC)
Received: by wmww144 with SMTP id w144so19862063wmw.0
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 24 Nov 2015 02:31:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=mime-version:from:date:message-id:subject:to:content-type;
bh=KaB40eLoV7ZnXcARjuCxT0pimqw0oG6y2KQ26ivc7aU=;
b=WVg+eo1cC7Q1NxM/Ws23X36eg+p2EZNiKCVIB8LICfif34jQxklGKP7QJf4T5u3OoR
TV+A6lhCS6qH8HlvSnLDxkyHBiheg8tQwsU4t9qK6jInsKeoNGOHnGHs7A/NBpfRWxph
ARaEUbIVPrPn/yJ0B7qs+SqHmKCExblWZmQbZQHEg1nhG7DSoSMx1n2N+L5nUFKzGxf9
WamIW6uYQR3U6+r095w0jAsBHsuYgAootfxgIEI8nvooD65P8SmXYw5rUNwVAy0f534s
LfRHJCyPwxIwiTawRwi6PW6aadPaStO3AJ5mQeu76X2fLbphKRR87OszSCDIbclQRv3R
c7fQ==
X-Received: by 10.28.221.134 with SMTP id u128mr26039501wmg.94.1448361071560;
Tue, 24 Nov 2015 02:31:11 -0800 (PST)
MIME-Version: 1.0
Received: by 10.28.61.135 with HTTP; Tue, 24 Nov 2015 02:30:52 -0800 (PST)
From: Btc Drak <btcdrak@gmail.com>
Date: Tue, 24 Nov 2015 10:30:52 +0000
Message-ID: <CADJgMzs0w4L7ma42RCzT5dYDcG2aY1_04G1khcFPFPE6mmB=-A@mail.gmail.com>
To: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary=001a1148ef102d4d5c052546d7bb
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HK_RANDOM_ENVFROM,
HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
smtp1.linux-foundation.org
Subject: [bitcoin-dev] Alternative name for CHECKSEQUENCEVERIFY (BIP112)
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Development 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: Tue, 24 Nov 2015 10:31:14 -0000
--001a1148ef102d4d5c052546d7bb
Content-Type: text/plain; charset=UTF-8
BIP68 introduces relative lock-time semantics to part of the nSequence
field leaving the majority of bits undefined for other future applications.
BIP112 introduces opcode CHECKSEQUENCEVERIFY (OP_CSV) that is specifically
limited to verifying transaction inputs according to BIP68's relative
lock-time[1], yet the _name_ OP_CSV is much boarder than that. We spent
months limiting the number of bits used in BIP68 so they would be available
for future use cases, thus we have acknowledged there will be completely
different usecases that take advantage of unused nSequence bits.
For this reason I believe the BIP112 should be renamed specifically for
it's usecase, which is verifying the time/maturity of transaction inputs
relative to their inclusion in a block.
Suggestions:-
CHECKMATURITYVERIFY
RELATIVELOCKTIMEVERIFY
RCHECKLOCKTIMEVERIFY
RCLTV
We could of course softfork additional meaning into OP_CSV each time we add
new sequence number usecases, but that would become obscure and confusing.
We have already shown there is no shortage of opcodes so it makes no sense
to cram everything into one generic opcode.
TL;DR: let's give BIP112 opcode a name that reflects it's actual usecase
rather than focusing on the bitcoin internals.
[1]
https://github.com/bitcoin/bitcoin/pull/6564/files#diff-be2905e2f5218ecdbe4e55637dac75f3R1223
--001a1148ef102d4d5c052546d7bb
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">BIP68 introduces relative lock-time semantics to part of t=
he nSequence field leaving the majority of bits undefined for other future =
applications.<div><br></div><div>BIP112 introduces opcode CHECKSEQUENCEVERI=
FY (OP_CSV) that is specifically limited to verifying transaction inputs ac=
cording to BIP68's relative lock-time[1], yet the _name_ OP_CSV is much=
boarder than that. We spent months limiting the number of bits used in BIP=
68 so they would be available for future use cases, thus we have acknowledg=
ed there will be completely different usecases that take advantage of unuse=
d nSequence bits.</div><div><br></div><div>For this reason I believe the BI=
P112 should be renamed specifically for it's usecase, which is verifyin=
g the time/maturity of transaction inputs relative to their inclusion in a =
block.</div><div><br></div><div><div>Suggestions:-</div><div><br></div><div=
>CHECKMATURITYVERIFY<br></div><div>RELATIVELOCKTIMEVERIFY<br></div><div>RCH=
ECKLOCKTIMEVERIFY<br></div><div>RCLTV</div></div><div><br></div><div>We cou=
ld of course softfork additional meaning into OP_CSV each time we add new s=
equence number usecases, but that would become obscure and confusing. We ha=
ve already shown there is no shortage of opcodes so it makes no sense to cr=
am everything into one generic opcode.</div><div><br></div><div>TL;DR: let&=
#39;s give BIP112 opcode a name that reflects it's actual usecase rathe=
r than focusing on the bitcoin internals.</div><div><br></div><div>[1]=C2=
=A0<a href=3D"https://github.com/bitcoin/bitcoin/pull/6564/files#diff-be290=
5e2f5218ecdbe4e55637dac75f3R1223">https://github.com/bitcoin/bitcoin/pull/6=
564/files#diff-be2905e2f5218ecdbe4e55637dac75f3R1223</a><br></div></div>
--001a1148ef102d4d5c052546d7bb--
|