Class: MoneroDaemonListener

MoneroDaemonListener()

Receives notifications as a daemon is updated.

Constructor

new MoneroDaemonListener()

Source:

Methods

getLastBlockHeader() → {MoneroBlockHeader}

Get the last notified block header.
Source:
Returns:
the last notified block header
Type
MoneroBlockHeader

(async) onBlockHeader(header)

Called when a new block is added to the chain.
Parameters:
Name Type Description
header MoneroBlockHeader the header of the block added to the chain
Source: