![]() |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
CChainParams defines various tweakable parameters of a given instance of the PRCY system. More...
#include <chainparams.h>
Public Types | |
| enum | Base58Type { PUBKEY_ADDRESS, SCRIPT_ADDRESS, SECRET_KEY, EXT_PUBLIC_KEY, EXT_SECRET_KEY, MAX_BASE58_TYPES } |
Public Member Functions | |
| const uint256 & | HashGenesisBlock () const |
| const MessageStartChars & | MessageStart () const |
| int | GetDefaultPort () const |
| const uint256 & | ProofOfWorkLimit () 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 CBlock & | GenesisBlock () 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 |
| virtual const Checkpoints::CCheckpointData & | Checkpoints () const =0 |
| 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 |
Public Attributes | |
| int | nLastPOWBlock |
| CAmount | TOTAL_SUPPLY = 70000000 * COIN |
Protected Member Functions | |
| CChainParams () | |
CChainParams defines various tweakable parameters of a given instance of the PRCY system.
There are three: the main network on which people trade goods and services, the public test network which gets reset from time to time and a regression test mode which is intended for private networks only. It has minimal difficulty to ensure that blocks can be found instantly.
Definition at line 41 of file chainparams.h.
| Enumerator | |
|---|---|
| PUBKEY_ADDRESS | |
| SCRIPT_ADDRESS | |
| SECRET_KEY | |
| EXT_PUBLIC_KEY | |
| EXT_SECRET_KEY | |
| MAX_BASE58_TYPES | |
Definition at line 44 of file chainparams.h.
|
inlineprotected |
Definition at line 133 of file chainparams.h.
|
inline |
Allow mining of a min-difficulty block.
Definition at line 77 of file chainparams.h.
|
inline |
|
inline |
Definition at line 118 of file chainparams.h.
|
inline |
Definition at line 102 of file chainparams.h.
|
inline |
|
pure virtual |
Implemented in CRegTestParams, CTestNetParams, and CMainParams.
|
inline |
|
inline |
Default value for -checkmempool and -checkblockindex argument.
Definition at line 75 of file chainparams.h.
|
inline |
Used if GeneratePrcycoins is called with a negative number of threads.
Definition at line 67 of file chainparams.h.
|
inline |
|
inline |
Used to check majorities for block version upgrade.
Definition at line 60 of file chainparams.h.
|
inline |
Definition at line 105 of file chainparams.h.
|
inline |
Definition at line 123 of file chainparams.h.
|
inline |
Definition at line 98 of file chainparams.h.
|
inline |
|
inline |
|
inline |
Definition at line 119 of file chainparams.h.
|
inline |
Definition at line 120 of file chainparams.h.
|
inline |
Definition at line 121 of file chainparams.h.
|
inline |
Definition at line 54 of file chainparams.h.
|
inline |
Headers first syncing is disabled.
Definition at line 73 of file chainparams.h.
|
inline |
Definition at line 107 of file chainparams.h.
|
inline |
Definition at line 84 of file chainparams.h.
|
inline |
Definition at line 104 of file chainparams.h.
|
inline |
|
inline |
The masternode count that we will allow the see-saw reward payments to be off by.
Definition at line 89 of file chainparams.h.
|
inline |
|
inline |
Definition at line 63 of file chainparams.h.
|
inline |
Definition at line 55 of file chainparams.h.
|
inline |
Definition at line 127 of file chainparams.h.
|
inline |
Make miner stop after a block is found.
In RPC, don't return until nGenProcLimit blocks are generated
Definition at line 91 of file chainparams.h.
|
inline |
|
inline |
Make miner wait to have peers to avoid wasting work.
Definition at line 71 of file chainparams.h.
|
inline |
|
inline |
Height or Time Based Activations.
Definition at line 110 of file chainparams.h.
|
inline |
|
inline |
Return the network string.
Definition at line 95 of file chainparams.h.
|
inline |
Definition at line 126 of file chainparams.h.
|
inline |
Definition at line 115 of file chainparams.h.
|
inline |
Definition at line 114 of file chainparams.h.
|
inline |
|
inline |
Definition at line 116 of file chainparams.h.
|
inline |
Definition at line 100 of file chainparams.h.
|
inline |
|
inline |
Definition at line 61 of file chainparams.h.
|
inline |
Definition at line 69 of file chainparams.h.
|
inline |
Make standard checks.
Definition at line 81 of file chainparams.h.
|
inline |
Skip proof-of-work check: allow mining of any difficulty block.
Definition at line 79 of file chainparams.h.
|
inline |
|
inline |
|
inline |
Definition at line 112 of file chainparams.h.
|
inline |
Definition at line 101 of file chainparams.h.
|
inline |
Definition at line 106 of file chainparams.h.
|
inline |
Definition at line 58 of file chainparams.h.
|
inline |
Definition at line 122 of file chainparams.h.
|
inline |
|
inline |
Definition at line 82 of file chainparams.h.
|
inline |
In the future use NetworkIDString() for RPC fields.
Definition at line 93 of file chainparams.h.
|
inline |
|
protected |
Definition at line 169 of file chainparams.h.
|
protected |
Definition at line 142 of file chainparams.h.
|
protected |
Definition at line 176 of file chainparams.h.
|
protected |
Definition at line 177 of file chainparams.h.
|
protected |
Definition at line 182 of file chainparams.h.
|
protected |
Definition at line 179 of file chainparams.h.
|
protected |
Definition at line 175 of file chainparams.h.
|
protected |
Definition at line 174 of file chainparams.h.
|
protected |
Definition at line 178 of file chainparams.h.
|
protected |
Definition at line 180 of file chainparams.h.
|
protected |
Definition at line 181 of file chainparams.h.
|
protected |
Definition at line 172 of file chainparams.h.
|
protected |
Definition at line 135 of file chainparams.h.
|
protected |
Definition at line 186 of file chainparams.h.
|
protected |
Definition at line 185 of file chainparams.h.
|
protected |
Raw pub key bytes for the broadcast alert signing key.
Definition at line 138 of file chainparams.h.
|
protected |
Definition at line 146 of file chainparams.h.
|
protected |
Definition at line 170 of file chainparams.h.
|
protected |
Definition at line 139 of file chainparams.h.
|
protected |
Definition at line 157 of file chainparams.h.
|
protected |
Definition at line 153 of file chainparams.h.
|
protected |
Definition at line 154 of file chainparams.h.
|
protected |
Definition at line 155 of file chainparams.h.
|
protected |
Definition at line 141 of file chainparams.h.
| int CChainParams::nLastPOWBlock |
Definition at line 129 of file chainparams.h.
|
protected |
Definition at line 162 of file chainparams.h.
|
protected |
Definition at line 163 of file chainparams.h.
|
protected |
Definition at line 191 of file chainparams.h.
|
mutableprotected |
Definition at line 144 of file chainparams.h.
|
protected |
Definition at line 167 of file chainparams.h.
|
protected |
Definition at line 166 of file chainparams.h.
|
protected |
Definition at line 190 of file chainparams.h.
|
protected |
Definition at line 165 of file chainparams.h.
|
protected |
Definition at line 164 of file chainparams.h.
|
protected |
Definition at line 189 of file chainparams.h.
|
protected |
Definition at line 159 of file chainparams.h.
|
protected |
Definition at line 158 of file chainparams.h.
|
protected |
Definition at line 161 of file chainparams.h.
|
protected |
Definition at line 160 of file chainparams.h.
|
protected |
Definition at line 183 of file chainparams.h.
|
protected |
Definition at line 147 of file chainparams.h.
|
protected |
Definition at line 152 of file chainparams.h.
|
protected |
Definition at line 143 of file chainparams.h.
|
protected |
Definition at line 184 of file chainparams.h.
|
protected |
Definition at line 151 of file chainparams.h.
|
protected |
Definition at line 140 of file chainparams.h.
|
protected |
Definition at line 145 of file chainparams.h.
|
protected |
Definition at line 156 of file chainparams.h.
|
protected |
Definition at line 150 of file chainparams.h.
|
protected |
Definition at line 149 of file chainparams.h.
|
protected |
Definition at line 148 of file chainparams.h.
|
protected |
Definition at line 136 of file chainparams.h.
|
protected |
Definition at line 171 of file chainparams.h.
| CAmount CChainParams::TOTAL_SUPPLY = 70000000 * COIN |
Definition at line 130 of file chainparams.h.
|
protected |
Definition at line 173 of file chainparams.h.
|
protected |
Definition at line 168 of file chainparams.h.
1.8.17