Interface BesuEvents.BlockAddedListener

Enclosing interface:
BesuEvents

public static interface BesuEvents.BlockAddedListener
The listener interface for receiving new block added events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onBlockAdded(org.hyperledger.besu.plugin.data.AddedBlockContext addedBlockContext)
    Invoked when a new block has been evaluated and validated.
  • Method Details

    • onBlockAdded

      void onBlockAdded(org.hyperledger.besu.plugin.data.AddedBlockContext addedBlockContext)
      Invoked when a new block has been evaluated and validated.
      Parameters:
      addedBlockContext - block being added.