Anoncoin  0.9.4
P2P Digital Currency
Classes | Functions | Variables
chainparams.cpp File Reference
#include "chainparams.h"
#include "assert.h"
#include "core.h"
#include "protocol.h"
#include "util.h"
#include <boost/assign/list_of.hpp>
Include dependency graph for chainparams.cpp:

Go to the source code of this file.

Classes

class  CMainParams
 
class  CTestNetParams
 
class  CRegTestParams
 

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...
 

Variables

unsigned int pnSeed []
 

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:

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:

Variable Documentation

unsigned int pnSeed[]
Initial value:
=
{
0x0
}

Definition at line 29 of file chainparams.cpp.