18 return "outbound-full-relay";
20 return "block-relay-only";
AddrFetch connections are short lived connections used to solicit addresses from peers.
Inbound connections are those initiated by a peer.
Feeler connections are short-lived connections made to check that a node is alive.
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.
ConnectionType
Different types of connections to a peer.
We use block-relay-only connections to help prevent against partition attacks.