Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Jul 6, 2022

The variable does not need to be guarded by cs_main, so move it out of the cs_main scope. It is not used for validation-specific state, but only for headers-processing internal state and logging.

@maflcko maflcko force-pushed the 2207-p2p-less-cs_main- branch from 6eeeee5 to fac7da8 Compare July 6, 2022 18:56
@DrahtBot
Copy link
Contributor

DrahtBot commented Jul 7, 2022

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #26140 (refactor: Move CNodeState members guarded by g_msgproc_mutex to Peer by dergoegge)
  • #24571 (p2p: Prevent block index fingerprinting by sending additional getheaders messages by dergoegge)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@achow101
Copy link
Member

Are you still working on this?

@maflcko maflcko force-pushed the 2207-p2p-less-cs_main- branch 2 times, most recently from fa5585b to fad5d82 Compare October 24, 2022 12:57
@maflcko
Copy link
Member Author

maflcko commented Oct 24, 2022

Rebased, but closing for now to pick it up later

@maflcko maflcko closed this Oct 24, 2022
@maflcko maflcko deleted the 2207-p2p-less-cs_main-🍘 branch October 24, 2022 13:15
@bitcoin bitcoin locked and limited conversation to collaborators Oct 24, 2023
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