diff options
author | Thomas Winget <tewinget@gmail.com> | 2015-03-25 07:30:23 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2015-03-25 07:30:23 -0400 |
commit | 874f48bc82a5d73695171287a8397d037b471547 (patch) | |
tree | 8db94233f02c113f2f0a91febfba55a3f6beeb79 /src/blockchain_converter/fake_core.h | |
parent | BerkeleyDB implementation of BlockchainDB seems to be working! (diff) | |
parent | Merge upstream updates into blockchain branch (diff) | |
download | monero-874f48bc82a5d73695171287a8397d037b471547.tar.xz |
update berkeleydb branch to blockchain branch
Diffstat (limited to 'src/blockchain_converter/fake_core.h')
-rw-r--r-- | src/blockchain_converter/fake_core.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/blockchain_converter/fake_core.h b/src/blockchain_converter/fake_core.h index aff249cd9..175cb4660 100644 --- a/src/blockchain_converter/fake_core.h +++ b/src/blockchain_converter/fake_core.h @@ -55,7 +55,7 @@ struct fake_core_lmdb m_pool.init(path.string()); m_storage.init(path.string(), use_testnet, mdb_flags); if (do_batch) - m_storage.get_db()->set_batch_transactions(do_batch); + m_storage.get_db().set_batch_transactions(do_batch); support_batch = true; support_add_block = true; } @@ -71,17 +71,17 @@ struct fake_core_lmdb , const std::vector<transaction>& txs ) { - return m_storage.get_db()->add_block(blk, block_size, cumulative_difficulty, coins_generated, txs); + return m_storage.get_db().add_block(blk, block_size, cumulative_difficulty, coins_generated, txs); } void batch_start() { - m_storage.get_db()->batch_start(); + m_storage.get_db().batch_start(); } void batch_stop() { - m_storage.get_db()->batch_stop(); + m_storage.get_db().batch_stop(); } }; |