mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-08-01 12:31:23 +00:00
Set minimum fee to 5000 satoshis and dust limit to 2730 satoshis. This matches Bitcoin Core 0.11.1.
This commit is contained in:
@@ -88,16 +88,15 @@ public class Transaction extends ChildMessage implements Serializable {
|
||||
|
||||
/**
|
||||
* If fee is lower than this value (in satoshis), a default reference client will treat it as if there were no fee.
|
||||
* Currently this is 1000 satoshis.
|
||||
*/
|
||||
public static final Coin REFERENCE_DEFAULT_MIN_TX_FEE = Coin.valueOf(1000);
|
||||
public static final Coin REFERENCE_DEFAULT_MIN_TX_FEE = Coin.valueOf(5000); // satoshis
|
||||
|
||||
/**
|
||||
* Any standard (ie pay-to-address) output smaller than this value (in satoshis) will most likely be rejected by the network.
|
||||
* This is calculated by assuming a standard output will be 34 bytes, and then using the formula used in
|
||||
* {@link TransactionOutput#getMinNonDustValue(Coin)}. Currently it's 546 satoshis.
|
||||
* {@link TransactionOutput#getMinNonDustValue(Coin)}.
|
||||
*/
|
||||
public static final Coin MIN_NONDUST_OUTPUT = Coin.valueOf(546);
|
||||
public static final Coin MIN_NONDUST_OUTPUT = Coin.valueOf(2730); // satoshis
|
||||
|
||||
// These are serialized in both bitcoin and java serialization.
|
||||
private long version;
|
||||
|
Reference in New Issue
Block a user