PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Classes | Typedefs | Functions
chainparams.h File Reference
#include "chainparamsbase.h"
#include "checkpoints.h"
#include "primitives/block.h"
#include "protocol.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
 
struct  SeedSpec6
 
class  CChainParams
 CChainParams defines various tweakable parameters of a given instance of the PRCY system. More...
 

Typedefs

typedef unsigned char MessageStartChars[MESSAGE_START_SIZE]
 

Functions

const CChainParamsParams ()
 Return the currently selected parameters. More...
 
CChainParamsParams (CBaseChainParams::Network network)
 Return parameters for the given network. More...
 
void SelectParams (CBaseChainParams::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...
 

Typedef Documentation

◆ MessageStartChars

typedef unsigned char MessageStartChars[MESSAGE_START_SIZE]

Definition at line 21 of file chainparams.h.

Function Documentation

◆ Params() [1/2]

const CChainParams& Params ( )

Return the currently selected parameters.

This won't change after app startup outside of the unit tests.

Definition at line 463 of file chainparams.cpp.

◆ Params() [2/2]

Return parameters for the given network.

Definition at line 469 of file chainparams.cpp.

◆ SelectParams()

void SelectParams ( CBaseChainParams::Network  network)

Sets the params returned by Params() to those for the given network.

Definition at line 484 of file chainparams.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SelectParamsFromCommandLine()

bool SelectParamsFromCommandLine ( )

Looks for -regtest or -testnet and then calls SelectParams as appropriate.

Returns false if an invalid combination is given.

Definition at line 490 of file chainparams.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: