Questions tagged [bitcoin.conf]

Bitcoin's configuration file.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

Why do I get an Auth error when submitting rpc credentials in the command line?

Entering the rpc credentials directly fails, as follows: herbert@Spencer:~/bitcoin-0.18.0/bin$ ./bitcoin-cli -testnet -rpcconnect=127.0.0.1 -rpcuser=x -rpcpassword=p getblockchaininfo error: ...
0
votes
1answer
59 views

Can't connect to Bitcoin RPC on DigitalOcean server

I am running bitcoind on a DigitalOcean droplet with public IP address e.g. 1.1.1.1. I would like to connect to it via RPC from another DigitalOcean droplet with public IP address e.g. 2.2.2.2. Both ...
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 ...
0
votes
2answers
185 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
333 views

Please help - Bitcoin Conf file in the wrong directory

I am running a full node using Bitcoin Core GUI on Windows 10. The conf file is in my bitcoin data directory, instead of being in the appdata/roaming folder. But Bitcoin-qt points to it by default and ...
1
vote
2answers
500 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 ...
0
votes
1answer
14 views

When I specify wallet in bitcoin.conf for testnet3, it gets ignored

I have a question about specifying wallet for testnet3. My bitcoin.conf file is located in the root of the Bitcoin folder with the line 'wallet = receiving.dat as well as testnet=1. Whenever I run '...
0
votes
1answer
23 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: # # ./...
1
vote
1answer
47 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
1answer
206 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 ...
0
votes
0answers
59 views

How to use Bitcoind walletnotify in bitcoin.conf?

I want use walletnotify command and request my node.js restfull api but have exception system(curl --url http://192.168.3.2:3000/api/btc/WalletNotify/...
0
votes
1answer
48 views

.indexes & .tesnet3 not located on my Bitcoin dir

started fresh a new lightning node using the raspiblitz guide but while synching the client from my desktop pc (MAC) i wasnt able to locate these files ( “.indexes .testnet3” ) required by the guide ...
0
votes
2answers
965 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 ...
3
votes
1answer
444 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 ...
0
votes
1answer
344 views

How does one confirm if my dbcache setting has taken affect via the gui for bitcoin core 0.17?

I set dbcache=4000 in my bitcoin.conf file, but where can one confirm if this took affect or not in the gui? I'm on ubuntu 18.
0
votes
1answer
83 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 ...
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 ...
0
votes
1answer
90 views

Setting keypool size in the conf file

I used keypool=10000 in the conf file but bitcoin-cli -getinfo shows "keypoolsize":1000. Why?
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 ...
0
votes
1answer
239 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
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=~/....
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
0answers
536 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=...
0
votes
2answers
48 views

txtnindex=1 but balances still zero?

I'm running a full node (v0.16.0). I added txnindex=1 to my configuration file and restarted the Bitcoin-Qt. It took 2+ days to build the index but when I check addresses with known final balances>0 ...
0
votes
2answers
490 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 ...
1
vote
1answer
370 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 ...
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 ...
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 ...
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 ...
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
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

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
890 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 ...
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.
3
votes
0answers
232 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 ...
1
vote
1answer
227 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 ...
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
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 ...
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 ...
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
261 views

Freebsd Bitcoind doesn't read config correctly

When I try to connect to my bitcoind server with the username and password in my bitcoin.conf I get a 401 error. When I set an username and password in the bitcoind parameters(bitcoind -rpcuser=... -...
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 ...
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 ...
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:...
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 ...
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
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
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 ...
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, ...
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?