aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
diff options
context:
space:
mode:
authorglozow <gzhao408@berkeley.edu>2021-03-23 13:29:17 -0700
committerglozow <gzhao408@berkeley.edu>2021-04-01 08:35:34 -0700
commit8fa74aeb5b96419c7d40b40f8e1e1269509278e2 (patch)
treef14e9ef2c82ea83933e7a7b293254089a352419b /src/chainparams.cpp
parent2f8272c2a4b6fa84c04dfeb4d751bb218f2d4c78 (diff)
downloadbitcoin-8fa74aeb5b96419c7d40b40f8e1e1269509278e2.tar.xz
[doc] correct comment in chainparams
There are more than 3 networks.
Diffstat (limited to 'src/chainparams.cpp')
-rw-r--r--src/chainparams.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp
index 16efffa6f0..28b64ee7ff 100644
--- a/src/chainparams.cpp
+++ b/src/chainparams.cpp
@@ -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 {
public:
@@ -173,7 +173,7 @@ public:
};
/**
- * Testnet (v3)
+ * Testnet (v3): public test network which is reset from time to time.
*/
class CTestNetParams : public CChainParams {
public:
@@ -266,7 +266,7 @@ public:
};
/**
- * Signet
+ * Signet: test network with an additional consensus parameter (see BIP325).
*/
class SigNetParams : public CChainParams {
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 {
public: