Bitcoin Core  24.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< WalletLoadermakeWalletLoader (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 29 of file init.h.

Constructor & Destructor Documentation

◆ ~Init()

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

Member Function Documentation

◆ ipc()

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

Definition at line 37 of file init.h.

Here is the caller graph for this function:

◆ makeChain()

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

Definition at line 34 of file init.h.

◆ makeEcho()

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

Definition at line 36 of file init.h.

Here is the caller graph for this function:

◆ makeNode()

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

Definition at line 33 of file init.h.

◆ makeWalletLoader()

virtual std::unique_ptr<WalletLoader> interfaces::Init::makeWalletLoader ( Chain chain)
inlinevirtual

Definition at line 35 of file init.h.


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