|
4 | 4 |
|
5 | 5 | # Network-related settings:
|
6 | 6 |
|
| 7 | +# Note that if you use testnet or regtest, particularly with the options |
| 8 | +# addnode, connect, port, bind, rpcport, rpcbind or wallet, you will also |
| 9 | +# want to read "[Sections]" further down. |
| 10 | + |
7 | 11 | # Run on the test network instead of the real bitcoin network.
|
8 | 12 | #testnet=0
|
9 | 13 |
|
|
53 | 57 | # Listening mode, enabled by default except when 'connect' is being used
|
54 | 58 | #listen=1
|
55 | 59 |
|
| 60 | +# Port on which to listen for connections (default: 8333, testnet: 18333, regtest: 18444) |
| 61 | +#port= |
| 62 | + |
56 | 63 | # Maximum number of inbound+outbound connections.
|
57 | 64 | #maxconnections=
|
58 | 65 |
|
|
115 | 122 |
|
116 | 123 | # Wallet options
|
117 | 124 |
|
| 125 | +# Specify where to find wallet, lockfile and logs. If not present, those files will be |
| 126 | +# created as new. |
| 127 | +#wallet=</path/to/dir> |
| 128 | + |
118 | 129 | # Create transactions that have enough fees so they are likely to begin confirmation within n blocks (default: 6).
|
119 | 130 | # This setting is over-ridden by the -paytxfee option.
|
120 | 131 | #txconfirmtarget=n
|
|
142 | 153 |
|
143 | 154 | # Minimize to the system tray
|
144 | 155 | #minimizetotray=1
|
| 156 | + |
| 157 | +# [Sections] |
| 158 | +# Most options apply to mainnet, testnet and regtest. |
| 159 | +# If you want to confine an option to just one network, you should add it in the |
| 160 | +# relevant section below. |
| 161 | +# EXCEPTIONS: The options addnode, connect, port, bind, rpcport, rpcbind and wallet |
| 162 | +# only apply to mainnet unless they appear in the appropriate section below. |
| 163 | + |
| 164 | +# Options only for mainnet |
| 165 | +[main] |
| 166 | + |
| 167 | +# Options only for testnet |
| 168 | +[test] |
| 169 | + |
| 170 | +# Options only for regtest |
| 171 | +[regtest] |
0 commit comments