aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-01-13 17:31:32 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-01-13 17:31:47 +0100
commit22fa9673b02edf512d2a9fecf403955d225b97e5 (patch)
tree3afc167a671ad0e8b4701a21df32057e99d6fa4a /doc
parente7eb37128c3155f074af5f38974934ce6941b0fb (diff)
parentfc726e0138ab1fb1b757ccb4c86557c1c97be831 (diff)
downloadbitcoin-22fa9673b02edf512d2a9fecf403955d225b97e5.tar.xz
Merge #20917: doc, rpc: add missing signet mentions in network name lists
fc726e0138ab1fb1b757ccb4c86557c1c97be831 doc, rpc: add missing signet mentions in network name lists (Sebastian Falbesoner) Pull request description: This small PR adds a few missing mentions of signet w.r.t. chain enumerations: - RPC `getblockchaininfo`: result description for `"chain"` - RPC `getmininginfo`: result description for `"chain"` - REST interface documentation: - default ports listing for each chain - `"chain"` description for `chaininfo` endpoint result The instances were identified via `git grep -i "main.*test.*reg"`. ACKs for top commit: ajtowns: ACK fc726e0138ab1fb1b757ccb4c86557c1c97be831 -- quick code review only benthecarman: ACK fc726e0138ab1fb1b757ccb4c86557c1c97be831 Tree-SHA512: 62cdc6ef74fa10db75cc04b9eaf7367183f726b3fee3d21fdf741b3816669dd21508735e89da389ddac980f49773ab229263748d1399553375fefe4526361846
Diffstat (limited to 'doc')
-rw-r--r--doc/REST-interface.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/REST-interface.md b/doc/REST-interface.md
index 3b127703b7..6237734390 100644
--- a/doc/REST-interface.md
+++ b/doc/REST-interface.md
@@ -4,7 +4,7 @@ Unauthenticated REST Interface
The REST API can be enabled with the `-rest` option.
The interface runs on the same port as the JSON-RPC interface, by default port 8332 for mainnet, port 18332 for testnet,
-and port 18443 for regtest.
+port 38332 for signet, and port 18443 for regtest.
REST Interface consistency guarantees
-------------------------------------
@@ -62,7 +62,7 @@ Given a height: returns hash of block in best-block-chain at height provided.
Returns various state info regarding block chain processing.
Only supports JSON as output format.
-* chain : (string) current network name (main, test, regtest)
+* chain : (string) current network name (main, test, signet, regtest)
* blocks : (numeric) the current number of blocks processed in the server
* headers : (numeric) the current number of headers we have validated
* bestblockhash : (string) the hash of the currently best block