Changeset View
Changeset View
Standalone View
Standalone View
src/net.h
Show First 20 Lines • Show All 262 Lines • ▼ Show 20 Lines | public: | ||||
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(NodeId id); | bool DisconnectNode(NodeId id); | ||||
unsigned int GetSendBufferSize() const; | |||||
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(); | ||||
//! set the timeframe for the max outbound target. | //! set the timeframe for the max outbound target. | ||||
void SetMaxOutboundTimeframe(uint64_t timeframe); | void SetMaxOutboundTimeframe(uint64_t timeframe); | ||||
▲ Show 20 Lines • Show All 575 Lines • Show Last 20 Lines |