Class MoneroDaemonListener

java.lang.Object
monero.daemon.model.MoneroDaemonListener

public class MoneroDaemonListener extends Object
Receives notifications as a daemon is updated.
  • Constructor Details

    • MoneroDaemonListener

      public MoneroDaemonListener()
  • Method Details

    • onBlockHeader

      public void onBlockHeader(MoneroBlockHeader header)
      Called when a new block is added to the chain.
      Parameters:
      header - is the header of the block added to the chain
    • getLastBlockHeader

      public MoneroBlockHeader getLastBlockHeader()
      Get the last notified block header.
      Returns:
      the last notified block header