Package monero.daemon.model
Class MoneroDaemonListener
java.lang.Object
monero.daemon.model.MoneroDaemonListener
Receives notifications as a daemon is updated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the last notified block header.void
onBlockHeader
(MoneroBlockHeader header) Called when a new block is added to the chain.
-
Constructor Details
-
MoneroDaemonListener
public MoneroDaemonListener()
-
-
Method Details
-
onBlockHeader
Called when a new block is added to the chain.- Parameters:
header
- is the header of the block added to the chain
-
getLastBlockHeader
Get the last notified block header.- Returns:
- the last notified block header
-