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

#include <providertx.h>

Collaboration diagram for ProUpRegPL:
[legend]

Public Member Functions

 SERIALIZE_METHODS (ProUpRegPL, 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 nMode {0}
 
CBLSPublicKey pubKeyOperator
 
CKeyID keyIDVoting
 
CScript scriptPayout
 
uint256 inputsHash
 
std::vector< unsigned char > vchSig
 

Static Public Attributes

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

Detailed Description

Definition at line 102 of file providertx.h.

Member Function Documentation

◆ IsTriviallyValid()

bool ProUpRegPL::IsTriviallyValid ( CValidationState state) const
Todo:
: enable other scripts

Definition at line 157 of file providertx.cpp.

Here is the call graph for this function:

◆ SERIALIZE_METHODS()

ProUpRegPL::SERIALIZE_METHODS ( ProUpRegPL  ,
obj   
)
inline

Definition at line 119 of file providertx.h.

◆ ToJson()

void ProUpRegPL::ToJson ( UniValue obj) const

Definition at line 142 of file providertx.cpp.

Here is the call graph for this function:

◆ ToString()

std::string ProUpRegPL::ToString ( ) const

Definition at line 133 of file providertx.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ CURRENT_VERSION

const uint16_t ProUpRegPL::CURRENT_VERSION = 1
static

Definition at line 105 of file providertx.h.

◆ inputsHash

uint256 ProUpRegPL::inputsHash

Definition at line 115 of file providertx.h.

◆ keyIDVoting

CKeyID ProUpRegPL::keyIDVoting

Definition at line 113 of file providertx.h.

◆ nMode

uint16_t ProUpRegPL::nMode {0}

Definition at line 111 of file providertx.h.

◆ nVersion

uint16_t ProUpRegPL::nVersion {CURRENT_VERSION}

Definition at line 109 of file providertx.h.

◆ proTxHash

uint256 ProUpRegPL::proTxHash

Definition at line 110 of file providertx.h.

◆ pubKeyOperator

CBLSPublicKey ProUpRegPL::pubKeyOperator

Definition at line 112 of file providertx.h.

◆ scriptPayout

CScript ProUpRegPL::scriptPayout

Definition at line 114 of file providertx.h.

◆ SPECIALTX_TYPE

constexpr int16_t ProUpRegPL::SPECIALTX_TYPE = CTransaction::TxType::PROUPREG
staticconstexpr

Definition at line 106 of file providertx.h.

◆ vchSig

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

Definition at line 116 of file providertx.h.


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