![]() |
BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
|
#include <chainparams.h>#include <chainparamsseeds.h>#include <consensus/merkle.h>#include <tinyformat.h>#include <util.h>#include <utilstrencodings.h>#include <versionbitsinfo.h>#include <assert.h>#include <arith_uint256.h>#include <boost/algorithm/string/classification.hpp>#include <boost/algorithm/string/split.hpp>Go to the source code of this file.
Classes | |
| class | CMainParams |
| Main network. More... | |
| class | CTestNetParams |
| Testnet (v3-SHA3) More... | |
| class | CRegTestParams |
| Regression test. More... | |
Functions | |
| const CChainParams & | Params () |
| Return the currently selected parameters. More... | |
| std::unique_ptr< const 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 BIP70 chain name. More... | |
| std::unique_ptr<const 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 368 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 363 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 379 of file chainparams.cpp.
1.8.14