-
Notifications
You must be signed in to change notification settings - Fork 27
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
Basic support for version 2 transactions. #16
Basic support for version 2 transactions. #16
Conversation
ae6ad20
to
0dd10e4
Compare
* <a href="https://github.com/bitcoin/bips/blob/master/bip-0068.mediawiki">relative lock-time</a> enabled. | ||
*/ | ||
public boolean hasRelativeLockTime() { | ||
return (sequence & SEQUENCE_LOCKTIME_DISABLE_FLAG) == 0; |
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.
SEQUENCE_LOCKTIME_DISABLE_FLAG
is not defined, was included in another commit with the same desciption in bitcoinj, 9e7cb1c
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.
fixed.
0dd10e4
to
e54f3eb
Compare
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.
utACK
The changes now look fine, but since I'm no expert on bitcoinj it would be good if someone else also takes a look.
I also couldn't get it to compile, quite annoying. Perhaps due to java8, which I thought I enabled but there might be something I missed.
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.
utACK
I just noticed the same fix is already ported to bitcoinj v0.14.7 bitcoinj@9e7cb1c |
Cherry pick bitcoinj@850f219