aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-10-28 14:15:46 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-10-28 14:15:46 +0200
commit0fdf810d267928b4c26a2e2cbb8c02b79e7b0ccb (patch)
treed1c3a826843381f1eddf3486fd541e05c26d0ae3 /src/wallet
parentd2143dc937e3fc93fd35def25a9c0461f26ccd4f (diff)
wallet: Change default confirm target from 2 to 6
Recent discussion (in IRC meetings, and e.g. #8989) has shown a preference for the default confirm target for smartfees to be 6 instead of 2, to avoid overpaying fees for questionable gain. 6 is also a compromise between the GUI's pre-#8989 value of 25 and the bitcoind `-txconfirmtarget` default of 2. These were unified in #8989, but this has made the (overly expensive) default of 2 as GUI default.
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index c33a6ca91f..9de996224d 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -53,7 +53,7 @@ static const bool DEFAULT_SPEND_ZEROCONF_CHANGE = true;
//! Default for -sendfreetransactions
static const bool DEFAULT_SEND_FREE_TRANSACTIONS = false;
//! -txconfirmtarget default
-static const unsigned int DEFAULT_TX_CONFIRM_TARGET = 2;
+static const unsigned int DEFAULT_TX_CONFIRM_TARGET = 6;
//! -walletrbf default
static const bool DEFAULT_WALLET_RBF = false;
//! Largest (in bytes) free transaction we're willing to create