Questions tagged [bitcoin.conf]

Bitcoin's configuration file.

Bitcoin's configuration file. Use this to configure your Bitcoin client settings.

101 questions
40
votes
4 answers

What are pros and cons of txindex option?

I am reading "Mastering Bitcoin" written by Andreas and I found this explanation about "txindex option" Transaction Database Index and txindex Option By default, Bitcoin Core builds a database containing only the transactions related to the…
zono
  • 1,895
  • 1
  • 19
  • 35
16
votes
1 answer

How do I specify in which directory Bitcoin blocks and other data should be stored?

I am on Windows and installed the Bitcoin wallet. The block folder seems to grow bigger everyday and is stored on my C drive in the roaming directory. I would like to set this to some other folder on another drive, which has more place. How would I…
Enthusiast
  • 433
  • 1
  • 9
  • 16
12
votes
4 answers

Where is the configuration file of Bitcoin-Qt kept?

I keep getting this error: EXCEPTION: N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15 program_options26invalid_config_file_syntaxEEEEE the options configuration file contains an invalid line 'XXXXXXXXXXX' Where can I find the…
Haddar Macdasi
  • 978
  • 1
  • 14
  • 22
9
votes
1 answer

How to open bitcoind -daemon using command line in Windows?

I have created a conf file on the following path: C:\Users\NAME\AppData\Roaming\Bitcoin\bitcoin.conf When I run the Bitcoind file, nothing happens. My command line window becomes unresponsive as if it's waiting. I've waited ~1 hour, and my computer…
Lars Holdgaard
  • 425
  • 2
  • 4
  • 8
8
votes
1 answer

How to tell bitcoind to use more memory and CPU

I just updated my node to 0.12 and its going through its long verification process but I noticed that its not using very much memory/cpu pi 602 10.5 19.4 352220 184312 ? Ssl 21:57 1:28 /usr/local/bin/bitcoind…
xenostar
  • 81
  • 1
  • 2
6
votes
1 answer

Bitcoind doesn't add miner fee

How do I make sure bitcoind's RPC call sendtoaddress adds miner fees to transactions? Tried adding to our bitcoin.conf file: mintxfee=0.0001 But some of the transactions still won't get any miner fee attached, causing payments to take hours or days…
6
votes
2 answers

What does the `gen` option in bitcoin.conf do?

The gen option isnt copiously described in the sample bitcoin.conf file ... does that mean that the daemon started up will attempt to mine for coins?
5
votes
1 answer

addnode in bitcoin.conf doesn't work (Regtest mode)

I'm trying to make to nodes on the same computer communicate. I set up two bitcoin folder with two bitcoin.conf files. bitcoin.conf in the second node is the following: rpcuser=bitcoinrpc rpcpassword=roiroiroiroiroi addnode=127.0.0.1:18444 while…
5
votes
1 answer

Is -blocknotify triggered during catch-up?

My node is way behind and I noticed the -blocknoitfy action specified in bitcoin.conf is not being triggered. Which is OK for now, because the node has so much catching up to do, the script wouldn't do any good anyway. Is this correct behavior? At…
pinhead
  • 4,932
  • 2
  • 23
  • 38
5
votes
1 answer

rpcallowip=192.168.0.* ?? invalid configuration

I recently downloaded bitcoin from github and changed the settings to allow for rpc. This is how I have it: rpcallowip=192.168.0.* This does not work anymore. However when running bitcoind, it complains that: Error: Invalid -rpcallowip subnet…
Prem Govind
  • 99
  • 1
  • 6
5
votes
2 answers

Cannot get Bitcoin-QT to run in testnet mode

I downloaded Bitcoin-QT for Windows 7 into: MYUSERNAME/Downloads/bitcoin-0.8.6-win32/bitcoin-0.8.6-win32 I want to run Bitcoin in testnet mode, so I created bitcoin.conf with only the following content: testnet=1 I put copies of bitcoin.conf…
JLP
  • 229
  • 5
  • 13
4
votes
2 answers

Unable to bind any endpoint for RPC server

I recently updated my bitcoin docker image to bitcoing v0.18.0 version and can't allow external rpc connections to it now. It binds to localhost if I set rpcallowip=X.X.X.X, then I tried to used rpcbind parameter also, but couldn't set my docker…
4
votes
1 answer

What is the optimal Bitcoin Core 0.17 settings in bitcoin.conf settings for running a full node with a very beefy system?

Is there an optimal bitcoin.conf setting file I should use when running a bitcoin core full node? I have a very beefy system with 16 core processor, 32gb ram, and nvme hard drive. I wan't to be able to dedicated as much resources as needed for the…
Patoshi パトシ
  • 10,956
  • 18
  • 80
  • 151
4
votes
1 answer

Does bitcoin.conf expand environment variables?

I would like to store my Bitcoin RPC passwords and usernames in environment variables, like: rpcuser=$RPC_USER rpcpassword=$RPC_PASSWORD Is this supported in bitcoin core? Can environmental variables be parsed from my bitcoin.conf file?
alfetopito
  • 143
  • 4
3
votes
1 answer

What bitcoin core options can be changed without a restart?

I often experiment with new bitcoin core options (like zmq, debug and fee options) and I would like to avoid restarting my node for them to take effect. If I am not mistaken, changing the RPC password, for example, can be done without restarting the…
Pedro
  • 733
  • 4
  • 19
1
2 3 4 5 6 7