mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-01-18 16:44:31 +00:00
Log message fixes
This commit is contained in:
parent
a27577f735
commit
8f2493edfc
2 changed files with 2 additions and 1 deletions
|
@ -495,6 +495,7 @@ void BlockTemplate::update(const MinerData& data, const Mempool& mempool, Wallet
|
||||||
|
|
||||||
LOGINFO(3, "final reward = " << log::Gray() << final_reward << log::NoColor() <<
|
LOGINFO(3, "final reward = " << log::Gray() << final_reward << log::NoColor() <<
|
||||||
", weight = " << log::Gray() << final_weight << log::NoColor() <<
|
", weight = " << log::Gray() << final_weight << log::NoColor() <<
|
||||||
|
", outputs = " << log::Gray() << m_poolBlockTemplate->m_outputs.size() << log::NoColor() <<
|
||||||
", " << log::Gray() << m_numTransactionHashes << log::NoColor() <<
|
", " << log::Gray() << m_numTransactionHashes << log::NoColor() <<
|
||||||
" of " << log::Gray() << m_mempoolTxs.size() << log::NoColor() << " transactions included");
|
" of " << log::Gray() << m_mempoolTxs.size() << log::NoColor() << " transactions included");
|
||||||
|
|
||||||
|
|
|
@ -411,7 +411,7 @@ bool SideChain::add_external_block(PoolBlock& block, std::vector<hash>& missing_
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!block.m_difficulty.check_pow(pow_hash)) {
|
if (!block.m_difficulty.check_pow(pow_hash)) {
|
||||||
LOGWARN(3, "add_external_block: not enougn PoW for height = " << block.m_sidechainHeight << ", mainchain height " << block.m_txinGenHeight);
|
LOGWARN(3, "add_external_block: not enough PoW for height = " << block.m_sidechainHeight << ", mainchain height " << block.m_txinGenHeight);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue