#include <peermanager.h>
|
| static constexpr auto | DANGLING_TIMEOUT = 15min |
| | Consider dropping the peer if no node is attached after this timeout expired. More...
|
| |
Definition at line 86 of file peermanager.h.
◆ Peer()
| avalanche::Peer::Peer |
( |
PeerId |
peerid_, |
|
|
ProofRef |
proof_, |
|
|
std::chrono::seconds |
nextPossibleConflictTime_ |
|
) |
| |
|
inline |
◆ getProofId()
| const ProofId & avalanche::Peer::getProofId |
( |
| ) |
const |
|
inline |
◆ getScore()
| uint32_t avalanche::Peer::getScore |
( |
| ) |
const |
|
inline |
◆ DANGLING_TIMEOUT
| constexpr auto avalanche::Peer::DANGLING_TIMEOUT = 15min |
|
staticconstexpr |
Consider dropping the peer if no node is attached after this timeout expired.
Definition at line 102 of file peermanager.h.
◆ hasFinalized
| bool avalanche::Peer::hasFinalized = false |
◆ index
| uint32_t avalanche::Peer::index = -1 |
◆ nextPossibleConflictTime
| std::chrono::seconds avalanche::Peer::nextPossibleConflictTime |
◆ node_count
| uint32_t avalanche::Peer::node_count = 0 |
◆ peerid
| PeerId avalanche::Peer::peerid |
◆ proof
◆ registration_time
| std::chrono::seconds avalanche::Peer::registration_time |
The documentation for this struct was generated from the following file: