mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-12 15:49:31 +02:00
[net] Add connection type to NodeEvictionCandidate
This commit is contained in:
@@ -59,6 +59,7 @@ std::vector<NodeEvictionCandidate> GetRandomNodeEvictionCandidates(int n_candida
|
||||
/*m_is_local=*/random_context.randbool(),
|
||||
/*m_network=*/ALL_NETWORKS[random_context.randrange(ALL_NETWORKS.size())],
|
||||
/*m_noban=*/false,
|
||||
/*m_conn_type=*/ConnectionType::INBOUND,
|
||||
});
|
||||
}
|
||||
return candidates;
|
||||
|
||||
Reference in New Issue
Block a user