-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Bug] request_block_header(s) Redundancy #19094
Comments
Can you send us the log snippet that shows what you are seeing? For validation we sometimes have to go grab different blocks at different times so this could be expected but maybe not. Lets find out. Thanks |
Here is the log snippet. I obfuscated IP addresses and times.
And here are the contents of these request messages:
So I'm basically wondering why a request_block_headers message containing the same block height is send to a peer when a request_block_header message with that height was already sent to that peer. I will double check now but I think this will also result in an unnecessary received block header. Unnecessary because the wallet already received that block header from the same peer. Edit: I checked two pairs of respond_block_header/respond_block_headers that gave back a header block for the same height (from the same peer IP). The header block of the respond_block_header message contained a transaction_info section whereas the respond_block_headers message doesn't. |
What happened?
Hi there!
I noticed that the reference wallet, when synced, is doing a 'request_block_header' and a 'request_block_headers' operation at the same time (more or less). This seems rather redundant or is it not? Wouldn't it suffice if one process is polling new block headers instead of two?
Version
main
What platform are you using?
Linux
What ui mode are you using?
GUI
Relevant log output
No response
The text was updated successfully, but these errors were encountered: