![]() |
Bitcoin ABC
0.22.13
P2P Digital Currency
|
Classes | |
class | Chain |
Interface giving clients (wallet processes, maybe other analysis tools in the future) ability to access to the chain state, receive notifications, estimate fees, and submit transactions. More... | |
class | ChainClient |
Interface to let node manage chain clients (wallets, or maybe tools for monitoring and analysis in the future). More... | |
class | FoundBlock |
Helper for findBlock to selectively return pieces of block data. More... | |
class | Handler |
Generic interface for managing an event handler or callback function registered with another interface. More... | |
class | Node |
Top-level interface for a bitcoin node (bitcoind process). More... | |
class | Wallet |
Interface for accessing a wallet. More... | |
struct | WalletAddress |
Information about one wallet address. More... | |
struct | WalletBalances |
Collection of wallet balances. More... | |
struct | WalletTx |
struct | WalletTxOut |
Wallet transaction output. More... | |
struct | WalletTxStatus |
Updated transaction status. More... | |
Typedefs | |
using | WalletOrderForm = std::vector< std::pair< std::string, std::string > > |
using | WalletValueMap = std::map< std::string, std::string > |
Functions | |
std::unique_ptr< Wallet > | MakeWallet (const std::shared_ptr< CWallet > &wallet) |
Return implementation of Wallet interface. More... | |
std::unique_ptr< Chain > | MakeChain (NodeContext &node, const CChainParams ¶ms) |
Return implementation of Chain interface. More... | |
std::unique_ptr< ChainClient > | MakeWalletClient (Chain &chain, ArgsManager &args, std::vector< std::string > wallet_filenames) |
Return implementation of ChainClient interface for a wallet client. More... | |
std::unique_ptr< Handler > | MakeHandler (boost::signals2::connection connection) |
Return handler wrapping a boost signal connection. More... | |
std::unique_ptr< Handler > | MakeHandler (std::function< void()> cleanup) |
Return handler wrapping a cleanup function. More... | |
std::unique_ptr< Node > | MakeNode (NodeContext *context=nullptr) |
Return implementation of Node interface. More... | |
using interfaces::WalletOrderForm = typedef std::vector<std::pair<std::string, std::string> > |
using interfaces::WalletValueMap = typedef std::map<std::string, std::string> |
std::unique_ptr< Chain > interfaces::MakeChain | ( | NodeContext & | node, |
const CChainParams & | params | ||
) |
std::unique_ptr< Handler > interfaces::MakeHandler | ( | boost::signals2::connection | connection | ) |
Return handler wrapping a boost signal connection.
Definition at line 48 of file handler.cpp.
std::unique_ptr< Handler > interfaces::MakeHandler | ( | std::function< void()> | cleanup | ) |
Return handler wrapping a cleanup function.
Definition at line 52 of file handler.cpp.
std::unique_ptr< Node > interfaces::MakeNode | ( | NodeContext * | context | ) |
Return implementation of Wallet interface.
This function is defined in dummywallet.cpp and throws if the wallet component is not compiled.
Definition at line 84 of file dummywallet.cpp.
std::unique_ptr< ChainClient > interfaces::MakeWalletClient | ( | Chain & | chain, |
ArgsManager & | args, | ||
std::vector< std::string > | wallet_filenames | ||
) |
Return implementation of ChainClient interface for a wallet client.
This function will be undefined in builds where ENABLE_WALLET is false.
Currently, wallets are the only chain clients. But in the future, other types of chain clients could be added, such as tools for monitoring, analysis, or fee estimation. These clients need to expose their own MakeXXXClient functions returning their implementations of the ChainClient interface.
Definition at line 532 of file wallet.cpp.