aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/crypter.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-09-16 16:45:36 +0200
committerJohn Newbery <john@johnnewbery.com>2019-01-30 16:26:52 -0500
commit49d2374acf5845c5f760b5fd241482f292164147 (patch)
treee063f45b28b8dfef299d92b11ed25fdc3ff43b73 /src/wallet/crypter.h
parenta5daf70ffb80c14ddf9f35c638d9e8087d8732e9 (diff)
downloadbitcoin-49d2374acf5845c5f760b5fd241482f292164147.tar.xz
[tools] Add wallet inspection and modification tool
This commit adds wallet-tool, a tool for creating and interacting with wallet files. Original implementation was by Jonas Schnelli <dev@jonasschnelli.ch> with modifications by John Newbery <john@johnnewbery.com> MSVC files were provided by Chun Kuan Lee <ken2812221@gmail.com>: build: Add MSVC project files for bitcoin-wallet-tool
Diffstat (limited to 'src/wallet/crypter.h')
-rw-r--r--src/wallet/crypter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/crypter.h b/src/wallet/crypter.h
index 418316c398..8e195ca8fa 100644
--- a/src/wallet/crypter.h
+++ b/src/wallet/crypter.h
@@ -133,7 +133,7 @@ protected:
//! will encrypt previously unencrypted keys
bool EncryptKeys(CKeyingMaterial& vMasterKeyIn);
- bool Unlock(const CKeyingMaterial& vMasterKeyIn);
+ bool Unlock(const CKeyingMaterial& vMasterKeyIn, bool accept_no_keys = false);
CryptedKeyMap mapCryptedKeys GUARDED_BY(cs_KeyStore);
public: