Skip to content

Conversation

brunoerg
Copy link
Contributor

Fixes #26808

When node0 calls disconnectnode to disconnect node1, we should check in node1 if it worked, because for node0 the informations in getpeerinfo may be updated before really completing the disconnection.

When `node0` calls `disconnectnode` to disconnect `node1`, we should check in `node1` if it worked, because for `node0` the informations in `getpeerinfo` may be updated before really completing the disconnection.
@DrahtBot
Copy link
Contributor

DrahtBot commented Feb 20, 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 MarcoFalke

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

@DrahtBot DrahtBot added the Tests label Feb 20, 2023
@maflcko
Copy link
Member

maflcko commented Feb 20, 2023

lgtm ACK 1819564

@fanquake fanquake merged commit 150cc8e into bitcoin:master Feb 20, 2023
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Feb 25, 2023
…ban`

1819564 test: fix intermittent issue in `p2p_disconnect_ban` (brunoerg)

Pull request description:

  Fixes bitcoin#26808

  When `node0` calls `disconnectnode` to disconnect `node1`, we should check in `node1` if it worked, because for `node0` the informations in `getpeerinfo` may be updated before really completing the disconnection.

ACKs for top commit:
  MarcoFalke:
    lgtm ACK 1819564

Tree-SHA512: 53a386fc38e2faa6f6da3536e76857ff4b6f55e2590d73fe857b3fe5d0f3ff92c5c7e4abd50ab4be250cb2106a4d14ad95d4809ea60c6e00ed3ac0e71255b0b0
@bitcoin bitcoin locked and limited conversation to collaborators Feb 20, 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.

p2p_disconnect_ban intermittent issue
4 participants