mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 08:58:52 +00:00
change to debug level
This commit is contained in:
parent
7174ff9bcb
commit
89c0a9de4c
@ -1351,7 +1351,7 @@ void BlockchainLMDB::open(const std::string& filename, const int db_flags)
|
|||||||
if (is_hdd_result)
|
if (is_hdd_result)
|
||||||
{
|
{
|
||||||
if (is_hdd_result.value())
|
if (is_hdd_result.value())
|
||||||
MCLOG_RED(el::Level::Warning, "global", "The blockchain is on a rotating drive: this will be very slow, use an SSD if possible");
|
MCLOG_RED(el::Level::Debug, "global", "The blockchain is on a rotating drive: this will be very slow, use an SSD if possible");
|
||||||
}
|
}
|
||||||
|
|
||||||
m_folder = filename;
|
m_folder = filename;
|
||||||
|
@ -2080,7 +2080,7 @@ namespace cryptonote
|
|||||||
MDEBUG("blocks in the last " << seconds[n] / 60 << " minutes: " << b << " (probability " << p << ")");
|
MDEBUG("blocks in the last " << seconds[n] / 60 << " minutes: " << b << " (probability " << p << ")");
|
||||||
if (p < threshold)
|
if (p < threshold)
|
||||||
{
|
{
|
||||||
MWARNING("There were " << b << (b == max_blocks_checked ? " or more" : "") << " blocks in the last " << seconds[n] / 60 << " minutes, there might be large hash rate changes, or we might be partitioned, cut off from the Wownero network or under attack, or your computer's time is off. Or it could be just sheer bad luck.");
|
MDEBUG("There were " << b << (b == max_blocks_checked ? " or more" : "") << " blocks in the last " << seconds[n] / 60 << " minutes, there might be large hash rate changes, or we might be partitioned, cut off from the Wownero network or under attack, or your computer's time is off. Or it could be just sheer bad luck.");
|
||||||
|
|
||||||
std::shared_ptr<tools::Notify> block_rate_notify = m_block_rate_notify;
|
std::shared_ptr<tools::Notify> block_rate_notify = m_block_rate_notify;
|
||||||
if (block_rate_notify)
|
if (block_rate_notify)
|
||||||
|
@ -1534,7 +1534,7 @@ namespace cryptonote
|
|||||||
txpool_tx_meta_t meta;
|
txpool_tx_meta_t meta;
|
||||||
if (!m_blockchain.get_txpool_tx_meta(txid, meta))
|
if (!m_blockchain.get_txpool_tx_meta(txid, meta))
|
||||||
{
|
{
|
||||||
MERROR("Failed to find tx meta in txpool");
|
MDEBUG("Failed to find tx meta in txpool");
|
||||||
// continue, not fatal
|
// continue, not fatal
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user