Monero C++ Library
Loading...
Searching...
No Matches
monero::block_notifier Class Reference
Inheritance diagram for monero::block_notifier:
monero::monero_daemon_listener

Public Member Functions

 block_notifier (boost::mutex *temp, boost::condition_variable *cv, bool *ready)
 
void on_block_header (const std::shared_ptr< monero_block_header > &header) override
 

Additional Inherited Members

- Public Attributes inherited from monero::monero_daemon_listener
std::shared_ptr< monero_block_headerm_last_header
 

Detailed Description

Sends a notification on a condition variable when a block is added to blockchain.

Member Function Documentation

◆ on_block_header()

void monero::block_notifier::on_block_header ( const std::shared_ptr< monero_block_header > & header)
inlineoverridevirtual

Called when a new block is added to the chain.

Parameters
headeris the header of the block added to the chain

Reimplemented from monero::monero_daemon_listener.


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