Add repair message support to dos tool (#9090)

This commit is contained in:
sakridge
2020-03-29 14:44:25 -07:00
committed by GitHub
parent c67703e7a3
commit ae66c0e497
4 changed files with 141 additions and 55 deletions

View File

@ -59,7 +59,7 @@ pub struct ServeRepairStats {
/// Window protocol messages
#[derive(Serialize, Deserialize, Debug)]
enum RepairProtocol {
pub enum RepairProtocol {
WindowIndex(ContactInfo, u64, u64),
HighestWindowIndex(ContactInfo, u64, u64),
Orphan(ContactInfo, u64),