1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
use bee_message::milestone::{Milestone, MilestoneIndex};
#[derive(Clone)]
pub struct LatestMilestoneChanged {
pub index: MilestoneIndex,
pub milestone: Milestone,
}
#[derive(Clone)]
pub struct SolidMilestoneChanged {
pub index: MilestoneIndex,
pub milestone: Milestone,
}
#[derive(Clone)]
pub struct ConfirmedMilestoneChanged {
pub index: MilestoneIndex,
pub milestone: Milestone,
}
#[derive(Clone)]
pub struct SnapshotMilestoneIndexChanged {
pub index: MilestoneIndex,
}
#[derive(Clone)]
pub struct PruningMilestoneIndexChanged {
pub index: MilestoneIndex,
}