Merge pull request #8330

2dab31f Don't exclusively drop tor/i2p outgoing cxns in idle loop (j-berman)
This commit is contained in:
luigi1111 2022-05-26 21:23:38 -05:00
commit f9d789d68c
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
4 changed files with 65 additions and 29 deletions

View file

@ -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>;