mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 19:51:47 +00:00
Improve rpc logic (#6400)
* update rpc imports to be explicit * avoid exposing HandlerEvent outside RPC it's unnecessary. * handle Pongs at RPC handler level
This commit is contained in:
@@ -81,7 +81,7 @@ pub struct StatusMessage {
|
||||
}
|
||||
|
||||
/// The PING request/response message.
|
||||
#[derive(Encode, Decode, Clone, Debug, PartialEq)]
|
||||
#[derive(Encode, Decode, Copy, Clone, Debug, PartialEq)]
|
||||
pub struct Ping {
|
||||
/// The metadata sequence number.
|
||||
pub data: u64,
|
||||
|
||||
Reference in New Issue
Block a user