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

#include <deterministicmns.h>

Collaboration diagram for CDeterministicMNState:
[legend]

Public Member Functions

 CDeterministicMNState ()
 
 CDeterministicMNState (const ProRegPL &pl)
 
template<typename Stream >
 CDeterministicMNState (deserialize_type, Stream &s)
 
 SERIALIZE_METHODS (CDeterministicMNState, obj)
 
void ResetOperatorFields ()
 
void BanIfNotBanned (int height)
 
void UpdateConfirmedHash (const uint256 &_proTxHash, const uint256 &_confirmedHash)
 
std::string ToString () const
 
void ToJson (UniValue &obj) const
 

Public Attributes

int nRegisteredHeight {-1}
 
int nLastPaidHeight {0}
 
int nPoSePenalty {0}
 
int nPoSeRevivedHeight {-1}
 
int nPoSeBanHeight {-1}
 
uint16_t nRevocationReason {ProUpRevPL::REASON_NOT_SPECIFIED}
 
uint256 confirmedHash
 
uint256 confirmedHashWithProRegTxHash
 
CKeyID keyIDOwner
 
CBLSLazyPublicKey pubKeyOperator
 
CKeyID keyIDVoting
 
CService addr
 
CScript scriptPayout
 
CScript scriptOperatorPayout
 

Detailed Description

Definition at line 30 of file deterministicmns.h.

Constructor & Destructor Documentation

◆ CDeterministicMNState() [1/3]

CDeterministicMNState::CDeterministicMNState ( )
inline

Definition at line 54 of file deterministicmns.h.

◆ CDeterministicMNState() [2/3]

CDeterministicMNState::CDeterministicMNState ( const ProRegPL pl)
inlineexplicit

Definition at line 55 of file deterministicmns.h.

Here is the call graph for this function:

◆ CDeterministicMNState() [3/3]

template<typename Stream >
CDeterministicMNState::CDeterministicMNState ( deserialize_type  ,
Stream &  s 
)
inline

Definition at line 65 of file deterministicmns.h.

Member Function Documentation

◆ BanIfNotBanned()

void CDeterministicMNState::BanIfNotBanned ( int  height)
inline

Definition at line 92 of file deterministicmns.h.

◆ ResetOperatorFields()

void CDeterministicMNState::ResetOperatorFields ( )
inline

Definition at line 85 of file deterministicmns.h.

Here is the call graph for this function:

◆ SERIALIZE_METHODS()

CDeterministicMNState::SERIALIZE_METHODS ( CDeterministicMNState  ,
obj   
)
inline

Definition at line 67 of file deterministicmns.h.

◆ ToJson()

void CDeterministicMNState::ToJson ( UniValue obj) const

Definition at line 46 of file deterministicmns.cpp.

Here is the call graph for this function:

◆ ToString()

std::string CDeterministicMNState::ToString ( ) const

Definition at line 29 of file deterministicmns.cpp.

Here is the call graph for this function:

◆ UpdateConfirmedHash()

void CDeterministicMNState::UpdateConfirmedHash ( const uint256 _proTxHash,
const uint256 _confirmedHash 
)
inline

Definition at line 98 of file deterministicmns.h.

Here is the call graph for this function:

Member Data Documentation

◆ addr

CService CDeterministicMNState::addr

Definition at line 49 of file deterministicmns.h.

◆ confirmedHash

uint256 CDeterministicMNState::confirmedHash

Definition at line 41 of file deterministicmns.h.

◆ confirmedHashWithProRegTxHash

uint256 CDeterministicMNState::confirmedHashWithProRegTxHash

Definition at line 44 of file deterministicmns.h.

◆ keyIDOwner

CKeyID CDeterministicMNState::keyIDOwner

Definition at line 46 of file deterministicmns.h.

◆ keyIDVoting

CKeyID CDeterministicMNState::keyIDVoting

Definition at line 48 of file deterministicmns.h.

◆ nLastPaidHeight

int CDeterministicMNState::nLastPaidHeight {0}

Definition at line 34 of file deterministicmns.h.

◆ nPoSeBanHeight

int CDeterministicMNState::nPoSeBanHeight {-1}

Definition at line 37 of file deterministicmns.h.

◆ nPoSePenalty

int CDeterministicMNState::nPoSePenalty {0}

Definition at line 35 of file deterministicmns.h.

◆ nPoSeRevivedHeight

int CDeterministicMNState::nPoSeRevivedHeight {-1}

Definition at line 36 of file deterministicmns.h.

◆ nRegisteredHeight

int CDeterministicMNState::nRegisteredHeight {-1}

Definition at line 33 of file deterministicmns.h.

◆ nRevocationReason

uint16_t CDeterministicMNState::nRevocationReason {ProUpRevPL::REASON_NOT_SPECIFIED}

Definition at line 38 of file deterministicmns.h.

◆ pubKeyOperator

CBLSLazyPublicKey CDeterministicMNState::pubKeyOperator

Definition at line 47 of file deterministicmns.h.

◆ scriptOperatorPayout

CScript CDeterministicMNState::scriptOperatorPayout

Definition at line 51 of file deterministicmns.h.

◆ scriptPayout

CScript CDeterministicMNState::scriptPayout

Definition at line 50 of file deterministicmns.h.


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