Skip to content

Fix #846. Allow negative options such as "nolisten=1" in bitcoin.conf as well as on the command line.#847

Merged
dooglus merged 0 commit intobitcoin:masterfrom
dooglus:master
Feb 16, 2012
Merged

Fix #846. Allow negative options such as "nolisten=1" in bitcoin.conf as well as on the command line.#847
dooglus merged 0 commit intobitcoin:masterfrom
dooglus:master

Conversation

@dooglus
Copy link
Copy Markdown
Contributor

@dooglus dooglus commented Feb 16, 2012

I copied this whole block out of ParseParameters() and changed the variable names.

Perhaps it's better to move this code into a new function and call it from both places.

Or we could just process all the "-no" parameters at once, after bitcoin.conf has been processed.

The "--" -> "-" processing needs to stay where it is, however, so that --datadir= can be used to locate bitcoin.conf.

@gavinandresen
Copy link
Copy Markdown
Contributor

I think a separate method called from ParseParameters and ReadConfigFile is the better way to go.

@dooglus dooglus merged commit b7c25e0 into bitcoin:master Feb 16, 2012
ptschip pushed a commit to ptschip/bitcoin that referenced this pull request Dec 19, 2017
* New bitmask based category logging system
* removed a stray | in util_Logging
* fix all comments from bitcoin#847 review
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request Apr 6, 2019
dc168d1 fix to display missing clock5.png tx image (joeuhren)

Tree-SHA512: d10828e76ad1b2e034b013a1c3cac9cf79dfdc642a11d1a6493d615a19982d50fc09343b3b39171ba7c25202f29ed0532f1bc539c42fbdad37a19e58adcc48b1
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants