PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Member Functions | List of all members
CMainParams Class Reference
Inheritance diagram for CMainParams:
[legend]
Collaboration diagram for CMainParams:
[legend]

Public Member Functions

 CMainParams ()
 
const Checkpoints::CCheckpointDataCheckpoints () const
 
- Public Member Functions inherited from CChainParams
const uint256HashGenesisBlock () const
 
const MessageStartCharsMessageStart () const
 
int GetDefaultPort () const
 
const uint256ProofOfWorkLimit () const
 
int SubsidyHalvingInterval () const
 
int EnforceBlockUpgradeMajority () const
 Used to check majorities for block version upgrade. More...
 
int RejectBlockOutdatedMajority () const
 
int ToCheckBlockUpgradeMajority () const
 
int MaxReorganizationDepth () const
 
int StakeMinAge () const
 
int DefaultMinerThreads () const
 Used if GeneratePrcycoins is called with a negative number of threads. More...
 
const CBlockGenesisBlock () const
 
bool RequireRPCPassword () const
 
bool MiningRequiresPeers () const
 Make miner wait to have peers to avoid wasting work. More...
 
bool HeadersFirstSyncingActive () const
 Headers first syncing is disabled. More...
 
bool DefaultConsistencyChecks () const
 Default value for -checkmempool and -checkblockindex argument. More...
 
bool AllowMinDifficultyBlocks () const
 Allow mining of a min-difficulty block. More...
 
bool SkipProofOfWorkCheck () const
 Skip proof-of-work check: allow mining of any difficulty block. More...
 
bool RequireStandard () const
 Make standard checks. More...
 
int64_t TargetTimespan () const
 
int64_t TargetSpacing () const
 
int64_t Interval () const
 
int COINBASE_MATURITY () const
 
CAmount MNCollateralAmt () const
 
CAmount MinimumStakeAmount () const
 
int MasternodeCountDrift () const
 The masternode count that we will allow the see-saw reward payments to be off by. More...
 
bool MineBlocksOnDemand () const
 Make miner stop after a block is found. More...
 
bool TestnetToBeDeprecatedFieldRPC () const
 In the future use NetworkIDString() for RPC fields. More...
 
std::string NetworkIDString () const
 Return the network string. More...
 
const std::vector< CDNSSeedData > & DNSSeeds () const
 
const std::vector< unsigned char > & Base58Prefix (Base58Type type) const
 
const std::vector< SeedSpec6 > & FixedSeeds () const
 
int PoolMaxTransactions () const
 
int64_t StartMasternodePayments () const
 
int64_t Budget_Fee_Confirmations () const
 
CBaseChainParams::Network NetworkID () const
 
bool IsRegTestNet () const
 
int ExtCoinType () const
 
int StealthPrefix () const
 
int IntegratedPrefix () const
 
int ModifierUpgradeBlock () const
 Height or Time Based Activations. More...
 
int LAST_POW_BLOCK () const
 
int START_POA_BLOCK () const
 
int SoftFork () const
 
int PoANewDiff () const
 
int PoAFixTime () const
 
int PoAPaddingBlock () const
 
int PoAPadding () const
 
int BIP65ActivationHeight () const
 
int HardFork () const
 
int HardForkRingSize () const
 
int HardForkRingSize2 () const
 
int SyncFix () const
 
int FixChecks () const
 
int POA_BLOCK_TIME () const
 
int MIN_NUM_POS_BLOCKS_AUDITED () const
 
int MAX_NUM_POS_BLOCKS_AUDITED () const
 
void ChangeMaxReorg (int num) const
 

Additional Inherited Members

- Public Types inherited from CChainParams
enum  Base58Type {
  PUBKEY_ADDRESS, SCRIPT_ADDRESS, SECRET_KEY, EXT_PUBLIC_KEY,
  EXT_SECRET_KEY, MAX_BASE58_TYPES
}
 
- Public Attributes inherited from CChainParams
int nLastPOWBlock
 
CAmount TOTAL_SUPPLY = 70000000 * COIN
 
- Protected Member Functions inherited from CChainParams
 CChainParams ()
 
- Protected Attributes inherited from CChainParams
uint256 hashGenesisBlock
 
MessageStartChars pchMessageStart
 
int nDefaultPort
 Raw pub key bytes for the broadcast alert signing key. More...
 
int nExtCoinType
 
int nStealthPrefix
 
int nIntegratedPrefix
 
uint256 bnProofOfWorkLimit
 
int nStakeMinAge
 
int nMaxReorganizationDepth
 
int nSubsidyHalvingInterval
 
int nEnforceBlockUpgradeMajority
 
int nRejectBlockOutdatedMajority
 
int nToCheckBlockUpgradeMajority
 
int64_t nTargetTimespan
 
int64_t nTargetSpacing
 
int nStartPOABlock
 
int nSoftForkBlock
 
int nHardForkBlock
 
int nHardForkBlockRingSize
 
int nHardForkBlockRingSize2
 
int nSyncFix
 
int nFixChecks
 
int nPoANewDiff
 
int nPoAFixTime
 
int nPoAPaddingBlock
 
int nPoAPadding
 
int nMasternodeCountDrift
 
int nMaturity
 
int nModifierUpdateBlock
 
CAmount nMNCollateralAmt
 
CAmount nMinimumStakeAmount
 
int nMinerThreads
 
std::vector< CDNSSeedDatavSeeds
 
std::vector< unsigned char > base58Prefixes [MAX_BASE58_TYPES]
 
CBaseChainParams::Network networkID
 
std::string strNetworkID
 
CBlock genesis
 
std::vector< SeedSpec6vFixedSeeds
 
bool fRequireRPCPassword
 
bool fMiningRequiresPeers
 
bool fAllowMinDifficultyBlocks
 
bool fDefaultConsistencyChecks
 
bool fRequireStandard
 
bool fMineBlocksOnDemand
 
bool fSkipProofOfWorkCheck
 
bool fTestnetToBeDeprecatedFieldRPC
 
bool fHeadersFirstSyncingActive
 
int nPoolMaxTransactions
 
int64_t nStartMasternodePayments
 
int64_t nBudget_Fee_Confirmations
 
int nBIP65ActivationHeight
 
int nPoABlockTime
 
int nMinNumPoSBlocks
 
int nMaxNumPoSBlocks
 

Detailed Description

Definition at line 91 of file chainparams.cpp.

Constructor & Destructor Documentation

◆ CMainParams()

CMainParams::CMainParams ( )
inline

The message start string is designed to be unlikely to occur in normal data. The characters are rarely used upper ASCII, not valid as UTF-8, and produce a large 4-byte int at any alignment.

Height or Time Based Activations

Build the genesis block. Note that the output of the genesis coinbase cannot be spent as it did not originally exist in the database.

CBlock(hash=00000ffd590b14, ver=1, hashPrevBlock=00000000000000, hashMerkleRoot=e0028e, nTime=1390095618, nBits=1e0ffff0, nNonce=28917698, vtx=1) CTransaction(hash=e0028e, ver=1, vin.size=1, vout.size=1, nLockTime=0) CTxIn(COutPoint(000000, -1), coinbase 04ffff001d01044c5957697265642030392f4a616e2f3230313420546865204772616e64204578706572696d656e7420476f6573204c6976653a204f76657273746f636b2e636f6d204973204e6f7720416363657074696e6720426974636f696e73) CTxOut(nValue=50.00000000, scriptPubKey=0xA9037BAC7050C479B121CF) vMerkleTree: e0028e

Definition at line 94 of file chainparams.cpp.

Member Function Documentation

◆ Checkpoints()

const Checkpoints::CCheckpointData& CMainParams::Checkpoints ( ) const
inlinevirtual

Implements CChainParams.

Reimplemented in CRegTestParams, and CTestNetParams.

Definition at line 251 of file chainparams.cpp.


The documentation for this class was generated from the following file: