[#NodeEvictionCandidate]
= NodeEvictionCandidate
:mrdocs:

Snapshot of one inbound peer&apos;s attributes used by the eviction selection logic&period;

== Synopsis

Declared in `&lt;node&sol;eviction&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct NodeEvictionCandidate;
----

== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:NodeEvictionCandidate/fBloomFilter.adoc[`fBloomFilter`] 
| Whether the peer has set a BIP37 bloom filter&period;
| xref:NodeEvictionCandidate/fRelevantServices.adoc[`fRelevantServices`] 
| Whether the peer advertises desirable network services&period;
| xref:NodeEvictionCandidate/id.adoc[`id`] 
| Identifier of the candidate peer&period;
| xref:NodeEvictionCandidate/m_conn_type.adoc[`m&lowbar;conn&lowbar;type`] 
| The connection type of the peer&period;
| xref:NodeEvictionCandidate/m_connected.adoc[`m&lowbar;connected`] 
| Time the connection was established&period;
| xref:NodeEvictionCandidate/m_is_local.adoc[`m&lowbar;is&lowbar;local`] 
| Whether the peer is on the local network&period;
| xref:NodeEvictionCandidate/m_last_block_time.adoc[`m&lowbar;last&lowbar;block&lowbar;time`] 
| Time the peer last provided a valid block&period;
| xref:NodeEvictionCandidate/m_last_tx_time.adoc[`m&lowbar;last&lowbar;tx&lowbar;time`] 
| Time the peer last provided a valid transaction&period;
| xref:NodeEvictionCandidate/m_min_ping_time.adoc[`m&lowbar;min&lowbar;ping&lowbar;time`] 
| Best (minimum) observed ping time to the peer&period;
| xref:NodeEvictionCandidate/m_network.adoc[`m&lowbar;network`] 
| The network the peer is connected over&period;
| xref:NodeEvictionCandidate/m_noban.adoc[`m&lowbar;noban`] 
| Whether the peer holds the noban permission and is protected from eviction&period;
| xref:NodeEvictionCandidate/m_relay_txs.adoc[`m&lowbar;relay&lowbar;txs`] 
| Whether transaction relay is enabled with this peer&period;
| xref:NodeEvictionCandidate/nKeyedNetGroup.adoc[`nKeyedNetGroup`] 
| Keyed hash of the peer&apos;s network group, used for bucketing&period;
| xref:NodeEvictionCandidate/prefer_evict.adoc[`prefer&lowbar;evict`] 
| Whether this peer is preferred for eviction&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
