aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarnix <93143998+MarnixCroes@users.noreply.github.com>2024-10-01 13:56:16 +0200
committerfanquake <fanquake@gmail.com>2024-10-22 16:04:04 +0100
commitf072721181c727f37cf1253e0a629f865eae7178 (patch)
tree7178c961777f6a5c555542164f7de5040c440ece
parent6643fd2145f8ef211e719dd401b8ac966c5dc9ea (diff)
doc: add testnet4 section header for config file
Github-Pull: #31007 Rebased-From: 61cdb1c9d83778b95f4f9596f34617b7a191d0a5
-rwxr-xr-xcontrib/devtools/gen-bitcoin-conf.sh5
-rw-r--r--doc/bitcoin-conf.md2
2 files changed, 5 insertions, 2 deletions
diff --git a/contrib/devtools/gen-bitcoin-conf.sh b/contrib/devtools/gen-bitcoin-conf.sh
index 2ebbd42022..d830852c9e 100755
--- a/contrib/devtools/gen-bitcoin-conf.sh
+++ b/contrib/devtools/gen-bitcoin-conf.sh
@@ -72,9 +72,12 @@ cat >> "${EXAMPLE_CONF_FILE}" << 'EOF'
# Options for mainnet
[main]
-# Options for testnet
+# Options for testnet3
[test]
+# Options for testnet4
+[testnet4]
+
# Options for signet
[signet]
diff --git a/doc/bitcoin-conf.md b/doc/bitcoin-conf.md
index 76711d0e7d..9b31879790 100644
--- a/doc/bitcoin-conf.md
+++ b/doc/bitcoin-conf.md
@@ -31,7 +31,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]`), `[signet]` or `[regtest]`;
+- placed into sections with headers `[main]` (not `[mainnet]`), `[test]` (not `[testnet]`, for testnet3), `[testnet4]`, `[signet]` or `[regtest]`;
- prefixed with a chain name; e.g., `regtest.maxmempool=100`.
Network specific options take precedence over non-network specific options.