Changeset View
Changeset View
Standalone View
Standalone View
src/chainparams.h
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2016 The Bitcoin Core 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. | ||||
#ifndef BITCOIN_CHAINPARAMS_H | #ifndef BITCOIN_CHAINPARAMS_H | ||||
#define BITCOIN_CHAINPARAMS_H | #define BITCOIN_CHAINPARAMS_H | ||||
#include <chainparamsbase.h> | #include <chainparamsbase.h> | ||||
#include <chainparamsseeds.h> | |||||
#include <consensus/params.h> | #include <consensus/params.h> | ||||
#include <primitives/block.h> | #include <primitives/block.h> | ||||
#include <protocol.h> | #include <protocol.h> | ||||
#include <memory> | #include <memory> | ||||
#include <vector> | #include <vector> | ||||
struct SeedSpec6 { | |||||
uint8_t addr[16]; | |||||
uint16_t port; | |||||
}; | |||||
typedef std::map<int, BlockHash> MapCheckpoints; | typedef std::map<int, BlockHash> MapCheckpoints; | ||||
struct CCheckpointData { | struct CCheckpointData { | ||||
MapCheckpoints mapCheckpoints; | MapCheckpoints mapCheckpoints; | ||||
}; | }; | ||||
/** | /** | ||||
* Holds various statistics on transactions within a chain. Used to estimate | * Holds various statistics on transactions within a chain. Used to estimate | ||||
▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines |