1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//! Copyright (c) 2022 MASSA LABS <info@massa.net>

#[derive(Debug, Clone)]
pub struct ExecutedOpsConfig {
    /// Number of threads
    pub thread_count: u8,
    /// Number of extra periods to keep executed denunciations
    pub keep_executed_history_extra_periods: u64,
}

#[derive(Debug, Clone)]
pub struct ExecutedDenunciationsConfig {
    /// Period delta for denunciation to expire
    pub denunciation_expire_periods: u64,
    /// Number of threads
    pub thread_count: u8,
    /// Number of endorsements
    pub endorsement_count: u32,
    /// Number of extra periods to keep executed denunciations
    pub keep_executed_history_extra_periods: u64,
}