1
1
mirror of https://github.com/bitcoin/bitcoin.git synced 2024-05-17 23:56:39 +00:00

[doc] correct comment in chainparams

There are more than 3 networks.
This commit is contained in:
glozow 2021-03-23 13:29:17 -07:00
parent 2f8272c2a4
commit 8fa74aeb5b
2 changed files with 6 additions and 8 deletions

View File

@ -56,7 +56,7 @@ static CBlock CreateGenesisBlock(uint32_t nTime, uint32_t nNonce, uint32_t nBits
} }
/** /**
* Main network * Main network on which people trade goods and services.
*/ */
class CMainParams : public CChainParams { class CMainParams : public CChainParams {
public: public:
@ -173,7 +173,7 @@ public:
}; };
/** /**
* Testnet (v3) * Testnet (v3): public test network which is reset from time to time.
*/ */
class CTestNetParams : public CChainParams { class CTestNetParams : public CChainParams {
public: public:
@ -266,7 +266,7 @@ public:
}; };
/** /**
* Signet * Signet: test network with an additional consensus parameter (see BIP325).
*/ */
class SigNetParams : public CChainParams { class SigNetParams : public CChainParams {
public: public:
@ -373,7 +373,8 @@ public:
}; };
/** /**
* Regression test * Regression test: intended for private networks only. Has minimal difficulty to ensure that
* blocks can be found instantly.
*/ */
class CRegTestParams : public CChainParams { class CRegTestParams : public CChainParams {
public: public:

View File

@ -64,10 +64,7 @@ struct ChainTxData {
/** /**
* CChainParams defines various tweakable parameters of a given instance of the * CChainParams defines various tweakable parameters of a given instance of the
* Bitcoin system. There are three: the main network on which people trade goods * Bitcoin system.
* and services, the public test network which gets reset from time to time and
* a regression test mode which is intended for private networks only. It has
* minimal difficulty to ensure that blocks can be found instantly.
*/ */
class CChainParams class CChainParams
{ {