diff options
author | Nils Schneider <nils.schneider@gmail.com> | 2012-06-03 01:19:07 +0200 |
---|---|---|
committer | Nils Schneider <nils@nilsschneider.net> | 2013-07-04 17:19:36 +0200 |
commit | 674cb304b376358fdcb17b4a0b16ae7b00cdbedc (patch) | |
tree | 19b8d2f5da361b38fc0eedc59d32d1090071d4da /src/init.h | |
parent | a4f43075d633cfd60cb1f99fc44d7599109eafef (diff) |
let user select wallet file with -wallet=foo.dat
use std::string instead of psz for WalletFile
only allow wallets within $DATADIR
Use strWalletFile in salvage/recover
fix: remove unused variable pszWalletFile
move strWalletFile to init.h/init.cpp
avoid conversion of strWalletfile to c-string
Diffstat (limited to 'src/init.h')
-rw-r--r-- | src/init.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.h b/src/init.h index 5927670c83..a4d5a67252 100644 --- a/src/init.h +++ b/src/init.h @@ -7,6 +7,7 @@ #include "wallet.h" +extern std::string strWalletFile; extern CWallet* pwalletMain; void StartShutdown(); |