| 1877 | } |
| 1878 | |
| 1879 | void CConnman::SetTryNewOutboundPeer(bool flag) |
| 1880 | { |
| 1881 | m_try_another_outbound_peer = flag; |
| 1882 | LogPrint(BCLog::NET, "net: setting try another outbound peer=%s\n", flag ? "true" : "false"); |
| 1883 | } |
| 1884 | |
| 1885 | // Return the number of peers we have over our outbound connection limit |
| 1886 | // Exclude peers that are marked for disconnect, or are going to be |
no outgoing calls