Skip to content

Commit 8fa74ae

Browse files
committed
[doc] correct comment in chainparams
There are more than 3 networks.
1 parent 2f8272c commit 8fa74ae

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

src/chainparams.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static CBlock CreateGenesisBlock(uint32_t nTime, uint32_t nNonce, uint32_t nBits
5656
}
5757

5858
/**
59-
* Main network
59+
* Main network on which people trade goods and services.
6060
*/
6161
class CMainParams : public CChainParams {
6262
public:
@@ -173,7 +173,7 @@ class CMainParams : public CChainParams {
173173
};
174174

175175
/**
176-
* Testnet (v3)
176+
* Testnet (v3): public test network which is reset from time to time.
177177
*/
178178
class CTestNetParams : public CChainParams {
179179
public:
@@ -266,7 +266,7 @@ class CTestNetParams : public CChainParams {
266266
};
267267

268268
/**
269-
* Signet
269+
* Signet: test network with an additional consensus parameter (see BIP325).
270270
*/
271271
class SigNetParams : public CChainParams {
272272
public:
@@ -373,7 +373,8 @@ class SigNetParams : public CChainParams {
373373
};
374374

375375
/**
376-
* Regression test
376+
* Regression test: intended for private networks only. Has minimal difficulty to ensure that
377+
* blocks can be found instantly.
377378
*/
378379
class CRegTestParams : public CChainParams {
379380
public:

src/chainparams.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,7 @@ struct ChainTxData {
6464

6565
/**
6666
* CChainParams defines various tweakable parameters of a given instance of the
67-
* Bitcoin system. There are three: the main network on which people trade goods
68-
* and services, the public test network which gets reset from time to time and
69-
* a regression test mode which is intended for private networks only. It has
70-
* minimal difficulty to ensure that blocks can be found instantly.
67+
* Bitcoin system.
7168
*/
7269
class CChainParams
7370
{

0 commit comments

Comments
 (0)