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

#include <providertx.h>

Collaboration diagram for ProRegPL:
[legend]

Public Member Functions

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

Public Attributes

uint16_t nVersion {CURRENT_VERSION}
 
uint16_t nType {0}
 
uint16_t nMode {0}
 
COutPoint collateralOutpoint {UINT256_ZERO, (uint32_t)-1}
 
CService addr
 
CKeyID keyIDOwner
 
CBLSPublicKey pubKeyOperator
 
CKeyID keyIDVoting
 
CScript scriptPayout
 
uint16_t nOperatorReward {0}
 
CScript scriptOperatorPayout
 
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::PROREG
 

Detailed Description

Definition at line 19 of file providertx.h.

Member Function Documentation

◆ IsTriviallyValid()

bool ProRegPL::IsTriviallyValid ( CValidationState state) const

Definition at line 59 of file providertx.cpp.

Here is the call graph for this function:

◆ MakeSignString()

std::string ProRegPL::MakeSignString ( ) const

Definition at line 11 of file providertx.cpp.

Here is the call graph for this function:

◆ SERIALIZE_METHODS()

ProRegPL::SERIALIZE_METHODS ( ProRegPL  ,
obj   
)
inline

Definition at line 42 of file providertx.h.

◆ ToJson()

void ProRegPL::ToJson ( UniValue obj) const

Definition at line 35 of file providertx.cpp.

Here is the call graph for this function:

◆ ToString()

std::string ProRegPL::ToString ( ) const

Definition at line 26 of file providertx.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ addr

CService ProRegPL::addr

Definition at line 30 of file providertx.h.

◆ collateralOutpoint

COutPoint ProRegPL::collateralOutpoint {UINT256_ZERO, (uint32_t)-1}

Definition at line 29 of file providertx.h.

◆ CURRENT_VERSION

const uint16_t ProRegPL::CURRENT_VERSION = 1
static

Definition at line 22 of file providertx.h.

◆ inputsHash

uint256 ProRegPL::inputsHash

Definition at line 37 of file providertx.h.

◆ keyIDOwner

CKeyID ProRegPL::keyIDOwner

Definition at line 31 of file providertx.h.

◆ keyIDVoting

CKeyID ProRegPL::keyIDVoting

Definition at line 33 of file providertx.h.

◆ nMode

uint16_t ProRegPL::nMode {0}

Definition at line 28 of file providertx.h.

◆ nOperatorReward

uint16_t ProRegPL::nOperatorReward {0}

Definition at line 35 of file providertx.h.

◆ nType

uint16_t ProRegPL::nType {0}

Definition at line 27 of file providertx.h.

◆ nVersion

uint16_t ProRegPL::nVersion {CURRENT_VERSION}

Definition at line 26 of file providertx.h.

◆ pubKeyOperator

CBLSPublicKey ProRegPL::pubKeyOperator

Definition at line 32 of file providertx.h.

◆ scriptOperatorPayout

CScript ProRegPL::scriptOperatorPayout

Definition at line 36 of file providertx.h.

◆ scriptPayout

CScript ProRegPL::scriptPayout

Definition at line 34 of file providertx.h.

◆ SPECIALTX_TYPE

constexpr int16_t ProRegPL::SPECIALTX_TYPE = CTransaction::TxType::PROREG
staticconstexpr

Definition at line 23 of file providertx.h.

◆ vchSig

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

Definition at line 38 of file providertx.h.


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