diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2022-10-13 16:26:53 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2022-10-29 08:51:34 -0300 |
commit | fa84df1f033a5d1a8342ea941eca0b5ef73d78e7 (patch) | |
tree | 4e380b9589321b6ca032713b8757cee3f09e5c25 /src/wallet/spend.h | |
parent | 61c2265629fdf11a2cc266fad54ceb0a1247bb5e (diff) | |
download | bitcoin-fa84df1f033a5d1a8342ea941eca0b5ef73d78e7.tar.xz |
scripted-diff: wallet: rename AvailableCoinsParams members to snake_case
-BEGIN VERIFY SCRIPT-
sed -i 's/nMinimumAmount/min_amount/g' $(git grep -l nMinimumAmount)
sed -i 's/nMaximumAmount/max_amount/g' $(git grep -l nMaximumAmount)
sed -i 's/nMinimumSumAmount/min_sum_amount/g' $(git grep -l nMinimumSumAmount)
sed -i 's/nMaximumCount/max_count/g' $(git grep -l nMaximumCount)
-END VERIFY SCRIPT-
Diffstat (limited to 'src/wallet/spend.h')
-rw-r--r-- | src/wallet/spend.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wallet/spend.h b/src/wallet/spend.h index fc7f7bc535..ba2c6638c8 100644 --- a/src/wallet/spend.h +++ b/src/wallet/spend.h @@ -57,13 +57,13 @@ struct CoinsResult { struct CoinFilterParams { // Outputs below the minimum amount will not get selected - CAmount nMinimumAmount{1}; + CAmount min_amount{1}; // Outputs above the maximum amount will not get selected - CAmount nMaximumAmount{MAX_MONEY}; + CAmount max_amount{MAX_MONEY}; // Return outputs until the minimum sum amount is covered - CAmount nMinimumSumAmount{MAX_MONEY}; + CAmount min_sum_amount{MAX_MONEY}; // Maximum number of outputs that can be returned - uint64_t nMaximumCount{0}; + uint64_t max_count{0}; // By default, return only spendable outputs bool only_spendable{true}; // By default, do not include immature coinbase outputs |