|
Monero
|
Classes | |
| struct | p2p_connection_context_t |
| struct | proxy |
| struct | anonymous_inbound |
| class | node_server |
| struct | i_p2p_endpoint |
| struct | p2p_endpoint_stub |
| struct | peerlist_join |
| struct | peerlist_types |
| class | peerlist_storage |
| class | peerlist_manager |
| struct | network_address_old |
| struct | peerlist_entry_base |
| struct | anchor_peerlist_entry_base |
| struct | connection_entry_base |
| struct | network_config |
| struct | basic_node_data |
| struct | COMMAND_HANDSHAKE_T |
| struct | COMMAND_TIMED_SYNC_T |
| struct | COMMAND_PING |
| struct | COMMAND_REQUEST_SUPPORT_FLAGS |
Typedefs | |
| typedef boost::uuids::uuid | uuid |
| typedef boost::uuids::uuid | net_connection_id |
| typedef uint64_t | peerid_type |
| typedef peerlist_entry_base< epee::net_utils::network_address > | peerlist_entry |
| typedef anchor_peerlist_entry_base< epee::net_utils::network_address > | anchor_peerlist_entry |
| typedef connection_entry_base< epee::net_utils::network_address > | connection_entry |
Functions | |
| boost::optional< std::vector< proxy > > | get_proxies (boost::program_options::variables_map const &vm) |
| boost::optional< std::vector< anonymous_inbound > > | get_anonymous_inbounds (boost::program_options::variables_map const &vm) |
| bool | is_filtered_command (const epee::net_utils::network_address &address, int command) |
| boost::optional< boost::asio::ip::tcp::socket > | socks_connect_internal (const std::atomic< bool > &stop_signal, boost::asio::io_context &service, const boost::asio::ip::tcp::endpoint &proxy, const epee::net_utils::network_address &remote) |
| bool | append_net_address (std::vector< epee::net_utils::network_address > &seed_nodes, std::string const &addr, uint16_t default_port) |
| template<typename Archive> | |
| void | serialize (Archive &a, peerlist_types &elem, unsigned ver) |
| template<typename Archive> | |
| void | serialize (Archive &a, peerlist_join elem, unsigned ver) |
| static std::string | peerid_to_string (peerid_type peer_id) |
| std::string | print_peerlist_to_string (const std::vector< peerlist_entry > &pl) |
Variables | |
| const command_line::arg_descriptor< std::string > | arg_p2p_bind_ip = {"p2p-bind-ip", "Interface for p2p network protocol (IPv4)", "0.0.0.0"} |
| const command_line::arg_descriptor< std::string > | arg_p2p_bind_ipv6_address = {"p2p-bind-ipv6-address", "Interface for p2p network protocol (IPv6)", "::"} |
| const command_line::arg_descriptor< std::string, false, true, 2 > | arg_p2p_bind_port |
| const command_line::arg_descriptor< std::string, false, true, 2 > | arg_p2p_bind_port_ipv6 |
| const command_line::arg_descriptor< uint32_t > | arg_p2p_external_port = {"p2p-external-port", "External port for p2p network protocol (if port forwarding used with NAT)", 0} |
| const command_line::arg_descriptor< bool > | arg_p2p_allow_local_ip = {"allow-local-ip", "Allow local ip add to peer list, mostly in debug purposes"} |
| const command_line::arg_descriptor< std::vector< std::string > > | arg_p2p_add_peer = {"add-peer", "Manually add peer to local peerlist"} |
| const command_line::arg_descriptor< std::vector< std::string > > | arg_p2p_add_priority_node = {"add-priority-node", "Specify list of peers to connect to and attempt to keep the connection open"} |
| const command_line::arg_descriptor< std::vector< std::string > > | arg_p2p_add_exclusive_node |
| const command_line::arg_descriptor< std::vector< std::string > > | arg_p2p_seed_node = {"seed-node", "Connect to a node to retrieve peer addresses, and disconnect"} |
| const command_line::arg_descriptor< std::vector< std::string > > | arg_tx_proxy = {"tx-proxy", "Send local txes through proxy: <network-type>,<socks-ip:port>[,max_connections][,disable_noise] i.e. \"tor,127.0.0.1:9050,100,disable_noise\""} |
| const command_line::arg_descriptor< std::vector< std::string > > | arg_anonymous_inbound = {"anonymous-inbound", "<hidden-service-address>,<[bind-ip:]port>[,max_connections] i.e. \"x.onion,127.0.0.1:18083,100\""} |
| const command_line::arg_descriptor< std::string > | arg_ban_list = {"ban-list", "Specify ban list file, one IP address per line"} |
| const command_line::arg_descriptor< bool > | arg_p2p_hide_my_port = {"hide-my-port", "Do not announce yourself as peerlist candidate", false, true} |
| const command_line::arg_descriptor< bool > | arg_no_sync = {"no-sync", "Don't synchronize the blockchain with other peers", false} |
| const command_line::arg_descriptor< bool > | arg_enable_dns_blocklist = {"enable-dns-blocklist", "Apply realtime blocklist from DNS", false} |
| const command_line::arg_descriptor< bool > | arg_no_igd = {"no-igd", "Disable UPnP port mapping"} |
| const command_line::arg_descriptor< std::string > | arg_igd = {"igd", "UPnP port mapping (disabled, enabled, delayed)", "delayed"} |
| const command_line::arg_descriptor< bool > | arg_p2p_use_ipv6 = {"p2p-use-ipv6", "Enable IPv6 for p2p", false} |
| const command_line::arg_descriptor< bool > | arg_p2p_ignore_ipv4 = {"p2p-ignore-ipv4", "Ignore unsuccessful IPv4 bind for p2p", false} |
| const command_line::arg_descriptor< int64_t > | arg_out_peers = {"out-peers", "set max number of out peers", -1} |
| const command_line::arg_descriptor< int64_t > | arg_in_peers = {"in-peers", "set max number of in peers", -1} |
| const command_line::arg_descriptor< int > | arg_tos_flag = {"tos-flag", "set TOS flag", -1} |
| const command_line::arg_descriptor< int64_t > | arg_limit_rate_up = {"limit-rate-up", "set limit-rate-up [kB/s]", P2P_DEFAULT_LIMIT_RATE_UP} |
| const command_line::arg_descriptor< int64_t > | arg_limit_rate_down = {"limit-rate-down", "set limit-rate-down [kB/s]", P2P_DEFAULT_LIMIT_RATE_DOWN} |
| const command_line::arg_descriptor< int64_t > | arg_limit_rate = {"limit-rate", "set limit-rate [kB/s]", -1} |
| const command_line::arg_descriptor< bool > | arg_pad_transactions |
| const command_line::arg_descriptor< uint32_t > | arg_max_connections_per_ip = {"max-connections-per-ip", "Maximum number of p2p connections allowed from the same IP address", 1} |
| const int64_t | default_limit_up = P2P_DEFAULT_LIMIT_RATE_UP |
| const int64_t | default_limit_down = P2P_DEFAULT_LIMIT_RATE_DOWN |
| const command_line::arg_descriptor< bool > | arg_offline |
| typedef anchor_peerlist_entry_base<epee::net_utils::network_address> nodetool::anchor_peerlist_entry |
| typedef boost::uuids::uuid nodetool::net_connection_id |
| typedef uint64_t nodetool::peerid_type |
| typedef boost::uuids::uuid nodetool::uuid |
|
inline |
| boost::optional< std::vector< anonymous_inbound > > nodetool::get_anonymous_inbounds | ( | boost::program_options::variables_map const & | vm | ) |
| boost::optional< std::vector< proxy > > nodetool::get_proxies | ( | boost::program_options::variables_map const & | vm | ) |
| bool nodetool::is_filtered_command | ( | epee::net_utils::network_address const & | address, |
| int | command ) |
|
inlinestatic |
|
inline |
| void nodetool::serialize | ( | Archive & | a, |
| peerlist_join | elem, | ||
| unsigned | ver ) |
| void nodetool::serialize | ( | Archive & | a, |
| peerlist_types & | elem, | ||
| unsigned | ver ) |
| boost::optional< boost::asio::ip::tcp::socket > nodetool::socks_connect_internal | ( | const std::atomic< bool > & | stop_signal, |
| boost::asio::io_context & | service, | ||
| const boost::asio::ip::tcp::endpoint & | proxy, | ||
| const epee::net_utils::network_address & | remote ) |
| const command_line::arg_descriptor< std::vector< std::string > > nodetool::arg_anonymous_inbound = {"anonymous-inbound", "<hidden-service-address>,<[bind-ip:]port>[,max_connections] i.e. \"x.onion,127.0.0.1:18083,100\""} |
| const command_line::arg_descriptor< std::string > nodetool::arg_ban_list = {"ban-list", "Specify ban list file, one IP address per line"} |
| const command_line::arg_descriptor< bool > nodetool::arg_enable_dns_blocklist = {"enable-dns-blocklist", "Apply realtime blocklist from DNS", false} |
| const command_line::arg_descriptor< std::string > nodetool::arg_igd = {"igd", "UPnP port mapping (disabled, enabled, delayed)", "delayed"} |
| const command_line::arg_descriptor< int64_t > nodetool::arg_in_peers = {"in-peers", "set max number of in peers", -1} |
| const command_line::arg_descriptor< int64_t > nodetool::arg_limit_rate = {"limit-rate", "set limit-rate [kB/s]", -1} |
| const command_line::arg_descriptor< int64_t > nodetool::arg_limit_rate_down = {"limit-rate-down", "set limit-rate-down [kB/s]", P2P_DEFAULT_LIMIT_RATE_DOWN} |
| const command_line::arg_descriptor< int64_t > nodetool::arg_limit_rate_up = {"limit-rate-up", "set limit-rate-up [kB/s]", P2P_DEFAULT_LIMIT_RATE_UP} |
| const command_line::arg_descriptor< uint32_t > nodetool::arg_max_connections_per_ip = {"max-connections-per-ip", "Maximum number of p2p connections allowed from the same IP address", 1} |
| const command_line::arg_descriptor< bool > nodetool::arg_no_igd = {"no-igd", "Disable UPnP port mapping"} |
| const command_line::arg_descriptor< bool > nodetool::arg_no_sync = {"no-sync", "Don't synchronize the blockchain with other peers", false} |
|
extern |
| const command_line::arg_descriptor< int64_t > nodetool::arg_out_peers = {"out-peers", "set max number of out peers", -1} |
| const command_line::arg_descriptor< std::vector< std::string > > nodetool::arg_p2p_add_exclusive_node |
| const command_line::arg_descriptor< std::vector< std::string > > nodetool::arg_p2p_add_peer = {"add-peer", "Manually add peer to local peerlist"} |
| const command_line::arg_descriptor< std::vector< std::string > > nodetool::arg_p2p_add_priority_node = {"add-priority-node", "Specify list of peers to connect to and attempt to keep the connection open"} |
| const command_line::arg_descriptor< bool > nodetool::arg_p2p_allow_local_ip = {"allow-local-ip", "Allow local ip add to peer list, mostly in debug purposes"} |
| const command_line::arg_descriptor< std::string > nodetool::arg_p2p_bind_ip = {"p2p-bind-ip", "Interface for p2p network protocol (IPv4)", "0.0.0.0"} |
| const command_line::arg_descriptor< std::string > nodetool::arg_p2p_bind_ipv6_address = {"p2p-bind-ipv6-address", "Interface for p2p network protocol (IPv6)", "::"} |
| const command_line::arg_descriptor< std::string, false, true, 2 > nodetool::arg_p2p_bind_port |
| const command_line::arg_descriptor< std::string, false, true, 2 > nodetool::arg_p2p_bind_port_ipv6 |
| const command_line::arg_descriptor< uint32_t > nodetool::arg_p2p_external_port = {"p2p-external-port", "External port for p2p network protocol (if port forwarding used with NAT)", 0} |
| const command_line::arg_descriptor< bool > nodetool::arg_p2p_hide_my_port = {"hide-my-port", "Do not announce yourself as peerlist candidate", false, true} |
| const command_line::arg_descriptor< bool > nodetool::arg_p2p_ignore_ipv4 = {"p2p-ignore-ipv4", "Ignore unsuccessful IPv4 bind for p2p", false} |
| const command_line::arg_descriptor< std::vector< std::string > > nodetool::arg_p2p_seed_node = {"seed-node", "Connect to a node to retrieve peer addresses, and disconnect"} |
| const command_line::arg_descriptor< bool > nodetool::arg_p2p_use_ipv6 = {"p2p-use-ipv6", "Enable IPv6 for p2p", false} |
| const command_line::arg_descriptor< bool > nodetool::arg_pad_transactions |
| const command_line::arg_descriptor< int > nodetool::arg_tos_flag = {"tos-flag", "set TOS flag", -1} |
| const command_line::arg_descriptor< std::vector< std::string > > nodetool::arg_tx_proxy = {"tx-proxy", "Send local txes through proxy: <network-type>,<socks-ip:port>[,max_connections][,disable_noise] i.e. \"tor,127.0.0.1:9050,100,disable_noise\""} |
| const int64_t nodetool::default_limit_down = P2P_DEFAULT_LIMIT_RATE_DOWN |
| const int64_t nodetool::default_limit_up = P2P_DEFAULT_LIMIT_RATE_UP |