Skip to content

Commit a20a02c

Browse files
MaximilianMeisterfjl
authored andcommitted
README: document new config file option (#14348)
1 parent 9a44e10 commit a20a02c

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,22 @@ over between the main network and test network, you should make sure to always u
102102
for play-money and real-money. Unless you manually move accounts, Geth will by default correctly
103103
separate the two networks and will not make any accounts available between them.*
104104

105+
### Configuration
106+
107+
As an alternative to passing the numerous flags to the `geth` binary, you can also pass a configuration file via:
108+
109+
```
110+
$ geth --config /path/to/your_config.toml
111+
```
112+
113+
To get an idea how the file should look like you can use the `dumpconfig` subcommand to export your existing configuration:
114+
115+
```
116+
$ geth --your-favourite-flags dumpconfig
117+
```
118+
119+
*Note: This works only with geth v1.6.0 and above*
120+
105121
#### Docker quick start
106122

107123
One of the quickest ways to get Ethereum up and running on your machine is by using Docker:

0 commit comments

Comments
 (0)