|
|
|
@ -4,16 +4,15 @@
|
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
|
|
#include <chainparams.h>
|
|
|
|
|
#include <consensus/merkle.h>
|
|
|
|
|
|
|
|
|
|
#include <chainparamsseeds.h>
|
|
|
|
|
#include <consensus/merkle.h>
|
|
|
|
|
#include <tinyformat.h>
|
|
|
|
|
#include <util.h>
|
|
|
|
|
#include <utilstrencodings.h>
|
|
|
|
|
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
|
|
|
|
|
#include <chainparamsseeds.h>
|
|
|
|
|
|
|
|
|
|
static CBlock CreateGenesisBlock(const char* pszTimestamp, const CScript& genesisOutputScript, uint32_t nTime, uint32_t nNonce, uint32_t nBits, int32_t nVersion, const CAmount& genesisReward)
|
|
|
|
|
{
|
|
|
|
|
CMutableTransaction txNew;
|
|
|
|
@ -62,14 +61,6 @@ void CChainParams::UpdateVersionBitsParameters(Consensus::DeploymentPos d, int64
|
|
|
|
|
/**
|
|
|
|
|
* Main network
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
* What makes a good checkpoint block?
|
|
|
|
|
* + Is surrounded by blocks with reasonable timestamps
|
|
|
|
|
* (no blocks before with a timestamp after, none after with
|
|
|
|
|
* timestamp before)
|
|
|
|
|
* + Contains no strange transactions
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
class CMainParams : public CChainParams {
|
|
|
|
|
public:
|
|
|
|
|
CMainParams() {
|
|
|
|
|