Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

#include <providertx.h>

+ Collaboration diagram for CProUpRevTx:

Public Types

enum  {
  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

template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 
std::string ToString () const
 
void ToJson (UniValue &obj) const
 

Public Attributes

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

Static Public Attributes

static const uint16_t CURRENT_VERSION = 1
 

Detailed Description

Definition at line 187 of file providertx.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
REASON_NOT_SPECIFIED 
REASON_TERMINATION_OF_SERVICE 
REASON_COMPROMISED_KEYS 
REASON_CHANGE_OF_KEYS 
REASON_LAST 

Definition at line 193 of file providertx.h.

Member Function Documentation

◆ SerializationOp()

template<typename Stream , typename Operation >
void CProUpRevTx::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

Definition at line 212 of file providertx.h.

References inputsHash, nReason, nVersion, proTxHash, READWRITE, SER_GETHASH, and sig.

◆ ToJson()

void CProUpRevTx::ToJson ( UniValue obj) const
inline

◆ ToString()

std::string CProUpRevTx::ToString ( ) const

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CProUpRevTx::ADD_SERIALIZE_METHODS

Definition at line 209 of file providertx.h.

◆ CURRENT_VERSION

const uint16_t CProUpRevTx::CURRENT_VERSION = 1
static

Definition at line 190 of file providertx.h.

Referenced by CheckProUpRevTx().

◆ inputsHash

uint256 CProUpRevTx::inputsHash

Definition at line 205 of file providertx.h.

Referenced by SerializationOp(), and ToJson().

◆ nReason

uint16_t CProUpRevTx::nReason {REASON_NOT_SPECIFIED}

◆ nVersion

uint16_t CProUpRevTx::nVersion {CURRENT_VERSION}

Definition at line 202 of file providertx.h.

Referenced by CheckProUpRevTx(), SerializationOp(), ToJson(), and ToString().

◆ proTxHash

◆ sig

CBLSSignature CProUpRevTx::sig

Definition at line 206 of file providertx.h.

Referenced by SerializationOp().


The documentation for this class was generated from the following files:
Released under the MIT license