[bisq-network/bitcoinj] Basic support for version 2 transactions. (#16)

Oscar Guindzberg notifications at github.com
Sat Dec 15 20:46:41 UTC 2018


oscarguindzberg commented on this pull request.



> @@ -385,6 +385,14 @@ public boolean isOptInFullRBF() {
         return sequence < NO_SEQUENCE - 1;
     }
 
+    /**
+     * Returns whether this input, if it belongs to a version 2 (or higher) transaction, has
+     * <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;

fixed.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bitcoinj/pull/16#discussion_r241960322
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20181215/2d351cbb/attachment.html>


More information about the bisq-github mailing list