Skip to content
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

Trim Headers: headers_ahead underflows when blocks are ahead of headers (somehow) #1211

Closed
psgreco opened this issue Feb 21, 2023 · 0 comments · Fixed by #1212
Closed

Trim Headers: headers_ahead underflows when blocks are ahead of headers (somehow) #1211

psgreco opened this issue Feb 21, 2023 · 0 comments · Fixed by #1212
Assignees

Comments

@psgreco
Copy link
Contributor

psgreco commented Feb 21, 2023

0;31m node2 stderr net_processing.cpp:4535:34: runtime error: implicit conversion from type 'int' of value -5 (32-bit, signed) to type 'uint64_t' (aka 'unsigned long') changed the value to 18446744073709551611 (64-bit, unsigned)
    #0 0x55e1eef43b78 in (anonymous namespace)::PeerManagerImpl::SendMessages(CNode*) ./net_processing.cpp:4535:34
    #1 0x55e1eef4e7ed in non-virtual thunk to (anonymous namespace)::PeerManagerImpl::SendMessages(CNode*) ./net_processing.cpp
    #2 0x55e1eeea7358 in CConnman::ThreadMessageHandler() ./net.cpp:2268:28
@psgreco psgreco changed the title Trim Headers: nHeaderDownloadBuffer underflows when blocks are ahead of headers (somehow) Trim Headers: headers_ahead underflows when blocks are ahead of headers (somehow) Feb 21, 2023
@psgreco psgreco self-assigned this Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant