Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Oct 25, 2021

Add coverage for the case where a peer is protected when it pretends to have a block.

Also, add some ASSERT_DEBUG_LOG to document the tests for the reader.

@DrahtBot
Copy link
Contributor

DrahtBot commented Oct 25, 2021

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

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
Concept ACK jamesob, jonatack, mzumsande

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:

  • #28464 (net: improve max-connection limits code by mzumsande)
  • #28463 (p2p: Increase inbound capacity for block-relay only connections by mzumsande)
  • #28155 (net: improves addnode / m_added_nodes logic by sr-gi)
  • #26812 (test: add end-to-end tests for CConnman and PeerManager by vasild)

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.

@jamesob
Copy link
Contributor

jamesob commented Dec 6, 2021

Concept ACK, will review soon

@jonatack
Copy link
Member

Concept ACK

@theuni
Copy link
Member

theuni commented Apr 25, 2023

Ping @MarcoFalke, apparently :)

@jonatack
Copy link
Member

I wonder if it's possible (and worth it) to tweak the test such that it would have caught #26172.

I have a test for that but haven't made the PR yet (I'll do that this week). I'll compare what I have to this PR since there's likely some overlap.

@LarryRuane any update on the test?

@maflcko maflcko closed this Feb 6, 2024
@maflcko maflcko deleted the 2110-testDos branch February 6, 2024 10:46
@bitcoin bitcoin locked and limited conversation to collaborators Feb 5, 2025
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.

8 participants