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 "consensus/merkle.h" | |||||
#include "tinyformat.h" | #include <chainparamsseeds.h> | ||||
#include "util.h" | #include <consensus/merkle.h> | ||||
#include "utilstrencodings.h" | #include <tinyformat.h> | ||||
#include <util.h> | |||||
#include <utilstrencodings.h> | |||||
#include <cassert> | #include <cassert> | ||||
#include "chainparamsseeds.h" | |||||
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; | ||||
txNew.vin.resize(1); | txNew.vin.resize(1); | ||||
▲ Show 20 Lines • Show All 484 Lines • Show Last 20 Lines |