Constructor
new MoneroDaemonListener()
Methods
getLastBlockHeader() → {MoneroBlockHeader}
Get the last notified block header.
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 |