Snapshot of one inbound peer's attributes used by the eviction selection logic.
Declared in <node/eviction.h>
struct NodeEvictionCandidate;
| Name | Description |
|---|---|
fBloomFilter | Whether the peer has set a BIP37 bloom filter. |
fRelevantServices | Whether the peer advertises desirable network services. |
id | Identifier of the candidate peer. |
m_conn_type | The connection type of the peer. |
m_connected | Time the connection was established. |
m_is_local | Whether the peer is on the local network. |
m_last_block_time | Time the peer last provided a valid block. |
m_last_tx_time | Time the peer last provided a valid transaction. |
m_min_ping_time | Best (minimum) observed ping time to the peer. |
m_network | The network the peer is connected over. |
m_noban | Whether the peer holds the noban permission and is protected from eviction. |
m_relay_txs | Whether transaction relay is enabled with this peer. |
nKeyedNetGroup | Keyed hash of the peer's network group, used for bucketing. |
prefer_evict | Whether this peer is preferred for eviction. |