![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "chainparams.h"#include "chainparamsseeds.h"#include "consensus/merkle.h"#include "tinyformat.h"#include "utilstrencodings.h"#include <assert.h>Go to the source code of this file.
Classes | |
| class | CMainParams |
| class | CTestNetParams |
| Testnet (v5) More... | |
| class | CRegTestParams |
| Regression test. More... | |
Functions | |
| const CChainParams & | Params () |
| Return the currently selected parameters. More... | |
| std::unique_ptr< CChainParams > | CreateChainParams (const std::string &chain) |
| Creates and returns a std::unique_ptr<CChainParams> of the chosen chain. More... | |
| void | SelectParams (const std::string &network) |
| Sets the params returned by Params() to those for the given chain name. More... | |
| void | UpdateNetworkUpgradeParameters (Consensus::UpgradeIndex idx, int nActivationHeight) |
| Allows modifying the network upgrade regtest parameters. More... | |
| 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 672 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 666 of file chainparams.cpp.
| void SelectParams | ( | const std::string & | chain | ) |
Sets the params returned by Params() to those for the given chain name.
| std::runtime_error | when the chain is not supported. |
Definition at line 683 of file chainparams.cpp.
| void UpdateNetworkUpgradeParameters | ( | Consensus::UpgradeIndex | idx, |
| int | nActivationHeight | ||
| ) |
Allows modifying the network upgrade regtest parameters.
Definition at line 689 of file chainparams.cpp.