Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make connect=0 disable automatic outbound connections. #9002

Merged
merged 1 commit into from
Oct 25, 2016
Merged

Make connect=0 disable automatic outbound connections. #9002

merged 1 commit into from
Oct 25, 2016

Conversation

gmaxwell
Copy link
Contributor

Otherwise it just responds to this obvious bit of configuration by
trying to connect to "0" in a loop.

@luke-jr
Copy link
Member

luke-jr commented Oct 24, 2016

Concept ACK. I've always used it in this way, might as well make it official.

@jonasschnelli
Copy link
Contributor

utACK ec4d35cb501b79173c4fc55a8b4f6c3f97659fe6

@laanwj
Copy link
Member

laanwj commented Oct 24, 2016

Tested ACK ,needs documentation in HelpMessage though

@theuni
Copy link
Member

theuni commented Oct 24, 2016

Concept ACK. Don't we want this to disable dns seed queries too though? As-is, I believe this would actually force them.

@laanwj
Copy link
Member

laanwj commented Oct 24, 2016

Concept ACK. Don't we want this to disable dns seed queries too though?

I think @gmaxwell checked that

@sipa
Copy link
Member

sipa commented Oct 24, 2016

Code review ACK. Agree with documentation update.

@maflcko
Copy link
Member

maflcko commented Oct 24, 2016

utACK ec4d35c

Not sure if we need to document this. "Normal people" might be fine with just -maxconnections=0 and might not need to know about this?

@laanwj
Copy link
Member

laanwj commented Oct 25, 2016

Not sure if we need to document this. "Normal people" might be fine with just

I think we should aim to document everything, whether it exists for "normal people" or not. Developers need documentation too. Testers, too. Have you never forgotten about some specific option / combination of options to do a specific thing?

Otherwise it just responds to this obvious bit of configuration by
 trying to connect to "0" in a loop.
@laanwj
Copy link
Member

laanwj commented Oct 25, 2016

Travis failure is unrelated (p2p-compactblocks is having transient issues again), re-spinning

@laanwj laanwj merged commit 515e264 into bitcoin:master Oct 25, 2016
laanwj added a commit that referenced this pull request Oct 25, 2016
515e264 Make connect=0 disable automatic outbound connections. (Gregory Maxwell)
codablock pushed a commit to codablock/dash that referenced this pull request Jan 13, 2018
…ions.

515e264 Make connect=0 disable automatic outbound connections. (Gregory Maxwell)
zkbot added a commit to zcash/zcash that referenced this pull request Mar 21, 2018
Misc upstream PRs

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6077
  - Second commit only (first was already applied to 0.11.X and then reverted)
- bitcoin/bitcoin#6284
- bitcoin/bitcoin#6489
- bitcoin/bitcoin#6462
- bitcoin/bitcoin#6647
- bitcoin/bitcoin#6235
- bitcoin/bitcoin#6905
- bitcoin/bitcoin#6780
  - Excluding second commit (QT) and third commit (requires bitcoin/bitcoin#6993)
- bitcoin/bitcoin#6961
  - Excluding QT parts, and a small `src/policy/policy.cpp` change which depends on a bunch of other PRs, which we'll have to remember to come back to.
- bitcoin/bitcoin#7044
- bitcoin/bitcoin#8856
- bitcoin/bitcoin#9002

Part of #2074 and #2132.
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
…ions.

515e264 Make connect=0 disable automatic outbound connections. (Gregory Maxwell)
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request Feb 15, 2019
…ions.

515e264 Make connect=0 disable automatic outbound connections. (Gregory Maxwell)
zkbot added a commit to zcash/zcash that referenced this pull request Dec 4, 2019
Misc upstream PRs

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6077
  - Second commit only (first was already applied to 0.11.X and then reverted)
- bitcoin/bitcoin#6284
- bitcoin/bitcoin#6489
- bitcoin/bitcoin#6235
- bitcoin/bitcoin#6905
- bitcoin/bitcoin#6780
  - Excluding second commit (QT) and third commit (requires bitcoin/bitcoin#6993)
- bitcoin/bitcoin#6961
  - Excluding QT parts, and a small `src/policy/policy.cpp` change which depends on a bunch of other PRs, which we'll have to remember to come back to.
- bitcoin/bitcoin#7044
- bitcoin/bitcoin#8856
- bitcoin/bitcoin#9002

Part of #2074 and #2132.
random-zebra added a commit to PIVX-Project/PIVX that referenced this pull request May 20, 2020
…nections.

8a5f201 Make connect=0 disable automatic outbound connections. (furszy)

Pull request description:

  Coming from upstream@[9002](bitcoin#9002)

ACKs for top commit:
  random-zebra:
    utACK 8a5f201
  Fuzzbawls:
    ACK 8a5f201

Tree-SHA512: 3ccec00318f35b44b6b843a0cbee99f78cd30354f9363969bf55629490ac4f252a1eb270e669964999a13841ec4df37b155076792d81cbde2df684156910e545
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
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.

7 participants