diff options
author | Jean Pierre Dudey <jeandudey@hotmail.com> | 2018-03-14 21:56:19 -0400 |
---|---|---|
committer | Jean Pierre Dudey <jeandudey@hotmail.com> | 2018-03-14 21:56:19 -0400 |
commit | e1b526b371876d797f510f8e458d6401624bd1b1 (patch) | |
tree | cd73491b4e38c81b0ffc1ee443d8821122dee723 /src/cryptonote_core/blockchain.h | |
parent | Merge pull request #3398 (diff) | |
download | monero-e1b526b371876d797f510f8e458d6401624bd1b1.tar.xz |
Remove the `Blockchain::get_all_known_block_ids` function.
This function isn't used in the codebase.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
Diffstat (limited to 'src/cryptonote_core/blockchain.h')
-rw-r--r-- | src/cryptonote_core/blockchain.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h index dd490cdd5..1a52e20bf 100644 --- a/src/cryptonote_core/blockchain.h +++ b/src/cryptonote_core/blockchain.h @@ -207,15 +207,6 @@ namespace cryptonote bool get_block_by_hash(const crypto::hash &h, block &blk, bool *orphan = NULL) const; /** - * @brief get all block hashes (main chain, alt chains, and invalid blocks) - * - * @param main return-by-reference container to put result main chain blocks' hashes in - * @param alt return-by-reference container to put result alt chain blocks' hashes in - * @param invalid return-by-reference container to put result invalid blocks' hashes in - */ - void get_all_known_block_ids(std::list<crypto::hash> &main, std::list<crypto::hash> &alt, std::list<crypto::hash> &invalid) const; - - /** * @brief performs some preprocessing on a group of incoming blocks to speed up verification * * @param blocks a list of incoming blocks |