Function serai_coordinator::substrate::handle_new_blocks
source ยท async fn handle_new_blocks<D: Db, Pro: Processors>(
db: &mut D,
key: &Zeroizing<<Ristretto as Ciphersuite>::F>,
new_tributary_spec: &UnboundedSender<TributarySpec>,
perform_slash_report: &UnboundedSender<ExternalValidatorSet>,
tributary_retired: &UnboundedSender<ExternalValidatorSet>,
processors: &Pro,
serai: &Serai,
next_block: &mut u64,
) -> Result<(), SeraiError>