diff --git a/lib/transaction/transaction.js b/lib/transaction/transaction.js index 276b7fb..6ef17c4 100644 --- a/lib/transaction/transaction.js +++ b/lib/transaction/transaction.js @@ -66,7 +66,7 @@ var MAX_BLOCK_SIZE = 1000000; Transaction.DUST_AMOUNT = 546; // Margin of error to allow fees in the vecinity of the expected value but doesn't allow a big difference -Transaction.FEE_SECURITY_MARGIN = 15; +Transaction.FEE_SECURITY_MARGIN = 150; // max amount of satoshis in circulation Transaction.MAX_MONEY = 21000000 * 1e8; @@ -78,7 +78,7 @@ Transaction.NLOCKTIME_BLOCKHEIGHT_LIMIT = 5e8; Transaction.NLOCKTIME_MAX_VALUE = 4294967295; // Value used for fee estimation (satoshis per kilobyte) -Transaction.FEE_PER_KB = 10000; +Transaction.FEE_PER_KB = 100000; // Safe upper bound for change address script size in bytes Transaction.CHANGE_OUTPUT_MAX_SIZE = 20 + 4 + 34 + 4;