protocol: stricter checks on received chain hash list

This commit is contained in:
moneromooo
2020-12-11 11:17:11 +00:00
committed by moneromooo-monero
parent ebdc617408
commit 5d1849a9eb
2 changed files with 36 additions and 0 deletions
@@ -69,6 +69,7 @@ namespace cryptonote
bool m_anchor;
int32_t m_score;
int m_expect_response;
uint64_t m_expect_height;
};
inline std::string get_protocol_state_string(cryptonote_connection_context::state s)