aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-12-31 15:44:49 -0600
committerluigi1111 <luigi1111w@gmail.com>2018-12-31 15:44:49 -0600
commitc7af379d298addb7cdb64aea7f3f8b5eb68ed558 (patch)
tree9f3f663a26730378011db91298355365c0be1505 /src/cryptonote_core/blockchain.h
parentMerge pull request #4936 (diff)
parentblockchain: call deinit in dtor (diff)
downloadmonero-c7af379d298addb7cdb64aea7f3f8b5eb68ed558.tar.xz
Merge pull request #4940
9e64a71 blockchain: call deinit in dtor (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 877828f81..67bccc6c6 100644
--- a/src/cryptonote_core/blockchain.h
+++ b/src/cryptonote_core/blockchain.h
@@ -121,6 +121,11 @@ namespace cryptonote
Blockchain(tx_memory_pool& tx_pool);
/**
+ * @brief Blockchain destructor
+ */
+ ~Blockchain();
+
+ /**
* @brief Initialize the Blockchain state
*
* @param db a pointer to the backing store to use for the blockchain