From 79eb8b002d01be5195bb7fc7eba6bb34bf3366e3 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Fri, 25 Sep 2020 15:21:13 +0200 Subject: [PATCH] add default min fee rate --- .../java/com/sparrowwallet/drongo/protocol/Transaction.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/sparrowwallet/drongo/protocol/Transaction.java b/src/main/java/com/sparrowwallet/drongo/protocol/Transaction.java index 4d8ce5e..2dc71e9 100644 --- a/src/main/java/com/sparrowwallet/drongo/protocol/Transaction.java +++ b/src/main/java/com/sparrowwallet/drongo/protocol/Transaction.java @@ -28,6 +28,9 @@ public class Transaction extends ChildMessage { //From: https://github.com/bitcoin/bitcoin/blob/0.19/src/policy/policy.h#L50 public static final double DUST_RELAY_TX_FEE = 3d; + //Default min feerate, defined in sats/vByte + public static final double DEFAULT_MIN_RELAY_FEE = 1d; + private long version; private long locktime; private boolean segwit;