5 #ifndef BITCOIN_NODE_CONNECTION_TYPES_H 6 #define BITCOIN_NODE_CONNECTION_TYPES_H 93 #endif // BITCOIN_NODE_CONNECTION_TYPES_H
AddrFetch connections are short lived connections used to solicit addresses from peers.
Inbound connections are those initiated by a peer.
Unencrypted, plaintext protocol.
Feeler connections are short-lived connections made to check that a node is alive.
TransportProtocolType
Transport layer version.
These are the default connections that we use to connect with the network.
We open manual connections to addresses that users explicitly requested via the addnode RPC or the -a...
std::string ConnectionTypeAsString(ConnectionType conn_type)
Convert ConnectionType enum to a string value.
std::string TransportTypeAsString(TransportProtocolType transport_type)
Convert TransportProtocolType enum to a string value.
ConnectionType
Different types of connections to a peer.
We use block-relay-only connections to help prevent against partition attacks.