diff options
author | Gregory Sanders <gsanders87@gmail.com> | 2018-10-03 14:41:03 +0900 |
---|---|---|
committer | Gregory Sanders <gsanders87@gmail.com> | 2018-11-30 11:08:41 -0500 |
commit | 2a5cc40dc428e9024142ebebeaa97a3a3a4a1fa6 (patch) | |
tree | 1cfbfb58fae07c7e98770e426da469873bd79906 /src/wallet/wallet.h | |
parent | 53dcf2b407f8a2b4ebe372a8f28b7ba073b9eda7 (diff) | |
download | bitcoin-2a5cc40dc428e9024142ebebeaa97a3a3a4a1fa6.tar.xz |
CreateTransaction: Assume minimum p2sh-p2wpkh spend size for unknown change
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 57b22c0e49..7b791ae416 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -64,6 +64,9 @@ static const bool DEFAULT_WALLET_RBF = false; static const bool DEFAULT_WALLETBROADCAST = true; static const bool DEFAULT_DISABLE_WALLET = false; +//! Pre-calculated constants for input size estimation in *virtual size* +static constexpr size_t DUMMY_NESTED_P2WPKH_INPUT_SIZE = 91; + class CBlockIndex; class CCoinControl; class COutput; |