Protocol version advertised in our VERSION message. * Private broadcast connections use a fixed version to maximise anonymity. */
| 834 | /** Protocol version advertised in our VERSION message. |
| 835 | * Private broadcast connections use a fixed version to maximise anonymity. */ |
| 836 | int AdvertisedVersion() const |
| 837 | { |
| 838 | return IsPrivateBroadcastConn() ? WTXID_RELAY_VERSION : PROTOCOL_VERSION; |
| 839 | } |
| 840 | |
| 841 | bool IsInboundConn() const { |
| 842 | return m_conn_type == ConnectionType::INBOUND; |
no outgoing calls