mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 20:32:35 -03:00
674cb304b3
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
19 lines
518 B
C++
19 lines
518 B
C++
// Copyright (c) 2009-2010 Satoshi Nakamoto
|
|
// Copyright (c) 2009-2012 The Bitcoin developers
|
|
// Distributed under the MIT/X11 software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
#ifndef BITCOIN_INIT_H
|
|
#define BITCOIN_INIT_H
|
|
|
|
#include "wallet.h"
|
|
|
|
extern std::string strWalletFile;
|
|
extern CWallet* pwalletMain;
|
|
|
|
void StartShutdown();
|
|
bool ShutdownRequested();
|
|
void Shutdown();
|
|
bool AppInit2(boost::thread_group& threadGroup);
|
|
std::string HelpMessage();
|
|
|
|
#endif
|