mirror of
https://github.com/monero-project/monero.git
synced 2025-08-03 15:54:15 -04:00
protocol: reject claimed block hashes that already are in the chain
This commit is contained in:
parent
a436c36256
commit
42ee309292
3 changed files with 15 additions and 0 deletions
|
@ -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; }
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue