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:
|
if v >= total_vote_count // 2: |
Should this perhaps be > rather than >= as it seems that a clear winner is not obvious for equally weighted children.
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.