aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/tx_pool.h
diff options
context:
space:
mode:
authorrckngOpossum <rckngOpossum@@users.noreply.github.com>2016-09-15 15:36:16 -0500
committerrckngOpossum <rckngOpossum@@users.noreply.github.com>2016-09-15 15:36:16 -0500
commite49c161987d6f9c8fecc8e5f96f065d8686e53a7 (patch)
tree1ef71f1fff6608f7d22a35b3afc5002779a33599 /src/cryptonote_core/tx_pool.h
parentMerge pull request #1074 (diff)
downloadmonero-e49c161987d6f9c8fecc8e5f96f065d8686e53a7.tar.xz
compile errors fixed when DEBUG_CREATE_BLOCK_TEMPLATE defined
Diffstat (limited to 'src/cryptonote_core/tx_pool.h')
-rw-r--r--src/cryptonote_core/tx_pool.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cryptonote_core/tx_pool.h b/src/cryptonote_core/tx_pool.h
index 0e280872d..794b86719 100644
--- a/src/cryptonote_core/tx_pool.h
+++ b/src/cryptonote_core/tx_pool.h
@@ -455,8 +455,14 @@ namespace cryptonote
*/
typedef std::unordered_map<crypto::key_image, std::unordered_set<crypto::hash> > key_images_container;
+#if defined(DEBUG_CREATE_BLOCK_TEMPLATE)
+public:
+#endif
mutable epee::critical_section m_transactions_lock; //!< lock for the pool
transactions_container m_transactions; //!< container for transactions in the pool
+#if defined(DEBUG_CREATE_BLOCK_TEMPLATE)
+private:
+#endif
//! container for spent key images from the transactions in the pool
key_images_container m_spent_key_images;