Bitcoin
Classes | Namespaces | Functions | Variables
dummywallet.cpp File Reference
#include <stdio.h>
#include <util/system.h>
#include <walletinitinterface.h>

Classes

class  DummyWalletInit
 

Namespaces

 interfaces
 

Functions

fs::path GetWalletDir ()
 Get the path of the wallet directory. More...
 
std::vector< fs::path > ListWalletDir ()
 Get wallets in wallet directory. More...
 
std::vector< std::shared_ptr< CWallet > > GetWallets ()
 
std::shared_ptr< CWalletLoadWallet (interfaces::Chain &chain, const std::string &name, std::string &error, std::string &warning)
 
std::unique_ptr< Wallet > interfaces::MakeWallet (const std::shared_ptr< CWallet > &wallet)
 

Variables

const WalletInitInterfaceg_wallet_init_interface = DummyWalletInit()
 

Function Documentation

◆ GetWalletDir()

fs::path GetWalletDir ( )

Get the path of the wallet directory.

◆ GetWallets()

std::vector<std::shared_ptr<CWallet> > GetWallets ( )

◆ ListWalletDir()

std::vector<fs::path> ListWalletDir ( )

Get wallets in wallet directory.

◆ LoadWallet()

std::shared_ptr<CWallet> LoadWallet ( interfaces::Chain chain,
const std::string &  name,
std::string &  error,
std::string &  warning 
)

Variable Documentation

◆ g_wallet_init_interface

const WalletInitInterface& g_wallet_init_interface = DummyWalletInit()