Struct ethcore_rpc::v1::types::LesProtocolInfo
[−]
[src]
pub struct LesProtocolInfo { pub version: u32, pub difficulty: U256, pub head: String, }
Peer LES protocol information
Fields
version: u32
Negotiated LES protocol version
difficulty: U256
Peer total difficulty
head: String
SHA3 of peer best block hash
Trait Implementations
impl Debug for LesProtocolInfo
[src]
impl Default for LesProtocolInfo
[src]
fn default() -> LesProtocolInfo
Returns the "default value" for a type. Read more
impl From<LesProtocolInfo> for LesProtocolInfo
[src]
fn from(info: LesProtocolInfo) -> Self
Performs the conversion.