From 3c6f31a4211bccc95c7f036be33a87b5361773cd Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Wed, 19 Nov 2014 14:33:25 +0100 Subject: [PATCH] Revert fee to old 0.0001 BTC to avoid problems with not accepted tx --- src/main/java/io/bitsquare/btc/FeePolicy.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/bitsquare/btc/FeePolicy.java b/src/main/java/io/bitsquare/btc/FeePolicy.java index 0945d522c1..d33fe8b16d 100644 --- a/src/main/java/io/bitsquare/btc/FeePolicy.java +++ b/src/main/java/io/bitsquare/btc/FeePolicy.java @@ -22,13 +22,14 @@ import io.bitsquare.BitsquareException; import org.bitcoinj.core.Address; import org.bitcoinj.core.AddressFormatException; import org.bitcoinj.core.Coin; -import org.bitcoinj.core.Transaction; import javax.inject.Inject; public class FeePolicy { - public static final Coin TX_FEE = Transaction.REFERENCE_DEFAULT_MIN_TX_FEE; // dropped down to 0.00001 BTC + public static final Coin TX_FEE = Coin.valueOf(10000); // we use the old fee of 0.0001 BTC to avoid problems in + // testing if miners still does not support the new fee policy + //Transaction.REFERENCE_DEFAULT_MIN_TX_FEE; // dropped down to 0.00001 BTC // TODO: Change REGISTRATION_FEE to 0.00001 (See https://github.com/bitsquare/bitsquare/issues/228) public static final Coin REGISTRATION_FEE = TX_FEE.add(TX_FEE);