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
This commit is contained in:
Nils Schneider
2012-06-03 01:19:07 +02:00
committed by Nils Schneider
parent a4f43075d6
commit 674cb304b3
3 changed files with 15 additions and 6 deletions

View File

@@ -7,6 +7,7 @@
#include "wallet.h"
extern std::string strWalletFile;
extern CWallet* pwalletMain;
void StartShutdown();