Ethereum  PoC-8
The C++ Implementation of Ethereum
dev::eth::WarpPeerStatus Struct Reference

#include <WarpCapability.h>

Public Attributes

unsigned m_protocolVersion = 0
 Peer's protocol version. More...
 
u256 m_networkId
 Peer's network id. More...
 
Asking m_asking = Asking::Nothing
 What, if anything, we last asked the other peer for. More...
 
time_t m_lastAsk
 When we asked for it. Allows a time out. More...
 
h256 m_latestHash
 These are determined through either a Status message. More...
 
u256 m_totalDifficulty
 Peer's latest block's total difficulty. More...
 
h256 m_genesisHash
 Peer's genesis hash. More...
 
h256 m_snapshotHash
 
u256 m_snapshotNumber
 

Detailed Description

Definition at line 43 of file WarpCapability.h.

Member Data Documentation

◆ m_asking

Asking dev::eth::WarpPeerStatus::m_asking = Asking::Nothing

What, if anything, we last asked the other peer for.

Definition at line 52 of file WarpCapability.h.

◆ m_genesisHash

h256 dev::eth::WarpPeerStatus::m_genesisHash

Peer's genesis hash.

Definition at line 59 of file WarpCapability.h.

◆ m_lastAsk

time_t dev::eth::WarpPeerStatus::m_lastAsk

When we asked for it. Allows a time out.

Definition at line 54 of file WarpCapability.h.

◆ m_latestHash

h256 dev::eth::WarpPeerStatus::m_latestHash

These are determined through either a Status message.

Peer's latest block's hash.

Definition at line 57 of file WarpCapability.h.

◆ m_networkId

u256 dev::eth::WarpPeerStatus::m_networkId

Peer's network id.

Definition at line 49 of file WarpCapability.h.

◆ m_protocolVersion

unsigned dev::eth::WarpPeerStatus::m_protocolVersion = 0

Peer's protocol version.

Definition at line 46 of file WarpCapability.h.

◆ m_snapshotHash

h256 dev::eth::WarpPeerStatus::m_snapshotHash

Definition at line 60 of file WarpCapability.h.

◆ m_snapshotNumber

u256 dev::eth::WarpPeerStatus::m_snapshotNumber

Definition at line 61 of file WarpCapability.h.

◆ m_totalDifficulty

u256 dev::eth::WarpPeerStatus::m_totalDifficulty

Peer's latest block's total difficulty.

Definition at line 58 of file WarpCapability.h.


The documentation for this struct was generated from the following file: