Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 1C4F71BB for ; 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 ; Tue, 24 Nov 2015 10:31:13 +0000 (UTC) Received: by wmww144 with SMTP id w144so19862063wmw.0 for ; 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 Date: Tue, 24 Nov 2015 10:30:52 +0000 Message-ID: To: Bitcoin Dev 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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
BIP68 introduces relative lock-time semantics to part of t= he nSequence field leaving the majority of bits undefined for other future = applications.

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.

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.

Suggestions:-

CHECKMATURITYVERIFY
RELATIVELOCKTIMEVERIFY
RCH= ECKLOCKTIMEVERIFY
RCLTV

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.

TL;DR: let&= #39;s give BIP112 opcode a name that reflects it's actual usecase rathe= r than focusing on the bitcoin internals.

--001a1148ef102d4d5c052546d7bb--