aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-05-26 21:23:38 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-05-26 21:23:38 -0500
commitf9d789d68ccca9a9b4aba483b7faa03a062c50c3 (patch)
tree231b438e2907da40759f13b39b57066606bb34cc /tests
parentMerge pull request #8328 (diff)
parentDon't exclusively drop tor/i2p outgoing cxns in idle loop (diff)
downloadmonero-f9d789d68ccca9a9b4aba483b7faa03a062c50c3.tar.xz
Merge pull request #8330
2dab31f Don't exclusively drop tor/i2p outgoing cxns in idle loop (j-berman)
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/node_server.cpp4
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>;