Questions tagged [bitcoin.conf]

Bitcoin's configuration file.

Filter by
Sorted by
Tagged with
33
votes
4answers
24k 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 ...
16
votes
1answer
15k 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 ...
10
votes
4answers
40k 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
1answer
15k 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 ...
7
votes
1answer
3k 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
2answers
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?
5
votes
1answer
360 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
2answers
3k 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
1answer
142 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 ...
4
votes
1answer
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 ...
3
votes
1answer
41 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
2answers
4k 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 ...
3
votes
1answer
437 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
1answer
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
1answer
566 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
0answers
124 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 ...
3
votes
1answer
787 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 ...
2
votes
2answers
4k 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 ...
2
votes
3answers
3k 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, ...
2
votes
1answer
6k views

Where is the configuration file?

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
1answer
320 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
1answer
550 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 ...
2
votes
1answer
506 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
1answer
855 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
0answers
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
1answer
458 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....
1
vote
1answer
265 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
1answer
369 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
1answer
527 views

Script to periodically update assumevalid block in bitcoin core configuration, good idea?

On my server my full node Bitcoin Core 0.15.1 can take several minutes, on starting, to "validate blocks". And during that time it's thrashing the disk, slowing down everything else. So I discovered ...
1
vote
1answer
322 views

Does bitcoind not support txindex=1 option in regtest mode?

Is it possible to specify txindex=1 option in bitcoin.conf or elsewhere? It doesn't seem to work. Whenever I run bitcoind -daemon, it stops. If I remove txindex=1 from the conf file, it works. I ...
1
vote
1answer
52 views

`reindex-chainstate` configuration in bitcoin.conf?

Is there a specific flag I can place in bitcoin.conf to reindex the chainstate (not command line)? Ie: reindex=1 does a full reindex is there a flag like reindex-chainstate=1 or similar?
1
vote
1answer
18 views

Testnet can hash problem be reduced

I have a question concerning setting up a testnet. I am setting up a testnet. I tried to get some testnet coin be I did not a success. But anyway is it possible to reduces the probability of getting a ...
1
vote
1answer
1k views

Unable to locate bitcoin.conf in linux

I am new to bitcoin network but I have spent significant time with ethereum. For getting started with bitcoin I referred running a full node and Developer documentation- Regtest Mode. After ...
1
vote
1answer
315 views

How can I run bitcoin-cli with disabled syncing?

I have synced about 200.000 blocks and that's enough for my purposes. So I want to use bitcoincli, but when it runs with enabled syncing (by default), my computer works to slow. How can I disable ...
1
vote
1answer
188 views

Bitcoin core installation

I need to configure the bitcoin core and synchronize the bitcoin network. I have bought a server with 1GB ram and 20GB hard disk space is it possible to run bitcoin run in this machine ? Can someone ...
1
vote
1answer
305 views

Does Bitcoin-Qt require that I create a bitcoin.conf file in order to solo mine on my Mac?

Does Bitcoin-Qt require that I create a bitcoin.conf file in order to solo mine on my Mac? I created one after reading the wiki and placed it in Lib/AppSupp/Bitcoin but I am not sure I needed to. ...
1
vote
0answers
8 views

how do you specify Blockchain Data location with bitcoin.conf file? [duplicate]

I am using an external hard drive I would like to specify that mount point for all my block chain data. Can this be done using bitcoin.conf?
1
vote
1answer
87 views

Running bitcoin node with already verified blockchain

I'm following this guide https://stadicus.github.io/RaspiBolt/ to setup a bitcoin full node on my new raspberry pi. I already downloaded and verified the blockchain on my host machine. I also pruned ...
1
vote
0answers
660 views

bitcoin.conf file on mac

I have installed bitcoin core on mac and accessed the config file from the preferences tab on the bitcoin-qt. Now, I have started testnet on it by the below settings. testnet=1 server=1 rpcuser=...
1
vote
1answer
1k views

Bitcoin-qt bitcoin.conf location? [duplicate]

I have Bitcoin-qt installed and running on an external Hard Drive. Where should I put the bitcoin.conf file so I can configure it with the server setting, user, and password?
1
vote
1answer
3k views

Error initializing block database. Do you want to rebuild the block database now?

I'm trying to set up a test network consisting of 3 nodes, each with different bitcoin.conf. I've constructed the directory and the .conf-files similar to what is the state of the art in qa/pull-...
1
vote
0answers
184 views

Bitcoin.conf connect command

When configuring the bitcoin.conf file, what should you put in connect=? There are IP addresses listed here, so I removed the # sign and left them as is. I also entered my WAN address and my local ...
1
vote
0answers
238 views

bitcoin-qt crashes when any bitcoin.conf file is used

I am running 0.8.5 beta on my mac under 10.8.3 and it runs fine until I try to use a bitcoin.conf file. If there is a file, even if it is completely empty it will crash before the application even ...
1
vote
3answers
3k views

curl returns empty output when json-rpc

I am not able to get JSON-RPC response via curl. It seems like is not accepting requests. My bitcoin.conf rpcuser=USER rpcpassword=PASS server=1 rpcport=9332 Running daemon $ bitcoind -conf=~/....
0
votes
2answers
4k 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 ...
0
votes
1answer
33 views

Should a user be notified about “last modified” time of bitcoin.conf while the bitcoin core wallet is loading?

I have mentioned details here: https://github.com/bitcoin-core/gui/issues/76 Also what would be the best approach to solve this problem using c++ which works on linux, windows and mac without any ...
0
votes
1answer
492 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 ...
0
votes
1answer
127 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 ...
0
votes
2answers
3k 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 ...
0
votes
1answer
338 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 ...