Changeset View
Changeset View
Standalone View
Standalone View
src/net.cpp
Show First 20 Lines • Show All 2,057 Lines • ▼ Show 20 Lines | while (!interruptNet) { | ||||
case ConnectionType::MANUAL: | case ConnectionType::MANUAL: | ||||
break; | break; | ||||
case ConnectionType::OUTBOUND_FULL_RELAY: | case ConnectionType::OUTBOUND_FULL_RELAY: | ||||
case ConnectionType::BLOCK_RELAY: | case ConnectionType::BLOCK_RELAY: | ||||
case ConnectionType::ADDR_FETCH: | case ConnectionType::ADDR_FETCH: | ||||
case ConnectionType::FEELER: | case ConnectionType::FEELER: | ||||
setConnected.insert( | setConnected.insert( | ||||
pnode->addr.GetGroup(addrman.m_asmap)); | pnode->addr.GetGroup(addrman.m_asmap)); | ||||
} | } // no default case, so the compiler can warn about missing | ||||
// cases | |||||
} | } | ||||
} | } | ||||
ConnectionType conn_type = ConnectionType::OUTBOUND_FULL_RELAY; | ConnectionType conn_type = ConnectionType::OUTBOUND_FULL_RELAY; | ||||
int64_t nTime = GetTimeMicros(); | int64_t nTime = GetTimeMicros(); | ||||
bool fFeeler = false; | bool fFeeler = false; | ||||
// Determine what type of connection to open. Opening | // Determine what type of connection to open. Opening | ||||
▲ Show 20 Lines • Show All 1,136 Lines • Show Last 20 Lines |