Author

Topic: Using .conf files (Read 147 times)

newbie
Activity: 16
Merit: 3
October 30, 2019, 05:05:02 AM
#4
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



legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
October 11, 2019, 02:37:17 PM
#3
According to https://en.bitcoin.it/wiki/Running_Bitcoin, Bitcoin Core automatically looks for bitcoin.conf file on directory where Bitcoin Core is running.

So all you need to is copy bitcoin.conf to $HOME/Library/Application Support/Bitcoin/
HCP
legendary
Activity: 2086
Merit: 4318
October 11, 2019, 06:17:34 PM
#3
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:


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.
legendary
Activity: 2366
Merit: 2054
October 11, 2019, 07:53:41 AM
#2
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
newbie
Activity: 6
Merit: 0
October 11, 2019, 06:58:37 AM
#1
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?
Jump to: