-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin/bitcoin#28078: net, refactor: remove unneeded exports, …
…use helpers over low-level code, use optional 4ecfd3e Inline short, often-called, rarely-changed basic CNetAddr getters (Jon Atack) 5316ae5 Convert GetLocal() to std::optional and remove out-param (Jon Atack) f1304db Use higher-level CNetAddr and CNode helpers in net.cpp (Jon Atack) 07f5891 Add CNetAddr::IsPrivacyNet() and CNode::IsConnectedThroughPrivacyNet() (Jon Atack) df48856 GetLocal() type-safety, naming, const, and formatting cleanups (stickies-v) fb42657 Add and use CNetAddr::HasCJDNSPrefix() helper (Jon Atack) 5ba73cd Move GetLocal() declaration from header to implementation (Jon Atack) 11426f6 Move CaptureMessageToFile() declaration from header to implementation (Jon Atack) deccf1c Move IsPeerAddrLocalGood() declaration from header to implementation (Jon Atack) Pull request description: and other improvements noticed while reviewing #27411. Addresses bitcoin/bitcoin#27411 (comment) and bitcoin/bitcoin#27411 (comment). See commit messages for details. ACKs for top commit: achow101: ACK 4ecfd3e vasild: ACK 4ecfd3e stickies-v: ACK 4ecfd3e Tree-SHA512: d792bb2cb24690aeae9bedf97e92b64fb6fd080c39385a4bdb8ed05f37f3134d85bda99da025490829c03017fd56382afe7951cdd039aede1c08ba98fb1aa7f9
- Loading branch information
Showing
4 changed files
with
45 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters