test: remove unused DynSock::Pipe::GetNetMsg and PushNetMsg #36713

Manually merged
fanquake merged 1 commit from remove_dynsock_netmsg into master 2026-11-06 12:38:43 +00:00 AGit
fanquake commented 2026-10-30 17:12:25 +00:00 (Migrated from github.com)

With these removed, WaitForDataOrEof and the condition variable are also removed.

This was merged as part of #30205, in advance of #26812, which never landed.

With these removed, `WaitForDataOrEof` and the condition variable are also removed. This was merged as part of #30205, in advance of #26812, which never landed.
DrahtBot commented 2026-10-30 17:12:35 +00:00 (Migrated from github.com)

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

External sites

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
ACK jpk68, willcl-ark, sedited

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36713 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36713.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36713#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. | Type | Reviewers | | ---- | --------- | | ACK | [jpk68](https://github.com/bitcoin/bitcoin/pull/36713#issuecomment-6532332641), [willcl-ark](https://github.com/bitcoin/bitcoin/pull/36713#pullrequestreview-5797733055), [sedited](https://github.com/bitcoin/bitcoin/pull/36713#pullrequestreview-5800058077) | If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore. <!--5faf32d7da4f0f540f40219e4f7537a3-->
First-time contributor

No verified findings are available from this review.

Review coverage was incomplete.


Reviewed: e172eb69df92 · Full review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:cb53b04ef14d76b14e33ac8e91b6800caa2d3a098083394b661cb31df63613e3:1e657457416e20a18d8d2d136919c48e28e1bfed7a76c26939ab1ca10a232c6a --> <!-- ralph-base:b048a3e8386a543dfae30dcc4552b37b06671caf --> <!-- ralph-head:e172eb69df92b5ef9cd5f4234de28430c1f7b7b8 --> <!-- ralph-case:0aec0327b86fdc6d4751a2bb7f6982e885adb57f899ad251c30ca5fe06d15b0b --> No verified findings are available from this review. Review coverage was incomplete. <!-- Review tier: routine --> --- Reviewed: [`e172eb69df92`](<https://git.fish.foo/bitcoin/bitcoin/commit/e172eb69df92b5ef9cd5f4234de28430c1f7b7b8>) · [Full review report](<https://review.fish.foo/traces/36713-e172eb69df92b5ef9cd5f4234de28430c1f7b7b8-1841-2.html>) · [Previous reports](<https://review.fish.foo/traces/36713/>) [permalink](<https://review.fish.foo/traces/36713-e172eb69df92b5ef9cd5f4234de28430c1f7b7b8-1841-2.html>)
jpk68 commented 2026-10-30 20:01:26 +00:00 (Migrated from github.com)
ACK e172eb69df92b5ef9cd5f4234de28430c1f7b7b8
willcl-ark (Migrated from github.com) approved these changes 2026-11-06 08:44:28 +00:00
willcl-ark (Migrated from github.com) left a comment

utACK e172eb69df

Nice cleanup that also removes (some tiny) unnecessary notification overhead.

Removing the unused blockign read path lets us drop the condition variable and its notifications from writes and EOF handling.

Using LOCK also makes it clearer that GetBytes() takes the mutex without waiting for data.

utACK e172eb69df92b5ef9cd5f4234de28430c1f7b7b8 Nice cleanup that also removes (some tiny) unnecessary notification overhead. Removing the unused blockign read path lets us drop the condition variable and its notifications from writes and EOF handling. Using `LOCK` also makes it clearer that `GetBytes()` takes the mutex without waiting for data.
sedited (Migrated from github.com) approved these changes 2026-11-06 12:27:04 +00:00
sedited (Migrated from github.com) left a comment

Reproduced ACK e172eb69df

I think if we ever want this back again in the tests, this seems straight forward enough to add back.

Reproduced ACK e172eb69df92b5ef9cd5f4234de28430c1f7b7b8 I think if we ever want this back again in the tests, this seems straight forward enough to add back.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36713
No description provided.