aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-24 08:33:19 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-25 16:24:56 +0000
commit4b51f9a34f86c6bfb9cf8aafd30e649addf888ed (patch)
treee28a01cfd2201b7a2c5dd63af2afd1ac861ef21b /src/cryptonote_core/blockchain.h
parentMerge pull request #5548 (diff)
downloadmonero-4b51f9a34f86c6bfb9cf8aafd30e649addf888ed.tar.xz
core: do not commit half constructed batch db txn
Diffstat (limited to 'src/cryptonote_core/blockchain.h')
-rw-r--r--src/cryptonote_core/blockchain.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h
index 6200ec87e..32ed96b5b 100644
--- a/src/cryptonote_core/blockchain.h
+++ b/src/cryptonote_core/blockchain.h
@@ -1102,6 +1102,9 @@ namespace cryptonote
uint64_t m_btc_expected_reward;
bool m_btc_valid;
+
+ bool m_batch_success;
+
std::shared_ptr<tools::Notify> m_block_notify;
std::shared_ptr<tools::Notify> m_reorg_notify;