mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
17 lines
330 B
Rust
17 lines
330 B
Rust
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,
|
|
ScriptPubKey: (tx: [u8; 32], vout: u32) -> Vec<u8>,
|
|
}
|
|
}
|