-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BIP 68,112,113 (OP_CHECKSEQUENCEVERIFY) #155
base: master
Are you sure you want to change the base?
Conversation
46a95ca
to
a804c31
Compare
// tx.nVersion is signed integer so requires cast to unsigned otherwise | ||
// we would be doing a signed comparison and half the range of nVersion | ||
// wouldn't support BIP 68. | ||
bool fEnforceBIP68 = static_cast<uint32_t>(tx.nVersion) >= 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For joinsplits, tx nVersion is >=2; perhaps we should use >=3 for BIP68?
https://github.com/BTCPrivate/BitcoinPrivate/blob/db43f3841525bc8c1b82934a70f5cae637f6caab/src/test/sighash_tests.cpp#L117
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't BIP68 call for >= 2?
https://github.com/bitcoin/bips/blob/master/bip-0068.mediawiki
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. But so does Zcash JoinSplits: https://github.com/BTCPrivate/bitcore-lib-btcp/commit/80f5b45034e5174afedd722c6f730850d407f03b
Any updates on this? |
So actually, rather than pulling features here, we've shifted most new development efforts to the rebase, which will have CSV and lots of other nice stuff https://github.com/BTCPrivate/BTCP-Rebase |
No description provided.