aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-06-15 13:49:38 -0400
committerJohn Newbery <john@johnnewbery.com>2017-07-20 16:55:12 -0400
commit09eacee6b2844edf4f804e77180489cf31383143 (patch)
tree6075f4fa14d8e8302a913ec06fe8d093c661e78f /src/wallet/wallet.h
parent16240f43a550c9b0c34d541df5fa80c2fb43d17c (diff)
downloadbitcoin-09eacee6b2844edf4f804e77180489cf31383143.tar.xz
[wallet] fix comment for CWallet::Verify()
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index bcd7e4b4ee..7ef2e6f1d8 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -1066,7 +1066,9 @@ public:
//! Flush wallet (bitdb flush)
void Flush(bool shutdown=false);
- //! Verify the wallet database and perform salvage if required
+ //! Responsible for reading and validating the -wallet arguments and verifying the wallet database.
+ // This function will perform salvage on the wallet if requested, as long as only one wallet is
+ // being loaded (CWallet::ParameterInteraction forbids -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet).
static bool Verify();
/**