Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: GlowingGypsie on October 11, 2019, 10:58:37 AM



Title: Using .conf files
Post by: GlowingGypsie on October 11, 2019, 10:58:37 AM
Im running bitcoin on a Mac. How can I use a custom .conf file? On linux I cause parameters like -conf right?
I pasted the .conf file into Application Support/bitcoin but I need to let the app somehow know that I want to apply the .conf file to it.

Any advice?


Title: Re: Using .conf files
Post by: Chikito on October 11, 2019, 11:53:41 AM
I'm running bitcoin on a Mac. How can I use a custom .conf file? On Linux I cause parameters like -conf, right?
I pasted the .conf file into Application Support/bitcoin but I need to let the app somehow know that I want to apply the .conf file to it.

Any advice?
On windows, I use notepad++
I am not sure for Mac, I think you should try Textmate: https://macromates.com/
https://github.com/textmate/textmate/releases

https://en.wikipedia.org/wiki/TextMate
Quote
TextMate is a general-purpose GUI text editor for macOS created by Allan Odgaard. TextMate features declarative customizations, tabs for open documents, recordable macros, folding sections, snippets, shell integration, and an extensible bundle system


Title: Re: Using .conf files
Post by: HCP on October 11, 2019, 10:17:34 PM
I pasted the .conf file into Application Support/bitcoin but I need to let the app somehow know that I want to apply the .conf file to it.
No you don't... if your bitcoin.conf file is in that directory, then Bitcoin Core should use it automagically. To confirm that it is, if using GUI, you should be able to goto "Settings -> Options -> Main" and click the "Open Configuration File" button:
https://talkimg.com/images/2023/11/15/z5O53.png

It should open the file in your default text editor and you'll see the contents of the file... you should even be able to edit/save it and then when you restart Bitcoin Core the changes will be activated.


Title: Re: Using .conf files
Post by: turndealer on October 30, 2019, 09:05:02 AM
Im running bitcoin on a Mac. How can I use a custom .conf file? On linux I cause parameters like -conf right?
I pasted the .conf file into Application Support/bitcoin but I need to let the app somehow know that I want to apply the .conf file to it.

Any advice?

Since you are running Mac, and Using CLI to run your bitcoind

These should apply in your case


Sample bitcoin.conf

https://github.com/bitcoin/bitcoin/blob/master/share/examples/bitcoin.conf

default Path to bitcoin.conf

$HOME/Library/Application Support/Bitcoin/

Or
/Users/username/Library/Application Support/Bitcoin/bitcoin.conf

Your bitcoind should read bitcoin.conf from those default paths

Or you could override it using -conf option

example

bitcoind -conf=path_comes_here

Thanks