Interface BesuEvents.BlockPropagatedListener

  • Enclosing interface:
    BesuEvents

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

      • onBlockPropagated

        void onBlockPropagated​(PropagatedBlockContext propagatedBlockContext)
        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:
        propagatedBlockContext - block being propagated.