diff options
| author | Hennadii Stepanov <[email protected]> | 2020-09-12 18:03:06 +0300 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2020-10-09 14:29:04 +0300 |
| commit | bad16aff490dcf87722fbfe202a869fb24c734e1 (patch) | |
| tree | 3da2d65f68fb2151282ac219dbfd7965a13fd0bf /src/net.h | |
| parent | p2p: Add ReadAnchors() (diff) | |
| download | discoin-bad16aff490dcf87722fbfe202a869fb24c734e1.tar.xz discoin-bad16aff490dcf87722fbfe202a869fb24c734e1.zip | |
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); |