pub fn unaggregated_attestation(
        message_id: MessageId,
        peer_id: PeerId,
        attestation: Attestation<T::EthSpec>,
        subnet_id: SubnetId,
        should_import: bool,
        seen_timestamp: Duration,
    ) -> Self {
        Self {
            drop_during_sync: true,
            work: Work::GossipAttestation {
                message_id,
                peer_id,
                attestation: Box::new(attestation),
                subnet_id,
                should_import,
                seen_timestamp,
            },
        }
    }
/// Create a new `Work` event for some unaggregated attestation.
Create a new `Work` event for some unaggregated attestation.
Create a new ` Work ` event for some unaggregated attestation .
pub fn unaggregated_attestation(
        message_id: MessageId,
        peer_id: PeerId,
        attestation: Attestation<T::EthSpec>,
        subnet_id: SubnetId,
        should_import: bool,
        seen_timestamp: Duration,
    ) -> Self {
        Self {
            drop_during_sync: true,
            work: Work::GossipAttestation {
                message_id,
                peer_id,
                attestation: Box::new(attestation),
                subnet_id,
                should_import,
                seen_timestamp,
            },
        }
    }
pub fn unaggregated_attestation ( message_id : MessageId , peer_id : PeerId , attestation : Attestation < T :: EthSpec > , subnet_id : SubnetId , should_import : bool , seen_timestamp : Duration , ) -> Self { Self { drop_during_sync : true , work : Work :: GossipAttestation { message_id , peer_id , attestation : Box :: new ( attestation ) , subnet_id , should_import , seen_timestamp , } , } }
Create a new `Work` event for some unaggregated attestation.
Create a new ` Work ` event for some unaggregated attestation .
message_id
MessageId
peer_id
PeerId
attestation
Attestation<T::EthSpec>
subnet_id
SubnetId
should_import
bool
seen_timestamp
Duration