mirror of
				https://github.com/0glabs/0g-storage-node.git
				synced 2025-11-04 08:37:27 +00:00 
			
		
		
		
	Update mod.rs
This commit is contained in:
		
							parent
							
								
									1d3873f5c7
								
							
						
					
					
						commit
						ec8e7ececa
					
				@ -1,7 +1,7 @@
 | 
				
			|||||||
//! Session and packet handling for the Discv5 Discovery service.
 | 
					//! Session and packet handling for the Discv5 Discovery service.
 | 
				
			||||||
//!
 | 
					//!
 | 
				
			||||||
//! The [`Handler`] is responsible for establishing and maintaining sessions with
 | 
					//! The [`Handler`] is responsible for establishing and maintaining sessions with
 | 
				
			||||||
//! connected/discovered nodes. Each node, identified by it's [`NodeId`] is associated with a
 | 
					//! connected/discovered nodes. Each node, identified by its [`NodeId`] is associated with a
 | 
				
			||||||
//! `Session`. This service drives the handshakes for establishing the sessions and associated
 | 
					//! `Session`. This service drives the handshakes for establishing the sessions and associated
 | 
				
			||||||
//! logic for sending/requesting initial connections/ENR's to/from unknown peers.
 | 
					//! logic for sending/requesting initial connections/ENR's to/from unknown peers.
 | 
				
			||||||
//!
 | 
					//!
 | 
				
			||||||
@ -102,7 +102,7 @@ pub enum HandlerResponse {
 | 
				
			|||||||
    /// A session has been established with a node.
 | 
					    /// A session has been established with a node.
 | 
				
			||||||
    ///
 | 
					    ///
 | 
				
			||||||
    /// A session is only considered established once we have received a signed ENR from the
 | 
					    /// A session is only considered established once we have received a signed ENR from the
 | 
				
			||||||
    /// node and received messages from it's `SocketAddr` matching it's ENR fields.
 | 
					    /// node and received messages from its `SocketAddr` matching its ENR fields.
 | 
				
			||||||
    Established(Enr, ConnectionDirection),
 | 
					    Established(Enr, ConnectionDirection),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /// A Request has been received.
 | 
					    /// A Request has been received.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user