diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-10-30 00:58:14 -0400 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2015-01-04 19:31:19 -0800 |
commit | 09159131111b2c2c6ff6c620fa3b73624d38a2be (patch) | |
tree | 9f9f08c6419d88fbc06458b179687060edcdcfaa /src/cryptonote_core/blockchain_db.cpp | |
parent | some bug fixes, but still needs work (diff) | |
download | monero-09159131111b2c2c6ff6c620fa3b73624d38a2be.tar.xz |
BlockchainLMDB seems to be working*!
* - Well, mostly. Haven't let it sync too far just yet. Currently
trying to figure out the best way to deal with LMDB/mmap virtual memory
pages.
Diffstat (limited to 'src/cryptonote_core/blockchain_db.cpp')
-rw-r--r-- | src/cryptonote_core/blockchain_db.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/cryptonote_core/blockchain_db.cpp b/src/cryptonote_core/blockchain_db.cpp index c7109dd20..439cf5ded 100644 --- a/src/cryptonote_core/blockchain_db.cpp +++ b/src/cryptonote_core/blockchain_db.cpp @@ -45,10 +45,6 @@ void BlockchainDB::add_transaction(const crypto::hash& blk_hash, const transacti { crypto::hash tx_hash = get_transaction_hash(tx); - LOG_PRINT_L0("Adding tx with hash " << pod_to_hex(tx_hash) << " to BlockchainDB instance"); - LOG_PRINT_L0("Included in block with hash " << pod_to_hex(blk_hash)); - LOG_PRINT_L0("Unlock time == " << tx.unlock_time); - add_transaction_data(blk_hash, tx); // iterate tx.vout using indices instead of C++11 foreach syntax because @@ -66,10 +62,6 @@ void BlockchainDB::add_transaction(const crypto::hash& blk_hash, const transacti { add_spent_key(boost::get<txin_to_key>(tx_input).k_image); } - else - { - LOG_PRINT_L0("Is miner tx"); - } } } } @@ -82,7 +74,6 @@ uint64_t BlockchainDB::add_block( const block& blk ) { crypto::hash blk_hash = get_block_hash(blk); - LOG_PRINT_L0("Adding block with hash " << pod_to_hex(blk_hash) << " to BlockchainDB instance."); // call out to subclass implementation to add the block & metadata add_block(blk, block_size, cumulative_difficulty, coins_generated); |