async fn handle_unknown_proposal(
validator: &ValidatorPtr,
p2p: &P2pPtr,
proposals_sub: &JsonSubscriber,
blocks_sub: &JsonSubscriber,
channel: u32,
proposal: &Proposal,
) -> bool
Expand description
Background task to handle an unknown proposal. Returns a boolean flag indicate if we should ban the channel.