|
Electroneum
|
Classes | |
| struct | anchor_peerlist_entry_base |
| struct | anonymous_inbound |
| struct | basic_node_data |
| struct | COMMAND_HANDSHAKE_T |
| struct | COMMAND_PING |
| struct | COMMAND_TIMED_SYNC_T |
| struct | connection_entry_base |
| struct | i_p2p_endpoint |
| struct | network_address_old |
| struct | network_config |
| class | node_server |
| struct | p2p_connection_context_t |
| struct | p2p_endpoint_stub |
| struct | peerlist_entry_base |
| struct | peerlist_join |
| class | peerlist_manager |
| class | peerlist_storage |
| struct | peerlist_types |
| struct | proxy |
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_service &service, const boost::asio::ip::tcp::endpoint &proxy, const epee::net_utils::network_address &remote) |
| template<typename Archive > | |
| void | serialize (Archive &a, peerlist_types &elem, unsigned ver) |
| template<typename Archive > | |
| void | serialize (Archive &a, peerlist_join elem, unsigned ver) |
| std::string | print_peerlist_to_string (const std::vector< peerlist_entry > &pl) |
| crypto::hash | get_proof_of_trust_hash (const nodetool::proof_of_trust &pot) |
Variables | |
| const command_line::arg_descriptor< std::string > | arg_p2p_bind_ip = {"p2p-bind-ip", "Interface for p2p network protocol", "0.0.0.0"} |
| const command_line::arg_descriptor< std::string, false, true, 2 > | arg_p2p_bind_port |
| 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_proxy = {"proxy", "<network-type>,<socks-ip:port>[,max_connections] i.e. \"tor,127.0.0.1:9050,100\""} |
| 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< 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_no_igd = {"no-igd", "Disable UPnP port mapping"} |
| 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_save_graph = {"save-graph", "Save data for dr electroneum", false} |
| 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 |
Definition at line 106 of file p2p_protocol_defs.h.
Definition at line 121 of file p2p_protocol_defs.h.
| typedef boost::uuids::uuid nodetool::net_connection_id |
Definition at line 44 of file net_node_common.h.
| typedef uint64_t nodetool::peerid_type |
Definition at line 51 of file p2p_protocol_defs.h.
Definition at line 91 of file p2p_protocol_defs.h.
| typedef boost::uuids::uuid nodetool::uuid |
Definition at line 43 of file net_node_common.h.
| boost::optional< std::vector< anonymous_inbound > > nodetool::get_anonymous_inbounds | ( | boost::program_options::variables_map const & | vm | ) |
Definition at line 206 of file net_node.cpp.

|
inline |
Definition at line 485 of file p2p_protocol_defs.h.

| boost::optional< std::vector< proxy > > nodetool::get_proxies | ( | boost::program_options::variables_map const & | vm | ) |
Definition at line 148 of file net_node.cpp.

| bool nodetool::is_filtered_command | ( | epee::net_utils::network_address const & | address, |
| int | command | ||
| ) |
commnd is filtered (ignored/dropped) for address Definition at line 273 of file net_node.cpp.
|
inline |
Definition at line 126 of file p2p_protocol_defs.h.
| void nodetool::serialize | ( | Archive & | a, |
| peerlist_types & | elem, | ||
| unsigned | ver | ||
| ) |
Definition at line 139 of file net_peerlist.cpp.
| void nodetool::serialize | ( | Archive & | a, |
| peerlist_join | elem, | ||
| unsigned | ver | ||
| ) |
Definition at line 154 of file net_peerlist.cpp.
| boost::optional< boost::asio::ip::tcp::socket > nodetool::socks_connect_internal | ( | const std::atomic< bool > & | stop_signal, |
| boost::asio::io_service & | service, | ||
| const boost::asio::ip::tcp::endpoint & | proxy, | ||
| const epee::net_utils::network_address & | remote | ||
| ) |
Definition at line 293 of file net_node.cpp.

| 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\""} |
Definition at line 133 of file net_node.cpp.
| const command_line::arg_descriptor< int64_t > nodetool::arg_in_peers = {"in-peers", "set max number of in peers", -1} |
Definition at line 139 of file net_node.cpp.
| const command_line::arg_descriptor< int64_t > nodetool::arg_limit_rate = {"limit-rate", "set limit-rate [kB/s]", -1} |
Definition at line 144 of file net_node.cpp.
| 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} |
Definition at line 143 of file net_node.cpp.
| 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} |
Definition at line 142 of file net_node.cpp.
| const command_line::arg_descriptor< bool > nodetool::arg_no_igd = {"no-igd", "Disable UPnP port mapping"} |
Definition at line 137 of file net_node.cpp.
| const command_line::arg_descriptor< bool > nodetool::arg_no_sync = {"no-sync", "Don't synchronize the blockchain with other peers", false} |
Definition at line 135 of file net_node.cpp.
| const command_line::arg_descriptor<bool> nodetool::arg_offline |
Definition at line 109 of file cryptonote_core.cpp.
| const command_line::arg_descriptor< int64_t > nodetool::arg_out_peers = {"out-peers", "set max number of out peers", -1} |
Definition at line 138 of file net_node.cpp.
| const command_line::arg_descriptor< std::vector< std::string > > nodetool::arg_p2p_add_exclusive_node |
Definition at line 129 of file net_node.cpp.
| const command_line::arg_descriptor< std::vector< std::string > > nodetool::arg_p2p_add_peer = {"add-peer", "Manually add peer to local peerlist"} |
Definition at line 127 of file net_node.cpp.
| 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"} |
Definition at line 128 of file net_node.cpp.
| 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"} |
Definition at line 126 of file net_node.cpp.
| const command_line::arg_descriptor< std::string > nodetool::arg_p2p_bind_ip = {"p2p-bind-ip", "Interface for p2p network protocol", "0.0.0.0"} |
Definition at line 111 of file net_node.cpp.
| const command_line::arg_descriptor< std::string, false, true, 2 > nodetool::arg_p2p_bind_port |
Definition at line 112 of file net_node.cpp.
| 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} |
Definition at line 125 of file net_node.cpp.
| const command_line::arg_descriptor< bool > nodetool::arg_p2p_hide_my_port = {"hide-my-port", "Do not announce yourself as peerlist candidate", false, true} |
Definition at line 134 of file net_node.cpp.
| 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"} |
Definition at line 131 of file net_node.cpp.
| const command_line::arg_descriptor< std::vector< std::string > > nodetool::arg_proxy = {"proxy", "<network-type>,<socks-ip:port>[,max_connections] i.e. \"tor,127.0.0.1:9050,100\""} |
Definition at line 132 of file net_node.cpp.
| const command_line::arg_descriptor< bool > nodetool::arg_save_graph = {"save-graph", "Save data for dr electroneum", false} |
Definition at line 146 of file net_node.cpp.
| const command_line::arg_descriptor< int > nodetool::arg_tos_flag = {"tos-flag", "set TOS flag", -1} |
Definition at line 140 of file net_node.cpp.
| const int64_t nodetool::default_limit_down = P2P_DEFAULT_LIMIT_RATE_DOWN |
Definition at line 482 of file net_node.h.
| const int64_t nodetool::default_limit_up = P2P_DEFAULT_LIMIT_RATE_UP |
Definition at line 481 of file net_node.h.