Skip to content

Conversation

@jnewbery
Copy link
Contributor

This addresses the two outstanding review comments from #21370.

It's a no-op. The ctor for RollingBloomFilter already calls reset().
Moves the default values closer to the member definitions.
@jnewbery
Copy link
Contributor Author

Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

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

ACK 6927933, I have reviewed the code and it looks OK, I agree it can be merged.

@practicalswift
Copy link
Contributor

practicalswift commented Mar 15, 2021

cr ACK 6927933: patch looks correct

Note to reviewers regarding the removal of m_recently_announced_invs.reset(): CRollingBloomFilter::reset() is already run as part of the CRollingBloomFilter ctor.

@maflcko maflcko merged commit c771fc0 into bitcoin:master Mar 15, 2021
@jnewbery jnewbery deleted the 2021-03-cnodestate-ctor-tidy branch March 15, 2021 17:17
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Mar 15, 2021
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants