#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.
◆ MapCheckpoints
◆ CreateChainParams()
std::unique_ptr<CChainParams> CreateChainParams |
( |
const std::string & |
chain | ) |
|
Creates and returns a std::unique_ptr<CChainParams> of the chosen chain.
- Returns
- a CChainParams* of the chosen chain.
- Exceptions
-
a | std::runtime_error if the chain is not supported. |
Definition at line 655 of file chainparams.cpp.
◆ Params()
Return the currently selected parameters.
This won't change after app startup, except for unit tests.
Definition at line 650 of file chainparams.cpp.
◆ SelectParams()
void SelectParams |
( |
const std::string & |
chain | ) |
|
Sets the params returned by Params() to those for the given BIP70 chain name.
- Exceptions
-
std::runtime_error | when the chain is not supported. |
Definition at line 666 of file chainparams.cpp.
◆ TurnOffBIP34()
◆ TurnOffBIP65()
◆ TurnOffBIP66()
◆ TurnOffCSV()
◆ TurnOffSegwit()
◆ UpdateVersionBitsParameters()
Allows modifying the Version Bits regtest parameters.
Definition at line 672 of file chainparams.cpp.