18const char* EXE_NAME =
"bitcoin-gui";
30 std::unique_ptr<interfaces::WalletClient> makeWalletClient(
interfaces::Chain& chain)
override
37 std::unique_ptr<interfaces::Ipc>
m_ipc;
45 return std::make_unique<init::BitcoinGuiInit>(argc > 0 ? argv[0] :
"");
std::unique_ptr< interfaces::Ipc > m_ipc
#define Assert(val)
Identity function.
Interface giving clients (wallet processes, maybe other analysis tools in the future) ability to acce...
Initial interface created when a process is first started, and used to give and get access to other i...
Interface providing access to interprocess-communication (IPC) functionality.
std::unique_ptr< Chain > MakeChain(NodeContext &node)
Return implementation of Chain interface.
std::unique_ptr< Echo > MakeEcho()
Return implementation of Echo interface.
std::unique_ptr< Init > MakeGuiInit(int argc, char *argv[])
Return implementation of Init interface for the gui process.
std::unique_ptr< Ipc > MakeIpc(const char *exe_name, const char *process_argv0, Init &init)
Return implementation of Ipc interface.
std::unique_ptr< WalletClient > MakeWalletClient(Chain &chain, ArgsManager &args)
Return implementation of ChainClient interface for a wallet client.
std::unique_ptr< Node > MakeNode(NodeContext &context)
Return implementation of Node interface.
NodeContext struct containing references to chain state and connection state.
interfaces::Init * init
Init interface for initializing current process and connecting to other processes.