Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: smesterj on July 13, 2014, 10:16:39 PM



Title: Where is bitcoin.conf
Post by: smesterj on July 13, 2014, 10:16:39 PM
Hi, newbie here.
I want to modify bitcoin.conf to add RPCuser and RPCpassword lines but can't find bitcoin.conf in the place it suppose to be c:\Users\User\Appdata\Roaming, there is no Bitcoin folder there.
I m using Windows 7 64 and Bitcoin Core 0.9.2.1.
I am in the right place to ask this question?


Title: Re: Where is bitcoin.conf
Post by: Dare on July 13, 2014, 10:22:34 PM
Hi, newbie here.
I want to modify bitcoin.conf to add RPCuser and RPCpassword lines but can't find bitcoin.conf in the place it suppose to be c:\Users\User\Appdata\Roaming, there is no Bitcoin folder there.
I m using Windows 7 64 and Bitcoin Core 0.9.2.1.
I am in the right place to ask this question?


It should be in your datadir, which is C:\Users\User\AppData\Roaming\Bitcoin (you have it correct). Have you started the Bitcoin client or daemon? If not, it may not have been created yet.


Title: Re: Where is bitcoin.conf
Post by: smesterj on July 13, 2014, 10:39:14 PM
Hi Dare,
Thanks for your fast response, on initial installation I select the datadir to be in D:\BITCOIN, when looking there only the following files listed;

blocks (folder)
chainstate (folder)
database (folder)
.lock
db.log
debug.log
peers.dat
wallet.dat

I already set the folder options to show hidden files.


Title: Re: Where is bitcoin.conf
Post by: BookLover on July 13, 2014, 10:53:25 PM
From my experience Bitcoin Core doesn't create a bitcion.conf file by default.  You need to create bitcoin.conf yourself.  Make sure you show known file extensions so you don't accidently name it bitcoin.conf.txt.


Title: Re: Where is bitcoin.conf
Post by: Dare on July 13, 2014, 10:56:45 PM
Hi Dare,
Thanks for your fast response, on initial installation I select the datadir to be in D:\BITCOIN, when looking there only the following files listed;

blocks (folder)
chainstate (folder)
database (folder)
.lock
db.log
debug.log
peers.dat
wallet.dat

I already set the folder options to show hidden files.

I don't think bitcoin.conf is autogenerated, as bitcoind / Bitcoin-Qt will simply use the default settings unless you tell it otherwise. Just create it as a plain text file in your datadir with the settings you want, and it should work after you restart the client. The wiki page about it (https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File) should be useful for reference, but every setting is optional; mine looks like this:
Code:
rpcuser=Dare
rpcpassword=<Password goes here, I'm not posting mine :P>
rpcallowip=127.0.0.1
server=1


Title: Re: Where is bitcoin.conf
Post by: smesterj on July 14, 2014, 12:41:28 AM
Thank you very much for your help, I was starting to think something was not right.
Will create mine same way maybe using the password you provide. lol  :)
For what I see looks like I have to install IIS to allow Internet services in W7 correct?


Title: Re: Where is bitcoin.conf
Post by: Dare on July 14, 2014, 02:05:36 AM
Thank you very much for your help, I was starting to think something was not right.
Will create mine same way maybe using the password you provide. lol  :)
For what I see looks like I have to install IIS to allow Internet services in W7 correct?

You'll only need IIS (or Apache, or Nginx) if you want to run a web server on the computer; the bitcoin client itself is all you need for general use / mining / running a full node / etc.


Title: Re: Where is bitcoin.conf
Post by: btcsup on July 14, 2014, 06:09:27 AM
Hi, newbie here.
I want to modify bitcoin.conf to add RPCuser and RPCpassword lines but can't find bitcoin.conf in the place it suppose to be c:\Users\User\Appdata\Roaming, there is no Bitcoin folder there.
I m using Windows 7 64 and Bitcoin Core 0.9.2.1.
I am in the right place to ask this question?

You can use internal search function in windows.


Title: Re: Where is bitcoin.conf
Post by: zvs on July 14, 2014, 09:37:26 AM
Hi, newbie here.
I want to modify bitcoin.conf to add RPCuser and RPCpassword lines but can't find bitcoin.conf in the place it suppose to be c:\Users\User\Appdata\Roaming, there is no Bitcoin folder there.
I m using Windows 7 64 and Bitcoin Core 0.9.2.1.
I am in the right place to ask this question?

You can use internal search function in windows.

Not if it doesn't generate a bitcoin.conf file to begin with.

I've had all that junk turned off for some godawful long period of time, anyway.  Just slows things down.

If you need to find something, i.e. bitcoin.conf, go to command prompt, root directory, and type dir /s bitcoin.conf


Title: Re: Where is bitcoin.conf
Post by: Sydboy on July 14, 2014, 10:12:01 AM
thanks for the Zvs. I have been using windows for god knows how long and i was not aware of that.
It seems faster than the normal windows search or is it just a placebo ?