pub trait MaybePunishNodeForBlock {
    // Required method
    fn maybe_punish_node_for_block(
        &self,
        nodeid: NodeId,
        state: &BlockValidationState,
        via_compact_block: bool,
        message: Option<&str>
    ) -> bool;
}

Required Methods§

source

fn maybe_punish_node_for_block( &self, nodeid: NodeId, state: &BlockValidationState, via_compact_block: bool, message: Option<&str> ) -> bool

Implementors§