mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-13 14:25:01 +00:00
0d4c8cf032
The provided message-queue queue functions runs unti it succeeds. This means sending to the message-queue will no longer potentially block for arbitrary amount of times as sending messages is just writing them to a DB.
8 lines
182 B
Rust
8 lines
182 B
Rust
use serai_db::{Get, DbTxn, create_db};
|
|
|
|
create_db! {
|
|
BitcoinProcessor {
|
|
LatestBlockToYieldAsFinalized: () -> u64,
|
|
ScriptPubKey: (tx: [u8; 32], vout: u32) -> Vec<u8>,
|
|
}
|
|
}
|