Anoncoin  0.9.4
P2P Digital Currency
Classes | Macros | Typedefs | Functions
chainparams.h File Reference
#include "bignum.h"
#include "uint256.h"
#include <vector>
Include dependency graph for chainparams.h:
This graph shows which files directly or indirectly include this file:

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 CChainParamsParams ()
 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 ()
 

Macro Definition Documentation

#define MESSAGE_START_SIZE   4

Definition at line 25 of file chainparams.h.

Typedef Documentation

typedef unsigned char MessageStartChars[MESSAGE_START_SIZE]

Definition at line 26 of file chainparams.h.

Function Documentation

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.

Here is the caller graph for this function:

bool RegTest ( )
inline

Definition at line 132 of file chainparams.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

bool TestNet ( )
inline

Definition at line 127 of file chainparams.h.

Here is the call graph for this function:

Here is the caller graph for this function: