mirror of
https://github.com/monero-project/monero.git
synced 2025-12-21 23:00:49 -08:00
protocol: drop nodes if they claim new data but only give stale data
Some joker is spending time actually doing this
This commit is contained in:
@@ -150,7 +150,7 @@ namespace cryptonote
|
||||
bool update_sync_search();
|
||||
int try_add_next_blocks(cryptonote_connection_context &context);
|
||||
void notify_new_stripe(cryptonote_connection_context &context, uint32_t stripe);
|
||||
void skip_unneeded_hashes(cryptonote_connection_context& context, bool check_block_queue) const;
|
||||
size_t skip_unneeded_hashes(cryptonote_connection_context& context, bool check_block_queue) const;
|
||||
bool request_txpool_complement(cryptonote_connection_context &context);
|
||||
void hit_score(cryptonote_connection_context &context, int32_t score);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user