forked from Qortal/qortal
Minimum BTC order amount set to 0.001 BTC. Anything lower than that will result in greater than 10% fees.
This commit is contained in:
parent
8d168f6ad4
commit
a0ce75a978
@ -19,6 +19,8 @@ public class Bitcoin extends Bitcoiny {
|
||||
|
||||
public static final String CURRENCY_CODE = "BTC";
|
||||
|
||||
private static final long MINIMUM_ORDER_AMOUNT = 100000; // 0.001 BTC minimum order, due to high fees
|
||||
|
||||
// Temporary values until a dynamic fee system is written.
|
||||
private static final long OLD_FEE_AMOUNT = 4_000L; // Not 5000 so that existing P2SH-B can output 1000, avoiding dust issue, leaving 4000 for fees.
|
||||
private static final long NEW_FEE_TIMESTAMP = 1598280000000L; // milliseconds since epoch
|
||||
@ -183,6 +185,11 @@ public class Bitcoin extends Bitcoiny {
|
||||
instance = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getMinimumOrderAmount() {
|
||||
return MINIMUM_ORDER_AMOUNT;
|
||||
}
|
||||
|
||||
// Actual useful methods for use by other classes
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user