aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.h
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-02-28 19:36:16 -0800
committerAlexander Blair <snipa@jagtech.io>2020-02-28 19:36:16 -0800
commit4da37daf67976e48d6fc75f2a5a6f5858d227815 (patch)
treeef7cf33b245ddf3e9325639a2dfb49baf6a5d82c /src/cryptonote_core/blockchain.h
parentMerge pull request #6205 (diff)
parentrpc: add bad-blocks to flush_cache RPC (diff)
downloadmonero-4da37daf67976e48d6fc75f2a5a6f5858d227815.tar.xz
Merge pull request #6211
5985c5af rpc: add bad-blocks to flush_cache RPC (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core/blockchain.h')
-rw-r--r--src/cryptonote_core/blockchain.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h
index 0aecdcb57..4ed7a2f02 100644
--- a/src/cryptonote_core/blockchain.h
+++ b/src/cryptonote_core/blockchain.h
@@ -1017,6 +1017,11 @@ namespace cryptonote
*/
bool has_block_weights(uint64_t height, uint64_t nblocks) const;
+ /**
+ * @brief flush the invalid blocks set
+ */
+ void flush_invalid_blocks();
+
#ifndef IN_UNIT_TESTS
private:
#endif