Repository navigation
Conversation
-onlynet only restricts automatic outbound connections: the node still binds to and accepts inbound connections on other networks, and manual connections are unaffected. The name suggests otherwise, this has led to confusion, sometimes even among contributors. Therefore rename the misleading option so what it achieves is clearer to users. The term "outbound" is already used in multiple places in our user interface.
Leave alone the lines that handle the deprecated -onlynet alias. -BEGIN VERIFY SCRIPT- git grep -l onlynet -- src doc test ':(exclude)src/qt' ':(exclude)doc/release-notes' | xargs sed -i -e '/[Dd]eprecated\|"-onlynet/!s/onlynet/outboundnet/g' -e 's/onlynet_used_with_onion/outboundnet_used_with_onion/g' -END VERIFY SCRIPT-
Contributor
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. External sites
ReviewsSee the guideline and AI policy for information on the review process. ConflictsReviewers, this pull request conflicts with the following ones:
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. |
darosior
force-pushed
the
2612_outboundnet
branch
2 times, most recently
from
December 2, 2026 15:54
adcf6c9 to
1d511ad
Compare
This was referenced Dec 3, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

The
-onlynetname is misleading, since that option only restricts automatic outbound connections. Manual and inbound connections may still be established on other networks. This has been a source of confusion, sometimes even among contributors to the software. Fix this by renaming the option to-outboundnet, which better suggests what the option achieves. The term "outbound" is already used in multiples places in our user interfaces.