diff --git a/daemon/src/lib.rs b/daemon/src/lib.rs index 566667c..57e7e22 100644 --- a/daemon/src/lib.rs +++ b/daemon/src/lib.rs @@ -75,7 +75,7 @@ pub const N_PAYOUTS: usize = 200; /// - How the oracle event id is chosen when creating an order (maker) /// - The sliding window of cached oracle announcements (maker, taker) /// - The auto-rollover time-window (taker) -pub const SETTLEMENT_INTERVAL: time::Duration = time::Duration::hours(24); +pub const SETTLEMENT_INTERVAL: time::Duration = time::Duration::hours(2); /// Struct controlling the lifetime of the async tasks, /// such as running actors and periodic notifications. diff --git a/daemon/src/maker.rs b/daemon/src/maker.rs index 6d70f7d..98c36c6 100644 --- a/daemon/src/maker.rs +++ b/daemon/src/maker.rs @@ -139,6 +139,10 @@ async fn main() -> Result<()> { logger::init(opts.log_level, opts.json).context("initialize logger")?; tracing::info!("Running version: {}", env!("VERGEN_GIT_SEMVER_LIGHTWEIGHT")); + tracing::info!( + "CFDs created with this release will settle after {} hours", + SETTLEMENT_INTERVAL.whole_hours() + ); let data_dir = opts .data_dir diff --git a/daemon/src/taker.rs b/daemon/src/taker.rs index bf3e677..caf8572 100644 --- a/daemon/src/taker.rs +++ b/daemon/src/taker.rs @@ -148,6 +148,10 @@ async fn main() -> Result<()> { logger::init(opts.log_level, opts.json).context("initialize logger")?; tracing::info!("Running version: {}", env!("VERGEN_GIT_SEMVER_LIGHTWEIGHT")); + tracing::info!( + "CFDs created with this release will settle after {} hours", + SETTLEMENT_INTERVAL.whole_hours() + ); let data_dir = opts .data_dir