13 const std::string &chainName)
14 : BasicTestingSetup(chainName) {
19 sep += fs::path::preferred_separator;
22 m_cwd = fs::current_path();
42 fs::current_path(
m_cwd);
std::unique_ptr< interfaces::ChainClient > m_chain_client
InitWalletDirTestingSetup(const std::string &chainName=CBaseChainParams::MAIN)
std::unique_ptr< interfaces::Chain > m_chain
void ForceSetArg(const std::string &strArg, const std::string &strValue)
void SetWalletDir(const fs::path &walletdir_path)
const fs::path & GetDataDir(bool fNetSpecific)
std::map< std::string, fs::path > m_walletdir_path_cases
~InitWalletDirTestingSetup()
const CChainParams & Params()
Return the currently selected parameters.
std::unique_ptr< ChainClient > MakeWalletClient(Chain &chain, ArgsManager &args, std::vector< std::string > wallet_filenames)
Return implementation of ChainClient interface for a wallet client.
#define Assert(val)
Identity function.
std::unique_ptr< Chain > MakeChain(NodeContext &node, const CChainParams ¶ms)
Return implementation of Chain interface.