PIVX Core  5.6.99
P2P Digital Currency
Classes | Enumerations | Functions
Consensus Namespace Reference

Classes

struct  NetworkUpgrade
 
struct  LLMQParams
 
struct  Params
 Parameters that influence chain consensus. More...
 

Enumerations

enum  UpgradeIndex : uint32_t {
  BASE_NETWORK , UPGRADE_POS , UPGRADE_POS_V2 , UPGRADE_ZC ,
  UPGRADE_ZC_V2 , UPGRADE_BIP65 , UPGRADE_ZC_PUBLIC , UPGRADE_V3_4 ,
  UPGRADE_V4_0 , UPGRADE_V5_0 , UPGRADE_V5_2 , UPGRADE_V5_3 ,
  UPGRADE_V5_5 , UPGRADE_V5_6 , UPGRADE_V6_0 , UPGRADE_TESTDUMMY ,
  MAX_NETWORK_UPGRADES
}
 Index into Params.vUpgrades and NetworkUpgradeInfo. More...
 
enum  LLMQType : uint8_t {
  LLMQ_NONE = 0xff , LLMQ_50_60 = 1 , LLMQ_400_60 = 2 , LLMQ_400_85 = 3 ,
  LLMQ_TEST = 100
}
 

Functions

bool CheckTxInputs (const CTransaction &tx, CValidationState &state, const CCoinsViewCache &inputs, int nSpendHeight)
 

Enumeration Type Documentation

◆ LLMQType

enum Consensus::LLMQType : uint8_t
Enumerator
LLMQ_NONE 
LLMQ_50_60 
LLMQ_400_60 
LLMQ_400_85 
LLMQ_TEST 

Definition at line 89 of file params.h.

◆ UpgradeIndex

enum Consensus::UpgradeIndex : uint32_t

Index into Params.vUpgrades and NetworkUpgradeInfo.

Being array indices, these MUST be numbered consecutively.

The order of these indices MUST match the order of the upgrades on-chain, as several functions depend on the enum being sorted.

Enumerator
BASE_NETWORK 
UPGRADE_POS 
UPGRADE_POS_V2 
UPGRADE_ZC 
UPGRADE_ZC_V2 
UPGRADE_BIP65 
UPGRADE_ZC_PUBLIC 
UPGRADE_V3_4 
UPGRADE_V4_0 
UPGRADE_V5_0 
UPGRADE_V5_2 
UPGRADE_V5_3 
UPGRADE_V5_5 
UPGRADE_V5_6 
UPGRADE_V6_0 
UPGRADE_TESTDUMMY 
MAX_NETWORK_UPGRADES 

Definition at line 26 of file params.h.

Function Documentation

◆ CheckTxInputs()

bool Consensus::CheckTxInputs ( const CTransaction tx,
CValidationState state,
const CCoinsViewCache inputs,
int  nSpendHeight 
)

Definition at line 1052 of file validation.cpp.

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