Questions tagged [bitcoin.conf]

Bitcoin's configuration file.

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

How does disablewallet parameter in bitcoin.conf affect bitcoin-cli auth with cookie and non-standard datadir?

I have two seperate bitcoin nodes running v23. Both have identical datadir paths. Only difference is that disablewallet=0 in one bitcoin.conf, disablewallet=1 is in the other. When I start both ...
user avatar
  • 1
0 votes
0 answers
5 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 ...
user avatar
  • 191
1 vote
1 answer
28 views

What is maxsigcachesize?

-maxsigcachesize= Limit sum of signature cache and script execution cache sizes to What is this? What is a sigcache? What happens if it is set low and Can it have a bad effect?
user avatar
0 votes
1 answer
33 views

blocknotify ignores > /dev/null 2>&1 and fills up my debug log

I have this code in my bitcoin.conf blocknotify=/root/.nvm/versions/node/v11.15.0/bin/node /home/BTC/block.js %s > /dev/null 2>&1 I see the error runCommand error: system(/root/.nvm/versions/...
user avatar
1 vote
1 answer
32 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(...
user avatar
1 vote
1 answer
39 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 ...
user avatar
0 votes
1 answer
55 views

Rescan starts not from first block

I have a complete blockchain but when I set rescan = 1 in .conf file my bitcoind starts rescaning from 435000 block. How to start it from the first block? What's wrong with my blockchain?
user avatar
1 vote
1 answer
297 views

bitcoin.conf missing

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 ...
user avatar
0 votes
0 answers
183 views

What is the default username and password for bitcoin the rpc deamon?

What is the default username and default password for the bitcoin rpc? I have a bitcoin daemon running, but there is no bitcoin.conf file. If I attempt to query the RPC, I get a 401 Unauthorized ...
user avatar
1 vote
0 answers
57 views

github bitcoin/doc/tor.md - Automatically versus Manually creating a Bitcoin Core tor onion service

The doc I'm asking about: TOR SUPPORT IN BITCOIN. Section 1 describes how to "Run Bitcoin Core behind a Tor proxy." Then... Automatically create a Bitcoin Core onion service [I]f Tor is ...
user avatar
  • 337
0 votes
1 answer
31 views

Are near-current man pages or similar doc for bitcoin* available anywhere?

I've been unable to find current documentation on command options / bitcoin.conf parameters. I infer that the process of automatic generation of man pages from source is currently in flux (Manual page ...
user avatar
  • 337
1 vote
0 answers
157 views

How to secure bitcoin node (bitcoind) that is used only to broadcast transaction?

I always wanted to run a bitcoin node at home. But I always worry because it is related with bitcoin (BTC has value). I have been broadcasting my transaction using Bluewallet by scanning qr code, or ...
user avatar
  • 227
0 votes
0 answers
53 views

How to merge the datadir with .bitcoin directory?

I changed the path of datadir in bitcoin.conf from .bitcoin directory to somewhere else. Now that I need to backup my blockchain data, I want to have both .bitcoin and blockchain data together. ...
user avatar
  • 13
1 vote
0 answers
10 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?
user avatar
1 vote
1 answer
302 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?
user avatar
  • 11
1 vote
1 answer
219 views

bitcoind restarting on its own

I'm experiencing periodical node restart, happening every minute or two. Happens on Ubuntu 20.04LTS, bitcoind version is v0.21.0. I'm running it as a systemd service using the following file: ...
user avatar
0 votes
1 answer
459 views

bitcoin.conf file is missing

Just installed bitcoin core v0.21.0 on my ubuntu server. When I run bitcoind -printtoconsole It says bitcoin.conf file is missing. 2021-01-30T15:36:58Z Bitcoin Core version v0.21.0 (release build) ...
user avatar
3 votes
1 answer
60 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,...
user avatar
  • 701
0 votes
1 answer
49 views

Importaddress and conf

I'm wondering if its possible to add imported addresses into the bitcoin conf file. So, rather than calling the cli with importaddress, I would add the address to the conf file, with say, ...
user avatar
  • 113
0 votes
1 answer
37 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 ...
user avatar
1 vote
1 answer
328 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 ...
user avatar
  • 176
3 votes
0 answers
197 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 ...
user avatar
  • 701
0 votes
0 answers
104 views

Types of onion address

I'm running a bitcoin core full node with Tor and I've configured a hidden service for that. The point is: bitcoin core log shows me an onion address which is very smaller than the one I found in /var/...
user avatar
  • 364
1 vote
1 answer
910 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 ...
user avatar
1 vote
1 answer
109 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 ...
user avatar
  • 133
2 votes
2 answers
4k 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 ...
user avatar
  • 41
0 votes
1 answer
204 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: # # ./...
user avatar
2 votes
1 answer
823 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....
user avatar
0 votes
1 answer
54 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 '...
user avatar
  • 1
3 votes
2 answers
5k 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 ...
user avatar
0 votes
1 answer
132 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 ...
user avatar
1 vote
2 answers
6k 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 ...
user avatar
1 vote
1 answer
502 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 ...
user avatar
  • 11
0 votes
1 answer
384 views

Setting keypool size in the conf file

I used keypool=10000 in the conf file but bitcoin-cli -getinfo shows "keypoolsize":1000. Why?
user avatar
0 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
2k views

How does one confirm if my dbcache setting has taken effect 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.
user avatar
5 votes
1 answer
1k 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 ...
user avatar
4 votes
1 answer
765 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 ...
user avatar
0 votes
1 answer
563 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 ...
user avatar
0 votes
2 answers
77 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 ...
user avatar
  • 155
0 votes
3 answers
1k 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 ...
user avatar
  • 103
1 vote
1 answer
567 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 ...
user avatar
  • 221
1 vote
1 answer
4k 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 ...
user avatar
  • 3,569
1 vote
1 answer
337 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 ...
user avatar
  • 1,313
1 vote
0 answers
725 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=...
user avatar
  • 169
1 vote
1 answer
24 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 ...
user avatar
2 votes
2 answers
5k 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 ...
user avatar
1 vote
3 answers
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=~/....
user avatar
  • 159
1 vote
1 answer
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 ...
user avatar
0 votes
1 answer
68 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.
user avatar