Misc continuances on the Monero processor

This commit is contained in:
Luke Parker
2024-09-13 00:48:57 -04:00
parent 02409c5735
commit 2c4c33e632
9 changed files with 46 additions and 126 deletions

View File

@@ -21,7 +21,9 @@ pub(crate) struct Rpc<D: Db> {
#[async_trait::async_trait]
impl<D: Db> ScannerFeed for Rpc<D> {
const NETWORK: NetworkId = NetworkId::Bitcoin;
// 6 confirmations is widely accepted as secure and shouldn't occur
const CONFIRMATIONS: u64 = 6;
// The window length should be roughly an hour
const WINDOW_LENGTH: u64 = 6;
const TEN_MINUTES: u64 = 1;