Bitcoin Core 28.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>

Inheritance diagram for interfaces::Init:
[legend]

Public Member Functions

virtual ~Init ()=default
 
virtual std::unique_ptr< NodemakeNode ()
 
virtual std::unique_ptr< ChainmakeChain ()
 
virtual std::unique_ptr< MiningmakeMining ()
 
virtual std::unique_ptr< WalletLoadermakeWalletLoader (Chain &chain)
 
virtual std::unique_ptr< EchomakeEcho ()
 
virtual Ipcipc ()
 
virtual bool canListenIpc ()
 

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 30 of file init.h.

Constructor & Destructor Documentation

◆ ~Init()

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

Member Function Documentation

◆ canListenIpc()

virtual bool interfaces::Init::canListenIpc ( )
inlinevirtual

Definition at line 40 of file init.h.

◆ ipc()

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

Definition at line 39 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 35 of file init.h.

◆ makeEcho()

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

Reimplemented in TestInit.

Definition at line 38 of file init.h.

Here is the caller graph for this function:

◆ makeMining()

virtual std::unique_ptr< Mining > interfaces::Init::makeMining ( )
inlinevirtual

Definition at line 36 of file init.h.

◆ makeNode()

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

Definition at line 34 of file init.h.

◆ makeWalletLoader()

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

Definition at line 37 of file init.h.


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