<p>How do I Export/dump the settings of bitcoin into a .conf file?
I know I can review some of them via bitcoin-qt GUI.</p>
<p>I'm not interested in the GUI settings like font, etc.
I'm interested in exporting ALL the settings eg.</p>
<pre><code>  prune=1000
  server=1
  datadir=/myAwsumDir 
  addnode=127.0.0.1:18442
  fallbackfee=0.00001
  etc.
</code></pre>
<p>I want a text file of all the settings.</p>
<p>FYI: I have already used this very good tool to generate a .conf file
<a href="https://jlopp.github.io/bitcoin-core-config-generator/" rel="nofollow noreferrer">Bitcoin Core Config Generator</a></p>
<p>but it's only a generator. It doesn't query the actual current settings.</p>
<p>Perhaps Bitcoin doesn't allow exporting of settings? If not why not? Are there security concerns about exporting .conf settings? What are they?</p>

CC BY-SA 4.0
2023-06-06T01:46:55.327Z
AFAIK when you run bitcoind it will use your bitcoin.conf in the default directory if you have one. Typically `.bitcoin/bitcoin.conf` in your users home folder. Otherwise if you run bitcoind with arguments that will override things you've set in bitcoin.conf. One way to get your current settings is to just look at what is in your bitcoin.conf. 

Potential security concerns are you can set the rpcpassword in the conf file along with other potential sensitive information.
Michael Tidwell
CC BY-SA 4.0
2023-06-06T13:51:07.433Z
Yes, this is all true but not what I'm looking for.  bitcoin.conf often does not provide a complete listing of all the settings.
JDOaktown
CC BY-SA 4.0
2023-06-07T02:33:53.433Z
which setting specifically are you trying to figure out? (if not understood by looking at the bitcoin.conf).
Michael Tidwell
CC BY-SA 4.0
2023-06-07T14:07:28.117Z
no one setting in particular.  I want to know what ALL the settings are.  The bitcoin.conf doesn't list ALL settings.
JDOaktown
CC BY-SA 4.0
2023-06-08T17:38:11.807Z
You want to know all the default values that aren't specified?
You can look up what the default values are if they are not set in the bitcoin.conf.
Michael Tidwell
<security><bitcoin.conf>
Exporting Bitcoin settings to bitcoin.conf?
JDOaktown
# Exporting Bitcoin settings to bitcoin.conf?

(Asked by: username_0 on 2023-06-04)

How do I Export/dump the settings of bitcoin into a .conf file?
I know I can review some of them via bitcoin-qt GUI.

I'm not interested in the GUI settings like font, etc.
I'm interested in exporting ALL the settings eg.

```
  prune=1000
  server=1
  datadir=/myAwsumDir 
  addnode=127.0.0.1:18442
  fallbackfee=0.00001
  etc.

```

I want a text file of all the settings.

FYI: I have already used this very good tool to generate a .conf file
[Bitcoin Core Config Generator](https://jlopp.github.io/bitcoin-core-config-generator/)

but it's only a generator. It doesn't query the actual current settings.

Perhaps Bitcoin doesn't allow exporting of settings? If not why not? Are there security concerns about exporting .conf settings? What are they?

**Tags:** security, bitcoin.conf

> **Comments:**
> **username_1**: AFAIK when you run bitcoind it will use your bitcoin.conf in the default directory if you have one. Typically `.bitcoin/bitcoin.conf` in your users home folder. Otherwise if you run bitcoind with arguments that will override things you've set in bitcoin.conf. One way to get your current settings is to just look at what is in your bitcoin.conf.   Potential security concerns are you can set the rpcpassword in the conf file along with other potential sensitive information.  
> **username_0**: Yes, this is all true but not what I'm looking for.  bitcoin.conf often does not provide a complete listing of all the settings.  
> **username_1**: which setting specifically are you trying to figure out? (if not understood by looking at the bitcoin.conf).  
> **username_0**: no one setting in particular.  I want to know what ALL the settings are.  The bitcoin.conf doesn't list ALL settings.  
> **username_1**: You want to know all the default values that aren't specified? You can look up what the default values are if they are not set in the bitcoin.conf.  

---

## 0 answers

