Questions tagged [bitcoin.conf]

Bitcoin's configuration file.

Filter by
Sorted by
Tagged with
27
votes
4answers
16k 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 ...
9
votes
1answer
13k 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
3answers
32k 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 ...
6
votes
1answer
2k 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:...
5
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
322 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
1answer
136 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
5k 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
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 ...
3
votes
1answer
443 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
231 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
200 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
1answer
5k 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
245 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
241 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
486 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
720 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
1answer
8k 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:...
2
votes
0answers
3k 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
2answers
2k 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 ...
1
vote
3answers
2k 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, ...
1
vote
1answer
43 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
237 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
287 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
366 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
288 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
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
885 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
226 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
181 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
288 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
1answer
38 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
2answers
465 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 ...
1
vote
0answers
533 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
169 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
236 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
2k 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
921 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
233 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
89 views

Setting keypool size in the conf file

I used keypool=10000 in the conf file but bitcoin-cli -getinfo shows "keypoolsize":1000. Why?
0
votes
1answer
22 views

Where should I get rpcuser.py from?

I am following the instructions in my bitcoin.conf file, it writes: It is set at intialization time # using the output from the script in share/rpcuser/rpcuser.py after providing a username: # # ./...
0
votes
1answer
80 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 ...
0
votes
2answers
487 views

Where is bitcoin.conf location on MacOS with Bitcoin core v0.15.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 ...
0
votes
1answer
1k views

Bitcoin core config explanation

I'm just not understanding what does the following arguments do! -dbcache : Set database cache size in megabytes (4 to 16384, default: 300) which database is that? and what may happen if the file ...
0
votes
1answer
63 views

Set the number of keys/addresses in a wallet

Is there a way to configure the number of keypairs (or addresses) created by bitcoind or bitcoin-qt? I've looked at the sample bitcoin.conf file, but failed to find the relevant parameter.
0
votes
1answer
1k views

Do you need to change 'rpcuser' and 'rpcpassword' for each bitcoind node you run?

When running several bitcoind nodes on different machines, can I simply keep the same bitcoin.conf file everywhere, or do I need to ensure that a different rpcuser is set up for each?
0
votes
1answer
984 views

Notifications to watch only addresses in bitcoind

I found a similar question, but rather outdated in my opinion: How to get instant notification of any Bitcoin transaction involving a specific public address as recipient without knowing the wallet or ...
0
votes
2answers
99 views

Compiled Bitcoin Client as Testnet with bitcoin.conf

I'm quite new to bitcoin. I've been compiling the client from github and I want to run on a server as testnet and make some API requests. As I see in the documentation I should create a bitcoin.conf ...