![]() |
Anoncoin
0.9.4
P2P Digital Currency
|
#include "chainparams.h"
#include "assert.h"
#include "core.h"
#include "protocol.h"
#include "util.h"
#include <boost/assign/list_of.hpp>
Go to the source code of this file.
Classes | |
class | CMainParams |
class | CTestNetParams |
class | CRegTestParams |
Functions | |
const CChainParams & | Params () |
Return the currently selected parameters. More... | |
void | SelectParams (CChainParams::Network network) |
Sets the params returned by Params() to those for the given network. More... | |
bool | SelectParamsFromCommandLine () |
Looks for -regtest or -testnet and then calls SelectParams as appropriate. More... | |
Variables | |
unsigned int | pnSeed [] |
const CChainParams& Params | ( | ) |
Return the currently selected parameters.
This won't change after app startup outside of the unit tests.
Definition at line 244 of file chainparams.cpp.
void SelectParams | ( | CChainParams::Network | network | ) |
Sets the params returned by Params() to those for the given network.
Definition at line 248 of file chainparams.cpp.
bool SelectParamsFromCommandLine | ( | ) |
Looks for -regtest or -testnet and then calls SelectParams as appropriate.
Returns false if an invalid combination is given.
Definition at line 265 of file chainparams.cpp.
unsigned int pnSeed[] |
Definition at line 29 of file chainparams.cpp.