Gives seednode priority over dnsseed if both are provided

This commit is contained in:
Sergi Delgado Segura
2023-06-28 14:51:09 -04:00
parent 3310a965bd
commit 3120a4678a
2 changed files with 120 additions and 83 deletions

View File

@@ -1175,6 +1175,8 @@ public:
void StartExtraBlockRelayPeers();
// Count the number of full-relay peer we have.
int GetFullOutboundConnCount() const;
// Return the number of outbound peers we have in excess of our target (eg,
// if we previously called SetTryNewOutboundPeer(true), and have since set
// to false, we may have extra peers that we wish to disconnect). This may