From cf7e1571d33980362f1a03f81124fc37a07aa0f0 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 15 Dec 2020 12:50:38 +0000 Subject: protocol: reject claimed block hashes that already are in the chain --- tests/unit_tests/node_server.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/unit_tests/node_server.cpp') diff --git a/tests/unit_tests/node_server.cpp b/tests/unit_tests/node_server.cpp index 0191e5aa4..0569d3748 100644 --- a/tests/unit_tests/node_server.cpp +++ b/tests/unit_tests/node_server.cpp @@ -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 &hashes, std::vector &txes) { return false; } bool get_pool_transaction_hashes(std::vector& 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() {} }; -- cgit v1.2.3