Bitcoin ABC 0.30.7
P2P Digital Currency
Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
BitcoinABC Class Reference

Class encapsulating Bitcoin ABC startup and shutdown. More...

#include <bitcoin.h>

Inheritance diagram for BitcoinABC:
[legend]
Collaboration diagram for BitcoinABC:
[legend]

Public Slots

void initialize (Config *config, RPCServer *rpcServer, HTTPRPCRequestProcessor *httpRPCRequestProcessor)
 
void shutdown ()
 

Signals

void initializeResult (bool success, interfaces::BlockAndHeaderTipInfo tip_info)
 
void shutdownResult ()
 
void runawayException (const QString &message)
 

Public Member Functions

 BitcoinABC (interfaces::Node &node)
 

Private Member Functions

void handleRunawayException (const std::exception *e)
 Pass fatal exception message to UI thread. More...
 

Private Attributes

interfaces::Nodem_node
 

Detailed Description

Class encapsulating Bitcoin ABC startup and shutdown.

Allows running startup and shutdown in a different thread from the UI thread.

Definition at line 36 of file bitcoin.h.

Constructor & Destructor Documentation

◆ BitcoinABC()

BitcoinABC::BitcoinABC ( interfaces::Node node)
explicit

Definition at line 249 of file bitcoin.cpp.

Member Function Documentation

◆ handleRunawayException()

void BitcoinABC::handleRunawayException ( const std::exception *  e)
private

Pass fatal exception message to UI thread.

Definition at line 251 of file bitcoin.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initialize

void BitcoinABC::initialize ( Config config,
RPCServer rpcServer,
HTTPRPCRequestProcessor httpRPCRequestProcessor 
)
slot

Definition at line 257 of file bitcoin.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initializeResult

void BitcoinABC::initializeResult ( bool  success,
interfaces::BlockAndHeaderTipInfo  tip_info 
)
signal
Here is the caller graph for this function:

◆ runawayException

void BitcoinABC::runawayException ( const QString &  message)
signal
Here is the caller graph for this function:

◆ shutdown

void BitcoinABC::shutdown ( )
slot

Definition at line 273 of file bitcoin.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shutdownResult

void BitcoinABC::shutdownResult ( )
signal
Here is the caller graph for this function:

Member Data Documentation

◆ m_node

interfaces::Node& BitcoinABC::m_node
private

Definition at line 56 of file bitcoin.h.


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