Page MenuHomePhabricator

chainparamsconstants.h
No OneTemporary

chainparamsconstants.h

// Copyright (c) 2019-2020 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CHAINPARAMSCONSTANTS_H
#define BITCOIN_CHAINPARAMSCONSTANTS_H
/**
* Chain params constants for each tracked chain.
*/
#include <primitives/blockhash.h>
#include <uint256.h>
namespace ChainParamsConstants {
extern const BlockHash MAINNET_DEFAULT_ASSUME_VALID;
extern const uint256 MAINNET_MINIMUM_CHAIN_WORK;
extern const uint64_t MAINNET_ASSUMED_BLOCKCHAIN_SIZE;
extern const uint64_t MAINNET_ASSUMED_CHAINSTATE_SIZE;
extern const BlockHash TESTNET_DEFAULT_ASSUME_VALID;
extern const uint256 TESTNET_MINIMUM_CHAIN_WORK;
extern const uint64_t TESTNET_ASSUMED_BLOCKCHAIN_SIZE;
extern const uint64_t TESTNET_ASSUMED_CHAINSTATE_SIZE;
} // namespace ChainParamsConstants
#endif // BITCOIN_CHAINPARAMSCONSTANTS_H

File Metadata

Mime Type
text/x-c++
Expires
Mon, Nov 25, 08:01 (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4507586
Default Alt Text
chainparamsconstants.h (919 B)

Event Timeline