BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
BitcoinCore Class Reference

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

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

Public Slots

void initialize ()
 
void shutdown ()
 

Signals

void initializeResult (bool success)
 
void shutdownResult ()
 
void runawayException (const QString &message)
 

Public Member Functions

 BitcoinCore (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 Core startup and shutdown.

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

Definition at line 151 of file bitcoin.cpp.

Constructor & Destructor Documentation

◆ BitcoinCore()

BitcoinCore::BitcoinCore ( interfaces::Node node)
explicit

Definition at line 243 of file bitcoin.cpp.

Member Function Documentation

◆ handleRunawayException()

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

Pass fatal exception message to UI thread.

Definition at line 248 of file bitcoin.cpp.

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

◆ initialize

void BitcoinCore::initialize ( )
slot

Definition at line 254 of file bitcoin.cpp.

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

◆ initializeResult

void BitcoinCore::initializeResult ( bool  success)
signal
Here is the caller graph for this function:

◆ runawayException

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

◆ shutdown

void BitcoinCore::shutdown ( )
slot

Definition at line 268 of file bitcoin.cpp.

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

◆ shutdownResult

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

Member Data Documentation

◆ m_node

interfaces::Node& BitcoinCore::m_node
private

Definition at line 170 of file bitcoin.cpp.


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