Questions tagged [bitcoin.conf]
Bitcoin Core's configuration file.
114
questions
43
votes
4
answers
34k
views
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 ...
17
votes
1
answer
18k
views
How do I specify in which directory Bitcoin blocks and other data should be stored? [duplicate]
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 ...
12
votes
4
answers
45k
views
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 ...
9
votes
1
answer
16k
views
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 ...
8
votes
1
answer
4k
views
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:...
6
votes
2
answers
5k
views
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?
6
votes
1
answer
158
views
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 ...
5
votes
1
answer
6k
views
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 ...
5
votes
1
answer
384
views
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 ...
5
votes
2
answers
4k
views
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 ...
5
votes
1
answer
2k
views
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
...
4
votes
2
answers
6k
views
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 ...
4
votes
1
answer
1k
views
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 ...
4
votes
1
answer
780
views
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 ...
3
votes
2
answers
6k
views
How to specify number of threads for bitcoind?
What field in config file or flag should I use to run bitcoind -daemon e.g. on 100 threads? Now I have 23 threads, but I want to increase this value.
$ ps aux | grep bitcoind
pavlovd+ 1258 2.3 1.7 ...
3
votes
3
answers
4k
views
Bitcoin.conf & JSON-RPC options
What does it mean in the bitcoin.conf file when it states:
server=1 tells Bitcoin-Qt to accept JSON-RPC commands?
If all one needs to do to solo mine is type setgenerate true in the console, ...
3
votes
2
answers
231
views
Bitcoin Core configured for testnet, syncs mainnet
I'm trying to get Bitcoin Core to sync the testnet, but it keeps syncing the mainnet instead.
Here is my bitcoin.conf file:
[test]
addnode=104.237.131.138
addnode=151.80.205.132
addnode=192.155.82.123
...
3
votes
1
answer
1k
views
How to set up Lightning Network conf file. RPC user / password? and zmqpubraw?
In my lnd.conf file I have the following settings:
debuglevel=info
listen=192.168.100.134
externalip=186.4.235.84
alias=MyNodeAlias
color=#000000
maxpendingchannels=5
bitcoin.mainnet=1
bitcoin....
3
votes
1
answer
87
views
Specify options as startup flag or conf file in bitcoin core?
Can I specify all startup options like -nodebuglogfile or -txindex in bitcoin.conf file as nodebuglogfile = 0, txindex = 0? Can all startup options/flags without any parameter equivalent to setting ...
3
votes
1
answer
2k
views
What's the difference between 'rpcallowip' and 'rpcbind'?
What's the difference between these two settings in the bitcoin conf file?
'rpcallowip' and 'rpcbind'
3
votes
1
answer
87
views
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,...
3
votes
1
answer
411
views
How would I set a more permissive mempool policy?
The mempool will reject some transactions that are valid per the consensus rules.
I would like to configure my mempool to be liberal in what it will accept, provided fees are paid. Are there any ...
3
votes
1
answer
10k
views
ccminer JSON-RPC call failed: Method not found
I am having issue with running ccminer with bitcoin-qt.exe (Solo mining)
I am receiving error below upon start:
[2017-01-26 14:23:57] 1 miner thread started, using 'bitcoin' algorithm
[2017-01-26 14:...
3
votes
1
answer
677
views
How can we run regtest without transaction fees
We have setup a bitcoin network using regtest mode and found that there is transaction fee charge on each sending Bitcoin.
Is it possible set the payment fee to zero for each transaction?
We found ...
3
votes
0
answers
83
views
Cannot find bitcoin.conf on macOS
I want to run a pruned node. I mistakenly referred to a guide for a full node to connect to Sparrow wallet, which required adding server=1 and txindex=1 in the bitcoin.conf file. I reached this file ...
3
votes
0
answers
158
views
Where does Bitcoin Core save the custom directory setting?
When installing Bitcoin Core on Windows 10 and starting it for the first time, the Welcome message prompts to specify a custom data directory. When specifying that custom directory, where does Bitcoin ...
3
votes
0
answers
331
views
Is it safe to skip the initial block verification at startup?
The longest step in bitcoin core initialization is "Verifying last 6 blocks at level 3". The number of blocks checked at startup went down from 288 in 2014 to 6 now. Therefore, in order to speedup ...
2
votes
2
answers
5k
views
Can't reach remote bitcoin rpc server
I got vps with ubuntu 18.04 with ssh access and bitoind set up on it. This is my bitcoin.conf file:
testnet=1
prune=35840
maxconnections=12
muxuploadtarget=20
daemon=1
server=1
rpcclienttimeout=5000
...
2
votes
1
answer
376
views
How to configure a testnet node to be pruned?
I have a testnet VM node running. As I have only limited resources, I did set pruned=1000 in the bitcoin.conf file, so the blockchain is pruned down to 1GB. But when I run bitcoind and it downloads ...
2
votes
2
answers
8k
views
How to change RPC port for bitcoind? (rpcport=xxx in bitcoin.conf doesn't work)
I'm running a testnet bitcoind node and I have been doing RPC calls on the default port 18332.
I have added this line to ~/.bitcoin/bitcoin.conf:
rpcport=19832
And restarted the bitcoind service. I ...
2
votes
1
answer
320
views
Where can I find actual official documentation for bitcoin.conf?
As in title, where is actual bitcoin.conf docs?
Protocol is evolving, and many articles are not accurate regarding do bitcoin.conf.
2
votes
1
answer
7k
views
Where is the configuration file? [duplicate]
This is strange!
The documentation on running the Bitcoin daemon on a Ubuntu machine is clear. The configuration file is supposed to be at $HOME/.bitcoin/ location. And yet, I cannot locate it! I ...
2
votes
1
answer
890
views
addnode vs seednode
Could someone please elaborate on the difference between the addnode and seednode settings in the bitcoind configuration file.
-addnode=<ip> Add a node to connect to and attempt to keep the ...
2
votes
1
answer
356
views
Bitcoin.conf problem
I'm trying to get deposits sent to my website to show up in the users balance, inside my bitcoin.conf I have:
walletnotify='http://localhost/blocknotify-update-deposit?trxhash='%s
This is not ...
2
votes
1
answer
666
views
What does enabling coinstatsindex in my bitcoin.conf file do for my node?
Using bitcoind --help tells me this:
"Maintain coinstats index used by the gettxoutsetinfo RPC (default: 0)"
Is it just storing the information in gettxoutsetinfo for each block in the chain?...
2
votes
1
answer
2k
views
Really strange issue when trying to connect Sparrow Wallet to Bitcoin Core
I am really loosing my mind on this. I am actually not a technical noob but also not the very best technican. But things like this should actually be very easy for me.
What I want to do: I just want ...
2
votes
1
answer
557
views
Set a standard transaction fee in bitcoind
Hello I was wondering if it is possible to set a standard transaction fee in bitcoind like 0.0001 BTC.
Because now it uses around 0.000026 BTC per transaction and it takes ages to confirm.
Thanks in ...
2
votes
1
answer
1k
views
Is it possible to specify a default change address?
Is it possible to enable default change address on my bitcoin-qt (aka bitcoin-core) client?
I'm using a webservice that monitors my balance (based on public keys) and whenever I send a transaction my ...
2
votes
0
answers
4k
views
Bitcoin-Qt & setgenerate true
Will Bitcoin-qt mine bitcoins if all I have done is downloaded and installed Bitcoin-qt, and typed in "setgenerate true" into the console? Are there other steps or configurations necessary? If so, ...
1
vote
2
answers
2k
views
Where is bitcoin.conf and why doesn't bitcoind find existing datadir v0.17.1
Just built no gui, no wallet bitcoin on WSL Ubuntu Bionic, Bitcoin v0.17.1.
I want to experiment with bitcoin-cli.
I followed recommendation to run bitcoind -princonsole and it says:
Using config ...
1
vote
1
answer
155
views
Where can I find the parser for `bitcoin.conf` files?
I have read bitcoin.conf Configuration File which mentions: The configuration file is a plain text file and consists of option=value entries, one per line. Leading and trailing whitespaces are removed....
1
vote
1
answer
2k
views
bitcoin.conf missing [duplicate]
According to https://en.bitcoin.it/wiki/Running_Bitcoin , for default bitcoin datadir %APPDATA%\Bitcoin\, the typical path to configuration file is %APPDATA%\Bitcoin\bitcoin.conf
But bitcoin is ...
1
vote
1
answer
1k
views
What's the diffrence between these two bitcoin.conf format?
server=1
listen=1
daemon=1
rpcuser=X
rpcpassword=Q
rpcallowip=localhost
rpcport=Y
And
server=1
rpcuser=X
rpcpassword=Q
rpcallowip=localhost
rpcport=Y
I am a litlle confused, can these two conf file ...
1
vote
1
answer
1k
views
How do I set 'txindex = 1' in bitcoincore?
How do I set 'txindex = 1' in bitcoincore?
I installed it on linux ubuntu.
I can not find the /home/bitcoin/bitcoin.conf file.
Path to '/home/bitcoin/share/examples/bitcoin.conf'The bitcoin.
conf ...
1
vote
1
answer
94
views
Failed to start Bitcoin daemon
I set up Tor with bitcoind. After that, when I started the daemon, I got the following error.
Error: Cannot set -bind or -whitebind together with -listen=0
My bitcoin.conf is:
server=1
txindex=1
...
1
vote
1
answer
299
views
About traditional Bitcoin mining
I'm curious about traditional bitcoin mining, before pooling. Did an older version of the bitcoin wallet found on sourceforge have a mining feature built in which worked on a simple macbook? if so ...
1
vote
1
answer
442
views
bitcoin allowip not working
My bitcoin.conf file has the following lines:
rpcallowip=127.0.0.1
rpcallowip=192.168.*.*
But I'm getting this error:
Error: Invalid -rpcallowip subnet specification: 192.168.*. Valid are a ...
1
vote
1
answer
141
views
How to set up my Bitcoin RPC address once ive installed bitcoin core?
I have just set up bitcoin core on my macbook and im wondering how to get my http://login:password@ip:port address set up so i can interact with it. I am a complete noob to running a btc node so some ...
1
vote
1
answer
54
views
What is -vbparams argument and what its the difference with -testactivationheight on Bitcoin functional tests?
Taproot test use the argument -vbparams , but other test like SegwWit use -testactivationheight, what is the use of each one and the difference for using one or the other?
class WalletTaprootTest(...
1
vote
1
answer
76
views
bitcoin.conf priority on merging and conflicting keys?
My main bitcoin.conf is located in the AppData. Setting the datadir in it or via argument allows me to let the daemon/qt load another bitcoin.conf that is located in the DataDir. I can also change the ...