[doc] correct comment in chainparams
There are more than 3 networks.
This commit is contained in:
1 parent
2f8272c2a4
commit
8fa74aeb5b
2 files changed
+6
-8
No files matched your search
+5
-4
@@ -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:
|
||||||
|
|||||||
+1
-4
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user