aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-04-23 11:43:12 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-04-23 11:43:12 +0100
commit6b13976330b6a7d3ebbea160080146c8eb46e1d3 (patch)
treeddca48ed5e677726fd30111f5105012deb7e743b /src
parentMerge pull request #3670 (diff)
downloadmonero-6b13976330b6a7d3ebbea160080146c8eb46e1d3.tar.xz
blockchain: log in DEBUG when a block is found, and where
Eases up debugging
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/blockchain.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index f02a1f8d6..0ad1c8c99 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -2217,19 +2217,19 @@ bool Blockchain::have_block(const crypto::hash& id) const
if(m_db->block_exists(id))
{
- LOG_PRINT_L3("block exists in main chain");
+ LOG_PRINT_L2("block " << id << " found in main chain");
return true;
}
if(m_alternative_chains.count(id))
{
- LOG_PRINT_L3("block found in m_alternative_chains");
+ LOG_PRINT_L2("block " << id << " found in m_alternative_chains");
return true;
}
if(m_invalid_blocks.count(id))
{
- LOG_PRINT_L3("block found in m_invalid_blocks");
+ LOG_PRINT_L2("block " << id << " found in m_invalid_blocks");
return true;
}