18 return "outbound-full-relay";
20 return "block-relay-only";
30 switch (transport_type) {
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.
std::string TransportTypeAsString(TransportProtocolType transport_type)
Convert TransportProtocolType enum to a string value.
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.