You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current BlockChain<T>.MineBlock() doesn't stop mining when the chain's tip was changed by accepting a block from other miners. at this time, the mined block has the same index as a received block, so it always will fail to append.
To prevent this scenario, BlockChain<T>.MineBlock() should stop when its tip was changed.
The text was updated successfully, but these errors were encountered:
longfin
changed the title
Stop mining when the chains' tip was changed
Stop mining when the chain's tip was changed
Aug 26, 2019
dahlia
changed the title
Stop mining when the chain's tip was changed
Mining should stopped when the chain's tip is changed
Aug 27, 2019
The current
BlockChain<T>.MineBlock()
doesn't stop mining when the chain's tip was changed by accepting a block from other miners. at this time, the mined block has the same index as a received block, so it always will fail to append.To prevent this scenario,
BlockChain<T>.MineBlock()
should stop when its tip was changed.The text was updated successfully, but these errors were encountered: