pub fn gossip_beacon_block(
        message_id: MessageId,
        peer_id: PeerId,
        block: Box<SignedBeaconBlock<T::EthSpec>>,
        seen_timestamp: Duration,
    ) -> Self {
        Self {
            drop_during_sync: false,
            work: Work::GossipBlock {
                message_id,
                peer_id,
                block,
                seen_timestamp,
            },
        }
    }
/// Create a new `Work` event for some block.
Create a new `Work` event for some block.
Create a new ` Work ` event for some block .
pub fn gossip_beacon_block(
        message_id: MessageId,
        peer_id: PeerId,
        block: Box<SignedBeaconBlock<T::EthSpec>>,
        seen_timestamp: Duration,
    ) -> Self {
        Self {
            drop_during_sync: false,
            work: Work::GossipBlock {
                message_id,
                peer_id,
                block,
                seen_timestamp,
            },
        }
    }
pub fn gossip_beacon_block ( message_id : MessageId , peer_id : PeerId , block : Box < SignedBeaconBlock < T :: EthSpec > > , seen_timestamp : Duration , ) -> Self { Self { drop_during_sync : false , work : Work :: GossipBlock { message_id , peer_id , block , seen_timestamp , } , } }
Create a new `Work` event for some block.
Create a new ` Work ` event for some block .
message_id
MessageId
peer_id
PeerId
block
Box<SignedBeaconBlock<T::EthSpec>>
seen_timestamp
Duration