1

After doing some research it is supposed to be under ~/Library/Application Support/Bitcoin/

But on my computer there is no Bitcoin.conf under ~/Library/Application Support/Bitcoin !

So where do I find Bitcoin.conf?

zhiyan114
  • 676
  • 7
  • 24
skyde
  • 113
  • 1
  • 5

3 Answers3

1

Bitcoin.conf usually arent come with it so you have to make one manually by making a file and naming it bitcoin.conf

After you made it, you can use the link below to use the configuration as template

LINK

Hope the answer above is what your looking for

zhiyan114
  • 676
  • 7
  • 24
  • I never installed bitcoin core on Mac so I'm not fully sure but anyway, when you run bitcoin core as first time, it will ask you where to have the data directory located and if you choose the first option then it will save it to the default located overwise it will saved on where you choose it should be – zhiyan114 Jan 22 '18 at 22:23
  • I know where the data directory is located and it contain wallet.dat ... but not bitcoin.conf – skyde Jan 23 '18 at 02:01
  • Ohh next time, please ask your question clear and not just on the title – zhiyan114 Jan 23 '18 at 02:30
  • Use the new answer i provided – zhiyan114 Jan 23 '18 at 02:30
  • my data folder is not located under ~/Library/Application Support/Bitcoin/ does that mean I should create the bitcoin.conf in this path or the data folder path? – skyde Jan 23 '18 at 16:13
  • Create a file named bitcoin.conf on where the bitcoin data directory is – zhiyan114 Jan 23 '18 at 22:09
0

Running the Bitcoin core software the first time should create that directory, but then that also loads the mainnet as default. If you don't want that, then you must first manually create the directory and then the Bitcoin.conf file before running the software

i.e

mkdir $HOME/Library/Application\ Support/Bitcoin

vi $HOME/Library/Application\ Support/Bitcoin/Bitcoin.conf

Next proceed to open the file and set

testnet=1

Now run the bitcoin core software to see its now reading from testnet

Edwin O.
  • 101
  • 1
0

by default it goes into the path that you described. If the path was changed, then a search in finder can help. However: search in finder doesn't look into every directory. Try to search for filenames "wallet.dat" or "mempool.dat". Also press the left ALT key, and chose "go to", and select library. Then again do the search in finder. Only then my location was found with the mentioned files. If this doesn't help, open a terminal, and try this:

cd /Users
find . -type f -name wallet.dat

there might be many Permission denied messages, but it would show, if file was found. If not, there is simply no message. If this still doesn't help, go another directory up ("cd /"), and try again. Time to search will massivly increase then...

pebwindkraft
  • 5,086
  • 2
  • 13
  • 34