Changeset View
Changeset View
Standalone View
Standalone View
src/chainparams.cpp
// Copyright (c) 2010 Satoshi Nakamoto | // Copyright (c) 2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2016 The Bitcoin Core developers | ||||
// Copyright (c) 2017-2018 The Bitcoin developers | // Copyright (c) 2017-2018 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include <chainparams.h> | #include <chainparams.h> | ||||
#include <chainparamsconstants.h> | #include <chainparamsconstants.h> | ||||
#include <chainparamsseeds.h> | #include <chainparamsseeds.h> | ||||
#include <consensus/merkle.h> | #include <consensus/merkle.h> | ||||
#include <tinyformat.h> | #include <tinyformat.h> | ||||
#include <util/strencodings.h> | #include <util/strencodings.h> | ||||
#include <util/system.h> | #include <util/system.h> | ||||
#include <cassert> | #include <cassert> | ||||
#include <memory> | |||||
static CBlock CreateGenesisBlock(const char *pszTimestamp, | static CBlock CreateGenesisBlock(const char *pszTimestamp, | ||||
const CScript &genesisOutputScript, | const CScript &genesisOutputScript, | ||||
uint32_t nTime, uint32_t nNonce, | uint32_t nTime, uint32_t nNonce, | ||||
uint32_t nBits, int32_t nVersion, | uint32_t nBits, int32_t nVersion, | ||||
const Amount genesisReward) { | const Amount genesisReward) { | ||||
CMutableTransaction txNew; | CMutableTransaction txNew; | ||||
txNew.nVersion = 1; | txNew.nVersion = 1; | ||||
▲ Show 20 Lines • Show All 473 Lines • Show Last 20 Lines |