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
dahlia
changed the title
Circumstances where the chain flips regardless of TotalDifficultyCompaire.
Circumstances where the chain flips regardless of TotalDifficultyCompare.
Jun 24, 2021
A slightly strange log was detected.
Note the chain is swapped to the wrong chain.
And I found some strange code on
Swarm.BlockSync.SyncPreviousBlockSync()
.https://github.com/planetarium/libplanet/blob/2eaab5a8b1/Libplanet/Net/Swarm.BlockSync.cs#L175
May this code cause wrong logic if the chain tip is null.
PS. I attach some code snippets and chain data for the debug.
https://gist.github.com/riemannulus/8e24f9a99aaad16db41a0ee2fb8bc1f4
https://download.nine-chronicles.com/miner.tar.gz
The text was updated successfully, but these errors were encountered: