mirror of
https://github.com/monero-project/monero.git
synced 2025-08-16 21:30:24 -04: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:
parent
3bd6ed94d7
commit
efe83982d3
3 changed files with 18 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue