Changeset View
Changeset View
Standalone View
Standalone View
src/net.cpp
Show First 20 Lines • Show All 2,755 Lines • ▼ Show 20 Lines | void CConnman::DeleteNode(CNode *pnode) { | ||||
delete pnode; | delete pnode; | ||||
} | } | ||||
CConnman::~CConnman() { | CConnman::~CConnman() { | ||||
Interrupt(); | Interrupt(); | ||||
Stop(); | Stop(); | ||||
} | } | ||||
size_t CConnman::GetAddressCount() const { | |||||
return addrman.size(); | |||||
} | |||||
void CConnman::SetServices(const CService &addr, ServiceFlags nServices) { | void CConnman::SetServices(const CService &addr, ServiceFlags nServices) { | ||||
addrman.SetServices(addr, nServices); | addrman.SetServices(addr, nServices); | ||||
} | } | ||||
void CConnman::MarkAddressGood(const CAddress &addr) { | void CConnman::MarkAddressGood(const CAddress &addr) { | ||||
addrman.Good(addr); | addrman.Good(addr); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 389 Lines • Show Last 20 Lines |