Skip to content

Commit 4b89f01

Browse files
Ryan HavarMarcoFalke
authored andcommitted
Default fPayAtLeastCustomFee to false
This allows for much finer control of the transaction fees per kilobyte as it prevent small transactions using a fee that is more appropriate for one that is of a kilobyte. This also allows controlling the fee per kilobyte over rpc such that: bitcoin-cli settxfee `bitcoin-cli estimatefee 2` would make sense, while currently it grossly fails often by a factor of x3
1 parent 8d26289 commit 4b89f01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ CAmount maxTxFee = DEFAULT_TRANSACTION_MAXFEE;
4141
unsigned int nTxConfirmTarget = DEFAULT_TX_CONFIRM_TARGET;
4242
bool bSpendZeroConfChange = DEFAULT_SPEND_ZEROCONF_CHANGE;
4343
bool fSendFreeTransactions = DEFAULT_SEND_FREE_TRANSACTIONS;
44-
bool fPayAtLeastCustomFee = true;
44+
bool fPayAtLeastCustomFee = false;
4545

4646
/**
4747
* Fees smaller than this (in satoshi) are considered zero fee (for transaction creation)

0 commit comments

Comments
 (0)