HomePhabricator

BIP112: Implement CHECKSEQUENCEVERIFY
53e53a33c939Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

BIP112: Implement CHECKSEQUENCEVERIFY

  • Replace NOP3 with CHECKSEQUENCEVERIFY (BIP112) <nSequence> CHECKSEQUENCEVERIFY -> <nSequence>
  • Fails if txin.nSequence < nSequence, allowing funds of a txout to be locked for a number of blocks or a duration of time after its inclusion in a block.
  • Pull most of CheckLockTime() out into VerifyLockTime(), a local function that will be reused for CheckSequence()
  • Add bitwise AND operator to CScriptNum
  • Enable CHECKSEQUENCEVERIFY as a standard script verify flag
  • Transactions that fail CSV verification will be rejected from the mempool, making it easy to test the feature. However blocks containing "invalid" CSV-using transactions will still be accepted; this is *not* the soft-fork required to actually enable CSV for production use.

Details

Provenance
Mark Friedenbach <mark@friedenbach.org>Authored on Sep 25 2015, 23:18
BtcDrak <btcdrak@gmail.com>Committed on Feb 14 2016, 11:29
deadalnixPushed on May 14 2017, 22:04
Parents
rABC80d1f2e48364: Merge #7184: Implement SequenceLocks functions for BIP 68
Branches
Unknown
Tags
Unknown

Event Timeline

BtcDrak <btcdrak@gmail.com> committed rABC53e53a33c939: BIP112: Implement CHECKSEQUENCEVERIFY (authored by Mark Friedenbach <mark@friedenbach.org>).Feb 14 2016, 11:29