add default min fee rate

This commit is contained in:
Craig Raw 2020-09-25 15:21:13 +02:00
parent 2650dafa66
commit 79eb8b002d

View file

@ -28,6 +28,9 @@ public class Transaction extends ChildMessage {
//From: https://github.com/bitcoin/bitcoin/blob/0.19/src/policy/policy.h#L50 //From: https://github.com/bitcoin/bitcoin/blob/0.19/src/policy/policy.h#L50
public static final double DUST_RELAY_TX_FEE = 3d; 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 version;
private long locktime; private long locktime;
private boolean segwit; private boolean segwit;