File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
use thiserror:: Error ;
2
2
3
- /// [EraMarkersPayload ] related errors.
3
+ /// [Peer ] related errors.
4
4
#[ derive( Debug , Error ) ]
5
5
pub enum PeerError {
6
6
/// Topic does not exist
Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ use std::{collections::HashMap, time::Duration};
14
14
15
15
use crate :: { p2p:: PeerError , MITHRIL_SIGNATURES_TOPIC_NAME } ;
16
16
17
- /// Custom network behaviour
17
+ /// [Peer] custom network behaviour
18
18
#[ derive( NetworkBehaviour ) ]
19
19
pub struct PeerBehaviour {
20
20
gossipsub : gossipsub:: Behaviour ,
21
21
ping : ping:: Behaviour ,
22
22
}
23
23
24
- /// Peer event that is polled from the swarm
24
+ /// [ Peer] event that is polled from the swarm
25
25
#[ derive( Debug ) ]
26
26
pub enum PeerEvent {
27
27
/// The peer is listening on an address
You can’t perform that action at this time.
0 commit comments