Start on the new processor main loop

This commit is contained in:
Luke Parker
2024-09-11 04:54:03 -04:00
parent a8159e9070
commit 4054e44471
5 changed files with 99 additions and 268 deletions

View File

@@ -1,5 +1,13 @@
use serai_client::validator_sets::primitives::Session;
use serai_db::{Get, DbTxn, create_db};
create_db! {
Processor {
ExternalKeyForSession: (session: Session) -> Vec<u8>,
}
}
create_db! {
BitcoinProcessor {
LatestBlockToYieldAsFinalized: () -> u64,