Skip to content

Conversation

dergoegge
Copy link
Member

Follow-up PR for #27257

  • Deletes the copy constructor/assignment operator of CNetMessage
  • Removes trivial getter for the connection type
  • Avoids passing nRecvFloodSize to CNode methods by passing it to CNode on creation

@DrahtBot
Copy link
Contributor

DrahtBot commented Mar 24, 2023

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

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK theStack, jnewbery

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

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #27114 (p2p: Allow whitelisting outgoing connections by brunoerg)
  • #26621 (refactor: Continue moving application data from CNode to Peer by dergoegge)
  • #25572 (refactor: Introduce EvictionManager and use it for the inbound eviction logic by dergoegge)
  • #25268 (refactor: Introduce EvictionManager 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.

@DrahtBot DrahtBot added the P2P label Mar 24, 2023
Copy link
Contributor

@jnewbery jnewbery left a comment

Choose a reason for hiding this comment

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

utACK f824725

One suggestion inline if you touch this PR again.

@dergoegge dergoegge force-pushed the 2023-03-27257-followup branch from f824725 to cd0c8ee Compare March 27, 2023 14:03
Copy link
Contributor

@theStack theStack left a comment

Choose a reason for hiding this comment

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

ACK cd0c8ee

@DrahtBot DrahtBot requested a review from jnewbery March 27, 2023 23:34
@jnewbery
Copy link
Contributor

utACK cd0c8ee

@DrahtBot DrahtBot removed the request for review from jnewbery March 28, 2023 09:56
@fanquake fanquake merged commit d254f94 into bitcoin:master Mar 28, 2023
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Mar 28, 2023
cd0c8ee [net] Pass nRecvFloodSize to CNode (dergoegge)
860402e [net] Remove trivial GetConnectionType() getter (dergoegge)
b5a85b3 [net] Delete CNetMessage copy constructor/assignment op (dergoegge)

Pull request description:

  Follow-up PR for bitcoin#27257

  * Deletes the copy constructor/assignment operator of `CNetMessage`
  * Removes trivial getter for the connection type
  * Avoids passing `nRecvFloodSize` to CNode methods by passing it to `CNode` on creation

ACKs for top commit:
  jnewbery:
    utACK cd0c8ee
  theStack:
    ACK cd0c8ee

Tree-SHA512: 673a758668617f69fba77e61f0eaa1538da27a4849c82c98742436692baa2d7f001129af3e7a66b160e599d12109dac08137a146f10ff9b9ebdc5c2237311d41
@bitcoin bitcoin locked and limited conversation to collaborators Mar 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants