Whether this peer can serve us blocks. */
| 1763 | } |
| 1764 | /** Whether this peer can serve us blocks. */ |
| 1765 | static bool CanServeBlocks(const Peer &peer) { |
| 1766 | return peer.m_their_services & (NODE_NETWORK | NODE_NETWORK_LIMITED); |
| 1767 | } |
| 1768 | |
| 1769 | /** |
| 1770 | * Whether this peer can only serve limited recent blocks (e.g. because |
no outgoing calls
no test coverage detected