Bitcoin Core  22.99.0
P2P Digital Currency
Public Member Functions | List of all members
interfaces::Init Class Reference

Initial interface created when a process is first started, and used to give and get access to other interfaces (Node, Chain, Wallet, etc). More...

#include <init.h>

Public Member Functions

virtual ~Init ()=default
 
virtual std::unique_ptr< NodemakeNode ()
 
virtual std::unique_ptr< ChainmakeChain ()
 
virtual std::unique_ptr< WalletClientmakeWalletClient (Chain &chain)
 
virtual std::unique_ptr< EchomakeEcho ()
 
virtual Ipcipc ()
 

Detailed Description

Initial interface created when a process is first started, and used to give and get access to other interfaces (Node, Chain, Wallet, etc).

There is a different Init interface implementation for each process (bitcoin-gui, bitcoin-node, bitcoin-wallet, bitcoind, bitcoin-qt) and each implementation can implement the make methods for interfaces it supports. The default make methods all return null.

Definition at line 26 of file init.h.

Constructor & Destructor Documentation

◆ ~Init()

virtual interfaces::Init::~Init ( )
virtualdefault

Member Function Documentation

◆ ipc()

Ipc * interfaces::Init::ipc ( )
virtual

Definition at line 16 of file init.cpp.

Here is the caller graph for this function:

◆ makeChain()

std::unique_ptr< Chain > interfaces::Init::makeChain ( )
virtual

Definition at line 13 of file init.cpp.

◆ makeEcho()

std::unique_ptr< Echo > interfaces::Init::makeEcho ( )
virtual

Definition at line 15 of file init.cpp.

Here is the caller graph for this function:

◆ makeNode()

std::unique_ptr< Node > interfaces::Init::makeNode ( )
virtual

Definition at line 12 of file init.cpp.

◆ makeWalletClient()

std::unique_ptr< WalletClient > interfaces::Init::makeWalletClient ( Chain chain)
virtual

Definition at line 14 of file init.cpp.


The documentation for this class was generated from the following files: