protocol: fix false positives dropping peers

it'd trigger on reorgs
This commit is contained in:
moneromooo-monero 2020-12-27 14:13:26 +00:00
parent b2221881a1
commit bcdc6c62b7
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
3 changed files with 23 additions and 23 deletions

View file

@ -93,6 +93,7 @@ public:
bool has_block_weights(uint64_t height, uint64_t nblocks) const { return false; }
bool get_txpool_complement(const std::vector<crypto::hash> &hashes, std::vector<cryptonote::blobdata> &txes) { return false; }
bool get_pool_transaction_hashes(std::vector<crypto::hash>& txs, bool include_unrelayed_txes = true) const { return false; }
crypto::hash get_block_id_by_height(uint64_t height) const { return crypto::null_hash; }
void stop() {}
};