aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2018-06-27 14:11:21 -0400
committerJohn Newbery <john@johnnewbery.com>2018-06-28 17:56:59 -0400
commitcf15761f6d4526d205126fbf5f088ac8edebeb57 (patch)
tree328cbd7bac30f04deea7d169b357c3b3dd953a32 /src/wallet/wallet.h
parent0f3d6e9ab75837ead3acfda342aa3ea404efb81d (diff)
downloadbitcoin-cf15761f6d4526d205126fbf5f088ac8edebeb57.tar.xz
[wallet] GetBalance can take a min_depth argument.
Diffstat (limited to 'src/wallet/wallet.h')
-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 bc70ffc595..ed766556fd 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -943,7 +943,7 @@ public:
void ResendWalletTransactions(int64_t nBestBlockTime, CConnman* connman) override;
// ResendWalletTransactionsBefore may only be called if fBroadcastTransactions!
std::vector<uint256> ResendWalletTransactionsBefore(int64_t nTime, CConnman* connman);
- CAmount GetBalance(const isminefilter& filter=ISMINE_SPENDABLE) const;
+ CAmount GetBalance(const isminefilter& filter=ISMINE_SPENDABLE, const int min_depth=0) const;
CAmount GetUnconfirmedBalance() const;
CAmount GetImmatureBalance() const;
CAmount GetUnconfirmedWatchOnlyBalance() const;