Route from tributary scanner to message-queue

This commit is contained in:
Luke Parker
2025-01-11 01:55:36 -05:00
parent 542bf2170a
commit 1419ba570a
4 changed files with 77 additions and 10 deletions

View File

@@ -446,4 +446,11 @@ impl TributaryDb {
) {
ProcessorMessages::send(txn, set, &message.into());
}
pub(crate) fn try_recv_message(
txn: &mut impl DbTxn,
set: ValidatorSet,
) -> Option<messages::CoordinatorMessage> {
ProcessorMessages::try_recv(txn, set)
}
}