mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-01-05 10:19:23 +00:00
Log shares found by other nodes
This commit is contained in:
parent
aa14620a50
commit
8a7f1b1b3a
1 changed files with 4 additions and 1 deletions
|
@ -1275,6 +1275,9 @@ void SideChain::verify_loop(PoolBlock* block)
|
||||||
if (block->m_wantBroadcast && !block->m_broadcasted) {
|
if (block->m_wantBroadcast && !block->m_broadcasted) {
|
||||||
block->m_broadcasted = true;
|
block->m_broadcasted = true;
|
||||||
if (server && (block->m_depth < UNCLE_BLOCK_DEPTH)) {
|
if (server && (block->m_depth < UNCLE_BLOCK_DEPTH)) {
|
||||||
|
if (m_pool && (block->m_minerWallet == m_pool->params().m_wallet)) {
|
||||||
|
LOGINFO(0, log::Green() << "SHARE ADDED: height = " << block->m_sidechainHeight << ", id = " << block->m_sidechainId << ", mainchain height = " << block->m_txinGenHeight);
|
||||||
|
}
|
||||||
server->broadcast(*block, get_parent(block));
|
server->broadcast(*block, get_parent(block));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue