diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-12-15 12:50:38 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-12-17 02:54:02 +0000 |
| commit | cf7e1571d33980362f1a03f81124fc37a07aa0f0 (patch) | |
| tree | f20deee5a798f3665bcb618a30e9c28cc2f77c89 /tests/core_proxy | |
| parent | af0a25544e4fc1f8de87fa14adc8b8ef065af046 (diff) | |
| download | monzero-core-cf7e1571d33980362f1a03f81124fc37a07aa0f0.tar.gz monzero-core-cf7e1571d33980362f1a03f81124fc37a07aa0f0.tar.xz monzero-core-cf7e1571d33980362f1a03f81124fc37a07aa0f0.zip | |
protocol: reject claimed block hashes that already are in the chain
Diffstat (limited to 'tests/core_proxy')
| -rw-r--r-- | tests/core_proxy/core_proxy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/core_proxy/core_proxy.h b/tests/core_proxy/core_proxy.h index ecfcc18ae..ebc3a89c2 100644 --- a/tests/core_proxy/core_proxy.h +++ b/tests/core_proxy/core_proxy.h @@ -112,5 +112,6 @@ namespace tests bool prune_blockchain(uint32_t pruning_seed) const { return true; } 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; } }; } |
