![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
Parameters that influence chain consensus. More...
#include <params.h>
Public Member Functions | |
| int64_t | TargetTimespan (const bool fV2=true) const |
| uint256 | ProofOfStakeLimit (const bool fV2) const |
| bool | MoneyRange (const CAmount &nValue) const |
| bool | IsTimeProtocolV2 (const int nHeight) const |
| int | MasternodeCollateralMinConf () const |
| int | FutureBlockTimeDrift (const int nHeight) const |
| bool | IsValidBlockTimeStamp (const int64_t nTime, const int nHeight) const |
| bool | HasStakeMinAgeOrDepth (const int contextHeight, const uint32_t contextTime, const int utxoFromBlockHeight, const uint32_t utxoFromBlockTime) const |
| libzerocoin::ZerocoinParams * | Zerocoin_Params (bool useModulusV1) const |
| bool | NetworkUpgradeActive (int nHeight, Consensus::UpgradeIndex idx) const |
| Returns true if the given network upgrade is active as of the given block height. More... | |
| Optional< LLMQParams > | GetLLMQParams (uint8_t llmqtype) const |
|
inline |
| Optional< LLMQParams > Consensus::Params::GetLLMQParams | ( | uint8_t | llmqtype | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool Consensus::Params::NetworkUpgradeActive | ( | int | nHeight, |
| Consensus::UpgradeIndex | idx | ||
| ) | const |
Returns true if the given network upgrade is active as of the given block height.
Caller must check that the height is >= 0 (and handle unknown heights).
Definition at line 12 of file params.cpp.
|
inline |
|
inline |
|
inline |
| std::map<LLMQType, LLMQParams> Consensus::Params::llmqs |
| NetworkUpgrade Consensus::Params::vUpgrades[MAX_NETWORK_UPGRADES] |