Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <chainparamsbase.h>
#include <consensus/params.h>
#include <primitives/block.h>
#include <protocol.h>
#include <memory>
#include <vector>
Go to the source code of this file.
Classes | |
struct | CDNSSeedData |
struct | SeedSpec6 |
struct | CCheckpointData |
struct | ChainTxData |
class | CChainParams |
CChainParams defines various tweakable parameters of a given instance of the Fabcoin system. More... | |
Typedefs | |
typedef std::map< int, uint256 > | MapCheckpoints |
Functions | |
std::unique_ptr< CChainParams > | CreateChainParams (const std::string &chain) |
Creates and returns a std::unique_ptr<CChainParams> of the chosen chain. More... | |
const CChainParams & | Params () |
Return the currently selected parameters. More... | |
const CChainParams & | GetParams () |
void | SelectParams (const std::string &chain) |
Sets the params returned by Params() to those for the given BIP70 chain name. More... | |
void | UpdateVersionBitsParameters (Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout) |
Allows modifying the Version Bits regtest parameters. More... | |
typedef std::map<int, uint256> MapCheckpoints |
Definition at line 28 of file chainparams.h.
std::unique_ptr<CChainParams> CreateChainParams | ( | const std::string & | chain | ) |
Creates and returns a std::unique_ptr<CChainParams> of the chosen chain.
a | std::runtime_error if the chain is not supported. |
Definition at line 530 of file chainparams.cpp.
const CChainParams& GetParams | ( | ) |
Definition at line 525 of file chainparams.cpp.
const CChainParams& Params | ( | ) |
Return the currently selected parameters.
This won't change after app startup, except for unit tests.
Definition at line 520 of file chainparams.cpp.
void SelectParams | ( | const std::string & | chain | ) |
Sets the params returned by Params() to those for the given BIP70 chain name.
std::runtime_error | when the chain is not supported. |
Definition at line 544 of file chainparams.cpp.
void UpdateVersionBitsParameters | ( | Consensus::DeploymentPos | d, |
int64_t | nStartTime, | ||
int64_t | nTimeout | ||
) |
Allows modifying the Version Bits regtest parameters.
Definition at line 550 of file chainparams.cpp.