Skip to content

Conversation

@maflcko
Copy link
Member

@maflcko maflcko commented Aug 2, 2021

No description provided.

Also: Always compile the function signature to avoid similar issues in
the future.
@maflcko maflcko closed this Aug 2, 2021
@maflcko maflcko deleted the 2108-addrmanConstCheck branch August 2, 2021 12:30
@jnewbery
Copy link
Contributor

jnewbery commented Aug 2, 2021

I've cherry picked this commit into #20233

#ifdef DEBUG_ADDRMAN
//! Perform consistency check. Returns an error code or zero.
int Check_() const EXCLUSIVE_LOCKS_REQUIRED(cs);
#endif
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This patch builds and runs for me. Note, it completely removes the #ifdef DEBUG_ADDRMAN checks from src/addrman.h.

@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants