From: Btc Drak <btcdrak@gmail.com>
To: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
Subject: [bitcoin-dev] Alternative name for CHECKSEQUENCEVERIFY (BIP112)
Date: Tue, 24 Nov 2015 10:30:52 +0000 [thread overview]
Message-ID: <CADJgMzs0w4L7ma42RCzT5dYDcG2aY1_04G1khcFPFPE6mmB=-A@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1342 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1714 bytes --]
next reply other threads:[~2015-11-24 10:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-24 10:30 Btc Drak [this message]
2015-11-24 12:20 ` [bitcoin-dev] Alternative name for CHECKSEQUENCEVERIFY (BIP112) Peter Todd
2015-11-24 12:35 ` Jorge Timón
2015-11-24 12:31 ` Jorge Timón
2015-11-25 1:14 ` Eric Lombrozo
2015-11-26 21:32 ` Eric Lombrozo
2015-11-26 22:25 ` Peter Todd
2015-11-25 23:05 ` Mark Friedenbach
2015-11-25 23:41 ` Eric Lombrozo
2015-11-26 22:23 ` Matt Corallo
2015-11-27 4:02 ` Rusty Russell
2015-11-27 8:10 ` Eric Lombrozo
2015-11-27 4:08 ` Dave Scotese
2015-11-27 10:14 ` Jorge Timón
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADJgMzs0w4L7ma42RCzT5dYDcG2aY1_04G1khcFPFPE6mmB=-A@mail.gmail.com' \
--to=btcdrak@gmail.com \
--cc=bitcoin-dev@lists.linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox