File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -3141,6 +3141,12 @@ void CConnman::SetTryNewOutboundPeer(bool flag)
31413141 LogPrint (BCLog::NET, " net: setting try another outbound peer=%s\n " , flag ? " true" : " false" );
31423142}
31433143
3144+ void CConnman::StartExtraBlockRelayPeers ()
3145+ {
3146+ LogPrint (BCLog::NET, " net: enabling extra block-relay-only peers\n " );
3147+ m_start_extra_block_relay_peers = true ;
3148+ }
3149+
31443150// Return the number of peers we have over our outbound connection limit
31453151// Exclude peers that are marked for disconnect, or are going to be
31463152// disconnected soon (eg ADDR_FETCH and FEELER)
Original file line number Diff line number Diff line change 1616#include < hash.h>
1717#include < i2p.h>
1818#include < limitedmap.h>
19- #include < logging.h>
2019#include < net_permissions.h>
2120#include < netaddress.h>
2221#include < netbase.h>
@@ -1464,10 +1463,7 @@ friend class CNode;
14641463 void SetTryNewOutboundPeer (bool flag);
14651464 bool GetTryNewOutboundPeer () const ;
14661465
1467- void StartExtraBlockRelayPeers () {
1468- LogPrint (BCLog::NET, " net: enabling extra block-relay-only peers\n " );
1469- m_start_extra_block_relay_peers = true ;
1470- }
1466+ void StartExtraBlockRelayPeers ();
14711467
14721468 // Return the number of outbound peers we have in excess of our target (eg,
14731469 // if we previously called SetTryNewOutboundPeer(true), and have since set
You can’t perform that action at this time.
0 commit comments