LOGINFO(0,log::LightGreen()<<"BLOCK FOUND: main chain block at height "<<data.height<<" was mined by this p2pool"<<BLOCK_FOUND);
constWallet&w=params().m_wallet;
constchar*who=(block->m_minerWallet==w)?"you":"someone else in this p2pool";
LOGINFO(0,log::LightGreen()<<"BLOCK FOUND: main chain block at height "<<data.height<<" was mined by "<<who<<BLOCK_FOUND);
constuint64_tpayout=block->get_payout(w);
if(payout){
LOGINFO(0,log::LightCyan()<<"Your wallet "<<log::LightGreen()<<w<<log::LightCyan()<<" got a payout of "<<log::LightGreen()<<log::XMRAmount(payout)<<log::LightCyan()<<" in block "<<log::LightGreen()<<data.height);
LOGINFO(0,log::LightGreen()<<"BLOCK FOUND: main chain block at height "<<m_watchBlock.height<<" was mined by this p2pool"<<BLOCK_FOUND);
constWallet&w=m_pool->params().m_wallet;
constchar*who=(block.m_minerWallet==w)?"you":"someone else in this p2pool";
LOGINFO(0,log::LightGreen()<<"BLOCK FOUND: main chain block at height "<<m_watchBlock.height<<" was mined by "<<who<<BLOCK_FOUND);
m_watchBlockSidechainId={};
data=m_watchBlock;
block_found=true;
constWallet&w=m_pool->params().m_wallet;
constuint64_tpayout=block.get_payout(w);
if(payout){
LOGINFO(0,log::LightCyan()<<"Your wallet "<<log::LightGreen()<<w<<log::LightCyan()<<" got a payout of "<<log::LightGreen()<<log::XMRAmount(payout)<<log::LightCyan()<<" in block "<<log::LightGreen()<<data.height);