diff options
author | John Newbery <john@johnnewbery.com> | 2017-06-15 13:49:38 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2017-07-20 16:55:12 -0400 |
commit | 09eacee6b2844edf4f804e77180489cf31383143 (patch) | |
tree | 6075f4fa14d8e8302a913ec06fe8d093c661e78f /src/wallet | |
parent | 16240f43a550c9b0c34d541df5fa80c2fb43d17c (diff) | |
download | bitcoin-09eacee6b2844edf4f804e77180489cf31383143.tar.xz |
[wallet] fix comment for CWallet::Verify()
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet.h | 4 |
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(); /** |