|
Monero
|
#include "gtest/gtest.h"#include "cryptonote_core/cryptonote_core.h"#include "p2p/net_node.h"#include "p2p/net_node.inl"#include "cryptonote_core/i_core_events.h"#include "cryptonote_protocol/cryptonote_protocol_handler.h"#include "cryptonote_protocol/cryptonote_protocol_handler.inl"#include "unit_tests_utils.h"#include <condition_variable>
Classes | |
| class | test_core |
Namespaces | |
| namespace | cryptonote |
| Holds cryptonote related classes and helpers. | |
| namespace | nodetool |
Macros | |
| #define | MAKE_IPV4_ADDRESS(a, b, c, d) |
| #define | MAKE_IPV4_ADDRESS_PORT(a, b, c, d, e) |
| #define | MAKE_IPV4_SUBNET(a, b, c, d, e) |
Typedefs | |
| typedef nodetool::node_server< cryptonote::t_cryptonote_protocol_handler< test_core > > | Server |
Functions | |
| static bool | is_blocked (Server &server, const epee::net_utils::network_address &address, time_t *t=NULL) |
| TEST (ban, add) | |
| TEST (ban, limit) | |
| TEST (ban, subnet) | |
| TEST (ban, ignores_port) | |
| TEST (ban, file_banlist) | |
| TEST (node_server, bind_same_p2p_port) | |
| TEST (cryptonote_protocol_handler, race_condition) | |
| TEST (node_server, race_condition) | |
|
static |
| TEST | ( | ban | , |
| add | ) |
| TEST | ( | ban | , |
| file_banlist | ) |
| TEST | ( | ban | , |
| ignores_port | ) |
| TEST | ( | ban | , |
| limit | ) |
| TEST | ( | ban | , |
| subnet | ) |
| TEST | ( | cryptonote_protocol_handler | , |
| race_condition | ) |
| TEST | ( | node_server | , |
| bind_same_p2p_port | ) |
| TEST | ( | node_server | , |
| race_condition | ) |