Changeset View
Changeset View
Standalone View
Standalone View
src/net.h
Show First 20 Lines • Show All 276 Lines • ▼ Show 20 Lines | public: | ||||
bool AddNode(const std::string &node); | bool AddNode(const std::string &node); | ||||
bool RemoveAddedNode(const std::string &node); | bool RemoveAddedNode(const std::string &node); | ||||
std::vector<AddedNodeInfo> GetAddedNodeInfo(); | std::vector<AddedNodeInfo> GetAddedNodeInfo(); | ||||
size_t GetNodeCount(NumConnections num); | size_t GetNodeCount(NumConnections num); | ||||
void GetNodeStats(std::vector<CNodeStats> &vstats); | void GetNodeStats(std::vector<CNodeStats> &vstats); | ||||
bool DisconnectNode(const std::string &node); | bool DisconnectNode(const std::string &node); | ||||
bool DisconnectNode(const CSubNet &subnet); | |||||
bool DisconnectNode(const CNetAddr &addr); | |||||
bool DisconnectNode(NodeId id); | bool DisconnectNode(NodeId id); | ||||
ServiceFlags GetLocalServices() const; | ServiceFlags GetLocalServices() const; | ||||
//! set the max outbound target in bytes. | //! set the max outbound target in bytes. | ||||
void SetMaxOutboundTarget(uint64_t limit); | void SetMaxOutboundTarget(uint64_t limit); | ||||
uint64_t GetMaxOutboundTarget(); | uint64_t GetMaxOutboundTarget(); | ||||
▲ Show 20 Lines • Show All 583 Lines • Show Last 20 Lines |