![]() |
Anoncoin
0.9.4
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
struct | CDNSSeedData |
class | CChainParams |
CChainParams defines various tweakable parameters of a given instance of the Anoncoin system. More... | |
Macros | |
#define | MESSAGE_START_SIZE 4 |
Typedefs | |
typedef unsigned char | MessageStartChars[MESSAGE_START_SIZE] |
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... | |
bool | TestNet () |
bool | RegTest () |
#define MESSAGE_START_SIZE 4 |
Definition at line 25 of file chainparams.h.
typedef unsigned char MessageStartChars[MESSAGE_START_SIZE] |
Definition at line 26 of file chainparams.h.
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.
|
inline |
Definition at line 132 of file chainparams.h.
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.
|
inline |
Definition at line 127 of file chainparams.h.