PIVX Core  5.6.99
P2P Digital Currency
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ProUpRevPL Class Reference

#include <providertx.h>

Collaboration diagram for ProUpRevPL:
[legend]

Public Types

enum  RevocationReason {
  REASON_NOT_SPECIFIED = 0 , REASON_TERMINATION_OF_SERVICE = 1 , REASON_COMPROMISED_KEYS = 2 , REASON_CHANGE_OF_KEYS = 3 ,
  REASON_LAST = REASON_CHANGE_OF_KEYS
}
 

Public Member Functions

 SERIALIZE_METHODS (ProUpRevPL, obj)
 
std::string ToString () const
 
void ToJson (UniValue &obj) const
 
bool IsTriviallyValid (CValidationState &state) const
 

Public Attributes

uint16_t nVersion {CURRENT_VERSION}
 
uint256 proTxHash
 
uint16_t nReason {REASON_NOT_SPECIFIED}
 
uint256 inputsHash
 
CBLSSignature sig
 

Static Public Attributes

static const uint16_t CURRENT_VERSION = 1
 
static constexpr int16_t SPECIALTX_TYPE = CTransaction::TxType::PROUPREV
 

Detailed Description

Definition at line 134 of file providertx.h.

Member Enumeration Documentation

◆ RevocationReason

Enumerator
REASON_NOT_SPECIFIED 
REASON_TERMINATION_OF_SERVICE 
REASON_COMPROMISED_KEYS 
REASON_CHANGE_OF_KEYS 
REASON_LAST 

Definition at line 141 of file providertx.h.

Member Function Documentation

◆ IsTriviallyValid()

bool ProUpRevPL::IsTriviallyValid ( CValidationState state) const

Definition at line 196 of file providertx.cpp.

Here is the call graph for this function:

◆ SERIALIZE_METHODS()

ProUpRevPL::SERIALIZE_METHODS ( ProUpRevPL  ,
obj   
)
inline

Definition at line 157 of file providertx.h.

◆ ToJson()

void ProUpRevPL::ToJson ( UniValue obj) const

Definition at line 186 of file providertx.cpp.

Here is the call graph for this function:

◆ ToString()

std::string ProUpRevPL::ToString ( ) const

Definition at line 180 of file providertx.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ CURRENT_VERSION

const uint16_t ProUpRevPL::CURRENT_VERSION = 1
static

Definition at line 137 of file providertx.h.

◆ inputsHash

uint256 ProUpRevPL::inputsHash

Definition at line 153 of file providertx.h.

◆ nReason

uint16_t ProUpRevPL::nReason {REASON_NOT_SPECIFIED}

Definition at line 152 of file providertx.h.

◆ nVersion

uint16_t ProUpRevPL::nVersion {CURRENT_VERSION}

Definition at line 150 of file providertx.h.

◆ proTxHash

uint256 ProUpRevPL::proTxHash

Definition at line 151 of file providertx.h.

◆ sig

CBLSSignature ProUpRevPL::sig

Definition at line 154 of file providertx.h.

◆ SPECIALTX_TYPE

constexpr int16_t ProUpRevPL::SPECIALTX_TYPE = CTransaction::TxType::PROUPREV
staticconstexpr

Definition at line 138 of file providertx.h.


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