Skip to content

Commit

Permalink
approval-voting: lower the frequency of misbehavior
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Oct 1, 2021
1 parent 3a08e2b commit 06dd295
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions node/core/approval-voting/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ const APPROVAL_CACHE_SIZE: usize = 1024;
const TICK_TOO_FAR_IN_FUTURE: Tick = 20; // 10 seconds.
const LOG_TARGET: &str = "parachain::approval-voting";
const DEBUG_LOG_TARGET: &str = "parachain::ladi-debug-approval-voting";
const MALICIOUS_BASE_MIN: u64 = 1_000u64;
const MALICIOUS_BASE_MAX: u64 = 2_000u64;
const MALICIOUS_MEAN: f64 = 1_000f64;
const MALICIOUS_SDEV: f64 = 70f64;
const MALICIOUS_BASE_MIN: u64 = 10_000u64;
const MALICIOUS_BASE_MAX: u64 = 20_000u64;
const MALICIOUS_MEAN: f64 = 10_000f64;
const MALICIOUS_SDEV: f64 = 700f64;

/// Configuration for the approval voting subsystem
#[derive(Debug, Clone)]
Expand Down

0 comments on commit 06dd295

Please sign in to comment.