![]() |
Fabcoin Core
0.16.2
P2P Digital Currency
|
CChainParams defines various tweakable parameters of a given instance of the Fabcoin 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 Consensus::Params & | GetConsensus () const |
| const CMessageHeader::MessageStartChars & | MessageStart () const |
| int | GetDefaultPort () const |
| const CBlock & | GenesisBlock () const |
| bool | MiningRequiresPeers () const |
| Make miner wait to have peers to avoid wasting work. More... | |
| bool | DefaultConsistencyChecks () const |
| Default value for -checkmempool and -checkblockindex argument. More... | |
| bool | RequireStandard () const |
| Policy: Filter transactions that do not match well-defined patterns. More... | |
| uint64_t | PruneAfterHeight () const |
| unsigned int | EquihashN (uint32_t nHeight=0) const |
| unsigned int | EquihashK (uint32_t nHeight=0) const |
| int64_t | GetnPowTargetSpacing (uint32_t nHeight=0) const |
| bool | MineBlocksOnDemand () const |
| Make miner stop after a block is found. More... | |
| std::string | NetworkIDString () const |
| Return the BIP70 network string (main, test or regtest) More... | |
| const std::vector< CDNSSeedData > & | DNSSeeds () const |
| const std::vector< unsigned char > & | Base58Prefix (Base58Type type) const |
| const std::vector< SeedSpec6 > & | FixedSeeds () const |
| const CCheckpointData & | Checkpoints () const |
| const ChainTxData & | TxData () const |
| void | UpdateVersionBitsParameters (Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout) |
Protected Member Functions | |
| CChainParams () | |
Protected Attributes | |
| Consensus::Params | consensus |
| CMessageHeader::MessageStartChars | pchMessageStart |
| int | nDefaultPort |
| uint64_t | nPruneAfterHeight |
| unsigned int | nEquihashN = 0 |
| unsigned int | nEquihashK = 0 |
| std::vector< CDNSSeedData > | vSeeds |
| std::vector< unsigned char > | base58Prefixes [MAX_BASE58_TYPES] |
| std::string | strNetworkID |
| CBlock | genesis |
| std::vector< SeedSpec6 > | vFixedSeeds |
| bool | fMiningRequiresPeers |
| bool | fDefaultConsistencyChecks |
| bool | fRequireStandard |
| bool | fMineBlocksOnDemand |
| CCheckpointData | checkpointData |
| ChainTxData | chainTxData |
CChainParams defines various tweakable parameters of a given instance of the Fabcoin 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 47 of file chainparams.h.
| Enumerator | |
|---|---|
| PUBKEY_ADDRESS | |
| SCRIPT_ADDRESS | |
| SECRET_KEY | |
| EXT_PUBLIC_KEY | |
| EXT_SECRET_KEY | |
| MAX_BASE58_TYPES | |
Definition at line 50 of file chainparams.h.
|
inlineprotected |
Definition at line 86 of file chainparams.h.
|
inline |
|
inline |
|
inline |
Default value for -checkmempool and -checkblockindex argument.
Definition at line 68 of file chainparams.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 81 of file chainparams.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Make miner stop after a block is found.
In RPC, don't return until nGenProcLimit blocks are generated
Definition at line 76 of file chainparams.h.
|
inline |
Make miner wait to have peers to avoid wasting work.
Definition at line 66 of file chainparams.h.
|
inline |
Return the BIP70 network string (main, test or regtest)
Definition at line 78 of file chainparams.h.
|
inline |
|
inline |
Policy: Filter transactions that do not match well-defined patterns.
Definition at line 70 of file chainparams.h.
|
inline |
Definition at line 83 of file chainparams.h.
| void CChainParams::UpdateVersionBitsParameters | ( | Consensus::DeploymentPos | d, |
| int64_t | nStartTime, | ||
| int64_t | nTimeout | ||
| ) |
Definition at line 118 of file chainparams.cpp.
|
protected |
Definition at line 95 of file chainparams.h.
|
protected |
Definition at line 104 of file chainparams.h.
|
protected |
Definition at line 103 of file chainparams.h.
|
protected |
Definition at line 88 of file chainparams.h.
|
protected |
Definition at line 100 of file chainparams.h.
|
protected |
Definition at line 102 of file chainparams.h.
|
protected |
Definition at line 99 of file chainparams.h.
|
protected |
Definition at line 101 of file chainparams.h.
|
protected |
Definition at line 97 of file chainparams.h.
|
protected |
Definition at line 90 of file chainparams.h.
|
protected |
Definition at line 93 of file chainparams.h.
|
protected |
Definition at line 92 of file chainparams.h.
|
protected |
Definition at line 91 of file chainparams.h.
|
protected |
Definition at line 89 of file chainparams.h.
|
protected |
Definition at line 96 of file chainparams.h.
|
protected |
Definition at line 98 of file chainparams.h.
|
protected |
Definition at line 94 of file chainparams.h.
1.8.11