NetEventsInterface
’s methods and the lifetime of CNode
objects in CConnman::m_nodes
.
NetEventsInterface
’s methods and the lifetime of CNode
objects in CConnman::m_nodes
.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/32278.
See the guideline for information on the review process.
Type | Reviewers |
---|---|
ACK | w0xlt |
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Reviewers, this pull request conflicts with the following ones:
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.
Document the requirements around the `NetEventsInterface`'s methods and
the lifetime of `CNode` objects in `CConnman::m_nodes`.
1091faf8ff...0f26ac35e2
and 0f26ac35e2...e44e669378
: further elaborate how we safely access CNode
s in m_nodes
and how we avoid CNode
destruction while it is being referenced.
ACK https://github.com/bitcoin/bitcoin/pull/32278/commits/e44e669378f2c63b09eda68797039b73047febff
Clear improvement in documentation.