diff options
author | j-berman <justinberman@protonmail.com> | 2022-05-14 20:11:53 -0700 |
---|---|---|
committer | j-berman <justinberman@protonmail.com> | 2022-05-18 09:54:21 -0700 |
commit | 2dab31f62f3e7aff14afd7897848143456b0c47d (patch) | |
tree | 287695d6bf95c26a9bc9e394b6fb96f0d42e8d70 /tests/unit_tests | |
parent | Merge pull request #8321 (diff) | |
download | monero-2dab31f62f3e7aff14afd7897848143456b0c47d.tar.xz |
Don't exclusively drop tor/i2p outgoing cxns in idle loop
Diffstat (limited to 'tests/unit_tests')
-rw-r--r-- | tests/unit_tests/node_server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit_tests/node_server.cpp b/tests/unit_tests/node_server.cpp index 134fa6ece..6c8cd9f8d 100644 --- a/tests/unit_tests/node_server.cpp +++ b/tests/unit_tests/node_server.cpp @@ -1026,12 +1026,12 @@ TEST(node_server, race_condition) } void stop() {} void on_connection_close(context_t &context) {} - void set_max_out_peers(unsigned int max) {} + void set_max_out_peers(epee::net_utils::zone zone, unsigned int max) {} bool no_sync() const { return {}; } void set_no_sync(bool value) {} string_t get_peers_overview() const { return {}; } stripes_t get_next_needed_pruning_stripe() const { return {}; } - bool needs_new_sync_connections() const { return {}; } + bool needs_new_sync_connections(epee::net_utils::zone zone) const { return {}; } bool is_busy_syncing() { return {}; } }; using node_server_t = nodetool::node_server<protocol_t>; |