Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Typedefs | Functions
chainparams.h File Reference
#include <consensus/params.h>
#include <kernel/messagestartchars.h>
#include <primitives/block.h>
#include <uint256.h>
#include <util/chaintype.h>
#include <util/hash_type.h>
#include <util/vector.h>
#include <cstdint>
#include <iterator>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
Include dependency graph for chainparams.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CCheckpointData
 
struct  AssumeutxoHash
 
struct  AssumeutxoData
 Holds configuration for use during UTXO snapshot load and validation. More...
 
struct  ChainTxData
 Holds various statistics on transactions within a chain. More...
 
class  CChainParams
 CChainParams defines various tweakable parameters of a given instance of the Bitcoin system. More...
 
struct  CChainParams::SigNetOptions
 SigNetOptions holds configurations for creating a signet CChainParams. More...
 
struct  CChainParams::VersionBitsParameters
 VersionBitsParameters holds activation parameters. More...
 
struct  CChainParams::RegTestOptions
 RegTestOptions holds configurations for creating a regtest CChainParams. More...
 

Typedefs

typedef std::map< int, uint256MapCheckpoints
 

Functions

std::optional< ChainTypeGetNetworkForMagic (const MessageStartChars &pchMessageStart)
 

Typedef Documentation

◆ MapCheckpoints

typedef std::map<int, uint256> MapCheckpoints

Definition at line 27 of file chainparams.h.

Function Documentation

◆ GetNetworkForMagic()

std::optional< ChainType > GetNetworkForMagic ( const MessageStartChars pchMessageStart)

Definition at line 691 of file chainparams.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: