Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

#include <providertx.h>

+ Collaboration diagram for CProRegTx:

Public Member Functions

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

Public Attributes

uint16_t nVersion {CURRENT_VERSION}
 
uint16_t nType {0}
 
uint16_t nMode {0}
 
COutPoint collateralOutpoint {uint256(), (uint32_t)-1}
 
CService addr
 
CKeyID keyIDOwner
 
CBLSPublicKey pubKeyOperator
 
CKeyID keyIDVoting
 
uint16_t nOperatorReward {0}
 
CScript scriptPayout
 
uint256 inputsHash
 
std::vector< unsigned char > vchSig
 
 ADD_SERIALIZE_METHODS
 

Static Public Attributes

static const uint16_t CURRENT_VERSION = 1
 

Detailed Description

Definition at line 19 of file providertx.h.

Member Function Documentation

◆ MakeSignString()

◆ SerializationOp()

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

◆ ToJson()

◆ ToString()

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CProRegTx::ADD_SERIALIZE_METHODS

Definition at line 39 of file providertx.h.

◆ addr

◆ collateralOutpoint

◆ CURRENT_VERSION

const uint16_t CProRegTx::CURRENT_VERSION = 1
static

Definition at line 22 of file providertx.h.

Referenced by CheckProRegTx().

◆ inputsHash

uint256 CProRegTx::inputsHash

Definition at line 35 of file providertx.h.

Referenced by SerializationOp(), and ToJson().

◆ keyIDOwner

◆ keyIDVoting

◆ nMode

uint16_t CProRegTx::nMode {0}

Definition at line 27 of file providertx.h.

Referenced by CheckProRegTx(), and SerializationOp().

◆ nOperatorReward

uint16_t CProRegTx::nOperatorReward {0}

◆ nType

uint16_t CProRegTx::nType {0}

Definition at line 26 of file providertx.h.

Referenced by CheckProRegTx(), and SerializationOp().

◆ nVersion

uint16_t CProRegTx::nVersion {CURRENT_VERSION}

Definition at line 25 of file providertx.h.

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

◆ pubKeyOperator

◆ scriptPayout

◆ vchSig

std::vector<unsigned char> CProRegTx::vchSig

Definition at line 36 of file providertx.h.

Referenced by CheckProRegTx(), and SerializationOp().


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