Skip to content

Commit

Permalink
Merge #21384: doc: add signet to bitcoin.conf documentation
Browse files Browse the repository at this point in the history
4a28510 doc: add signet to doc/bitcoin-conf.md (Jon Atack)
21b6a23 doc: add signet to share/examples/bitcoin.conf (Jon Atack)

Pull request description:

ACKs for top commit:
  jarolrod:
    ACK 4a28510 🥃
  kristapsk:
    ACK 4a28510

Tree-SHA512: 2c2aa58ce5316cf986a1f3b7638b42d3939a482c38becb346d6aeab2887e57adf5c0e961de33f7721c89936881769e76b46504445428737ee810d21f4d9fb1a4
  • Loading branch information
MarcoFalke committed Mar 8, 2021
2 parents 1a4a930 + 4a28510 commit e797388
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/bitcoin-conf.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Comments may appear in two ways:
### Network specific options

Network specific options can be:
- placed into sections with headers `[main]` (not `[mainnet]`), `[test]` (not `[testnet]`) or `[regtest]`;
- placed into sections with headers `[main]` (not `[mainnet]`), `[test]` (not `[testnet]`), `[signet]` or `[regtest]`;
- prefixed with a chain name; e.g., `regtest.maxmempool=100`.

Network specific options take precedence over non-network specific options.
Expand Down
14 changes: 10 additions & 4 deletions share/examples/bitcoin.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@

# Network-related settings:

# Note that if you use testnet or regtest, particularly with the options
# Note that if you use testnet, signet or regtest, particularly with the options
# addnode, connect, port, bind, rpcport, rpcbind or wallet, you will also
# want to read "[Sections]" further down.

# Run on the test network instead of the real bitcoin network.
# Run on the testnet network
#testnet=0

# Run on a signet network
#signet=0

# Run a regression test network
#regtest=0

Expand Down Expand Up @@ -57,7 +60,7 @@
# Listening mode, enabled by default except when 'connect' is being used
#listen=1

# Port on which to listen for connections (default: 8333, testnet: 18333, regtest: 18444)
# Port on which to listen for connections (default: 8333, testnet: 18333, signet: 38333, regtest: 18444)
#port=

# Maximum number of inbound+outbound connections.
Expand Down Expand Up @@ -155,7 +158,7 @@
#minimizetotray=1

# [Sections]
# Most options apply to mainnet, testnet and regtest.
# Most options apply to mainnet, testnet, signet and regtest.
# If you want to confine an option to just one network, you should add it in the
# relevant section below.
# EXCEPTIONS: The options addnode, connect, port, bind, rpcport, rpcbind and wallet
Expand All @@ -167,5 +170,8 @@
# Options only for testnet
[test]

# Options only for signet
[signet]

# Options only for regtest
[regtest]

0 comments on commit e797388

Please sign in to comment.