Skip to content
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

Conversation

oscarguindzberg
Copy link

Cherry pick bitcoinj@850f219

* <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;
Copy link
Member

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

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed.

@oscarguindzberg oscarguindzberg force-pushed the bisq-version2-tx-support branch from 0dd10e4 to e54f3eb Compare December 14, 2018 19:49
Copy link
Member

@sqrrm sqrrm left a 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.

Copy link

@ManfredKarrer ManfredKarrer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@oscarguindzberg
Copy link
Author

@sqrrm See #17 regarding the jdk8/jdk10 issue when compiling bitcoinj.

@oscarguindzberg
Copy link
Author

I just noticed the same fix is already ported to bitcoinj v0.14.7 bitcoinj@9e7cb1c
I am working on a bisq's bitcoinj rebase from v0.14.7 so the fix would eventually get in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants