Interface BesuEvents.BlockPropagatedListener

  • Enclosing interface:
    BesuEvents

    public static interface BesuEvents.BlockPropagatedListener
    The listener interface for receiving new block propagated events.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onBlockPropagated​(BlockHeader blockHeader)
      Invoked when a new block header has been received and validated and is about to be sent out to other peers, but before the body of the block has been evaluated and validated.
    • Method Detail

      • onBlockPropagated

        void onBlockPropagated​(BlockHeader blockHeader)
        Invoked when a new block header has been received and validated and is about to be sent out to other peers, but before the body of the block has been evaluated and validated.

        The block may not have been imported to the local chain yet and may fail later validations.

        Parameters:
        blockHeader - the new block header.