massa_executed_ops/
config.rs

1//! Copyright (c) 2022 MASSA LABS <info@massa.net>
2
3#[derive(Debug, Clone)]
4pub struct ExecutedOpsConfig {
5    /// Number of threads
6    pub thread_count: u8,
7    /// Number of extra periods to keep executed denunciations
8    pub keep_executed_history_extra_periods: u64,
9}
10
11#[derive(Debug, Clone)]
12pub struct ExecutedDenunciationsConfig {
13    /// Period delta for denunciation to expire
14    pub denunciation_expire_periods: u64,
15    /// Number of threads
16    pub thread_count: u8,
17    /// Number of endorsements
18    pub endorsement_count: u32,
19    /// Number of extra periods to keep executed denunciations
20    pub keep_executed_history_extra_periods: u64,
21}