-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Peer Status Information Abnormal #5866
Comments
@liuyifei001 If this value remains 0 all the time, it is definitely abnormal. The issue should be that after processing the broadcast block, the value last_known_block_num was not updated properly. |
@liuyifei001 That's abnormal and it's a problem that we ignored ago. |
@liuyifei001 I have resolve this problem like this: After processing a block from one broadcasting peer, node will look up the blockID in all peers' advInvReceive to decide if the peer has sent me the block inventory already. If sent, the block_both_have will be set. See more details on #5925 |
Done: merge to release_v4.7.6 |
Software Versions
Expected behaviour
I understand that this field is the common block height of two nodes. But why is the item last_know_block_num of some peer status information always 0? Is this normal?
Actual behaviour
We can see from the log in every 10 seconds, like this:
Most peers’s last_know_block_num is 0. For instance, my node has 30 peers, but 21 of them are 0.
Frequency
Every 10 seconds.
Steps to reproduce the behaviour
Run the fullnode with the main_net_config.conf, and Nile testnet has the same problems.
Backtrace
When submitting logs: please submit them as text and not screenshots.
The text was updated successfully, but these errors were encountered: