Whether this peer can serve us blocks. */
| 1162 | |
| 1163 | /** Whether this peer can serve us blocks. */ |
| 1164 | static bool CanServeBlocks(const Peer& peer) |
| 1165 | { |
| 1166 | return peer.m_their_services & (NODE_NETWORK|NODE_NETWORK_LIMITED); |
| 1167 | } |
| 1168 | |
| 1169 | /** Whether this peer can only serve limited recent blocks (e.g. because |
| 1170 | * it prunes old blocks) */ |
no outgoing calls
no test coverage detected