Skip to content

Conversation

@vasild
Copy link
Contributor

@vasild vasild commented Apr 15, 2025

Document the requirements around the NetEventsInterface's methods and the lifetime of CNode objects in CConnman::m_nodes.

@DrahtBot
Copy link
Contributor

DrahtBot commented Apr 15, 2025

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

Code Coverage & Benchmarks

For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/32278.

Reviews

See the guideline for information on the review process.

Type Reviewers
Stale ACK w0xlt

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

No conflicts as of last run.

LLM Linter (✨ experimental)

Possible typos and grammar issues:

  • no-referenced -> unreferenced [“no-referenced” is not a valid adjective; use “unreferenced” (or “no longer referenced”) to convey that the CNode has no references]

drahtbot_id_5_m

@vasild
Copy link
Contributor Author

vasild commented Apr 16, 2025

1091faf8ff...0f26ac35e2 and 0f26ac35e2...e44e669378: further elaborate how we safely access CNodes in m_nodes and how we avoid CNode destruction while it is being referenced.

@DrahtBot DrahtBot mentioned this pull request Apr 16, 2025
Copy link
Contributor

@w0xlt w0xlt left a comment

Choose a reason for hiding this comment

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

ACK e44e669

Clear improvement in documentation.

Document the requirements around the `NetEventsInterface`'s methods and
the lifetime of `CNode` objects in `CConnman::m_nodes`.

Co-authored-by: Anthony Towns <[email protected]>
@vasild vasild force-pushed the doc_NetEventsInterface branch from e44e669 to 110548c Compare November 13, 2025 15:42
@vasild
Copy link
Contributor Author

vasild commented Nov 13, 2025

e44e669378...110548c9ea: take suggestions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants