Enum fuel_core_interfaces::p2p::P2pRequestEvent
source · pub enum P2pRequestEvent {
RequestBlock {
height: BlockHeight,
response: Sender<SealedFuelBlock>,
},
BroadcastNewTransaction {
transaction: Arc<Transaction>,
},
BroadcastNewBlock {
block: Arc<FuelBlock>,
},
BroadcastConsensusVote {
vote: Arc<ConsensusVote>,
},
GossipsubMessageReport {
message: GossipsubMessageInfo,
acceptance: GossipsubMessageAcceptance,
},
Stop,
}
Variants§
RequestBlock
BroadcastNewTransaction
BroadcastNewBlock
BroadcastConsensusVote
Fields
§
vote: Arc<ConsensusVote>