Initial code to handle messages from processors

This commit is contained in:
Luke Parker
2023-04-25 03:14:42 -04:00
parent cc531d630e
commit 78d5372fb7
6 changed files with 137 additions and 35 deletions

View File

@@ -25,7 +25,7 @@ use crate::{
async fn handle_block<D: Db, Pro: Processor>(
db: &mut TributaryDb<D>,
key: &Zeroizing<<Ristretto as Ciphersuite>::F>,
processor: &mut Pro,
processor: &Pro,
spec: &TributarySpec,
block: Block<Transaction>,
) {
@@ -285,7 +285,7 @@ async fn handle_block<D: Db, Pro: Processor>(
pub async fn handle_new_blocks<D: Db, Pro: Processor>(
db: &mut TributaryDb<D>,
key: &Zeroizing<<Ristretto as Ciphersuite>::F>,
processor: &mut Pro,
processor: &Pro,
spec: &TributarySpec,
tributary: &TributaryReader<D, Transaction>,
) {