mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-22 19:39:22 +00:00
Revert "Broadcast uncle blocks at the same height"
This reverts commit 530079b8a5
.
This commit is contained in:
parent
530079b8a5
commit
f1ff6a21ee
1 changed files with 0 additions and 4 deletions
|
@ -1662,10 +1662,6 @@ void SideChain::update_chain_tip(const PoolBlock* block)
|
|||
LOGINFO(4, "possible uncle block: id = " << log::Gray() << block->m_sidechainId << log::NoColor() <<
|
||||
", height = " << log::Gray() << block->m_sidechainHeight);
|
||||
m_pool->update_block_template_async();
|
||||
// Broadcast it if it's at the same height to give it higher chances to be mined
|
||||
if (block->m_sidechainHeight == tip->m_sidechainHeight) {
|
||||
block->m_wantBroadcast = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (p2pServer() && block->m_wantBroadcast && !block->m_broadcasted) {
|
||||
|
|
Loading…
Reference in a new issue