aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2021-10-05 15:54:11 -0400
committerAndrew Chow <achow101-github@achow101.com>2022-01-24 11:23:31 -0500
commit808068e90e758b9c74878a5235b2c59731fec3e5 (patch)
treef8b619fd07422b3adb82da4421aa74067bbc778d /src/wallet/wallet.h
parent4060c50d7ee31dc8a39229e3553d3d92f8f3516d (diff)
downloadbitcoin-808068e90e758b9c74878a5235b2c59731fec3e5.tar.xz
wallet: Allow user specified input size to override
If the user specifies an input size, allow it to override any input size calculations during coin selection.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 00a1865a0e..e2c5c69c91 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -939,6 +939,8 @@ bool AddWalletSetting(interfaces::Chain& chain, const std::string& wallet_name);
bool RemoveWalletSetting(interfaces::Chain& chain, const std::string& wallet_name);
bool DummySignInput(const SigningProvider& provider, CTxIn &tx_in, const CTxOut &txout, bool use_max_sig);
+
+bool FillInputToWeight(CTxIn& txin, int64_t target_weight);
} // namespace wallet
#endif // BITCOIN_WALLET_WALLET_H