diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-09-12 18:03:06 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-10-09 14:29:04 +0300 |
commit | bad16aff490dcf87722fbfe202a869fb24c734e1 (patch) | |
tree | 3da2d65f68fb2151282ac219dbfd7965a13fd0bf /src/net.h | |
parent | c29272a157d09a8125788c1b860e89b63b4cb36c (diff) |
p2p: Add CConnman::GetCurrentBlockRelayOnlyConns()
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -460,6 +460,11 @@ private: void RecordBytesRecv(uint64_t bytes); void RecordBytesSent(uint64_t bytes); + /** + * Return vector of current BLOCK_RELAY peers. + */ + std::vector<CAddress> GetCurrentBlockRelayOnlyConns() const; + // Whether the node should be passed out in ForEach* callbacks static bool NodeFullyConnected(const CNode* pnode); |