Bitcoin Forum
November 03, 2024, 05:13:10 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Using .conf files  (Read 147 times)
GlowingGypsie (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
October 11, 2019, 10: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?
Chikito
Legendary
*
Offline Offline

Activity: 2562
Merit: 2076


View Profile WWW
October 11, 2019, 11: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
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
October 11, 2019, 10:17:34 PM
Last edit: November 15, 2023, 07:15:48 AM by HCP
 #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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
turndealer
Newbie
*
Offline Offline

Activity: 16
Merit: 3


View Profile
October 30, 2019, 09: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



Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!