ban peers sending bad pow outright

PoW is expensive to verify, so be strict
This commit is contained in:
moneromooo-monero
2019-09-24 13:08:25 +00:00
parent faf5805fc0
commit 3455efafa8
9 changed files with 25 additions and 15 deletions

View File

@@ -58,5 +58,6 @@ namespace cryptonote
bool m_marked_as_orphaned;
bool m_already_exists;
bool m_partial_block_reward;
bool m_bad_pow; // if bad pow, bad peer outright for DoS protection
};
}