mirror of
https://github.com/monero-project/monero.git
synced 2025-08-16 21:40:24 -04:00
Some cleanup in span/connection_context + few more checks
This commit is contained in:
parent
5e31c0adf2
commit
ed70c16224
6 changed files with 131 additions and 35 deletions
|
@ -157,6 +157,7 @@ namespace cryptonote
|
|||
bool should_ask_for_pruned_data(cryptonote_connection_context& context, uint64_t first_block_height, uint64_t nblocks, bool check_block_weights) const;
|
||||
void drop_connection(cryptonote_connection_context &context, bool add_fail, bool flush_all_spans);
|
||||
void drop_connection_with_score(cryptonote_connection_context &context, unsigned int score, bool flush_all_spans);
|
||||
void drop_connection(const boost::uuids::uuid&);
|
||||
void drop_connections(const epee::net_utils::network_address address);
|
||||
bool kick_idle_peers();
|
||||
bool check_standby_peers();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue