Deduplicate list of chain strings in RPC help texts

This commit is contained in:
Martin Saposnic
2024-08-13 14:00:33 -03:00
parent 1a41e63575
commit 9b29755520
4 changed files with 8 additions and 3 deletions

View File

@@ -53,4 +53,7 @@ const CBaseChainParams& BaseParams();
/** Sets the params returned by Params() to those for the given chain. */
void SelectBaseParams(const ChainType chain);
/** List of possible chain / network names */
#define LIST_CHAIN_NAMES "main, test, testnet4, signet, regtest"
#endif // BITCOIN_CHAINPARAMSBASE_H