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
In the event a chain has two children of equal weight and the log lookup is successful, the implementation calls get_clear_winner(). This will choose a winner based on the ordering of the python dictionary (in contrast to the bitwise selection which breaks ties based on lowest hash of the block). See line:
This issue refers to the bitwise LMD Ghost implementation:
https://github.com/ethereum/research/blob/master/ghost/ghost.py
In the event a chain has two children of equal weight and the log lookup is successful, the implementation calls
get_clear_winner()
. This will choose a winner based on the ordering of the python dictionary (in contrast to the bitwise selection which breaks ties based on lowest hash of the block). See line:research/ghost/ghost.py
Line 67 in 7db6b87
Should this perhaps be
>
rather than>=
as it seems that a clear winner is not obvious for equally weighted children.The text was updated successfully, but these errors were encountered: