diff options
| author | John Newbery <[email protected]> | 2017-06-15 13:49:38 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2017-07-20 16:55:12 -0400 |
| commit | 09eacee6b2844edf4f804e77180489cf31383143 (patch) | |
| tree | 6075f4fa14d8e8302a913ec06fe8d093c661e78f /src | |
| parent | Merge #10821: Add SSE4 optimized SHA256 (diff) | |
| download | discoin-09eacee6b2844edf4f804e77180489cf31383143.tar.xz discoin-09eacee6b2844edf4f804e77180489cf31383143.zip | |
[wallet] fix comment for CWallet::Verify()
Diffstat (limited to 'src')
| -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 bcd7e4b4e..7ef2e6f1d 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(); /** |