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

#include <deterministicmns.h>

Collaboration diagram for CDeterministicMN:
[legend]

Public Member Functions

 CDeterministicMN ()=delete
 
 CDeterministicMN (uint64_t _internalId)
 
 CDeterministicMN (const CDeterministicMN &mn, uint64_t _internalId)
 
template<typename Stream >
 CDeterministicMN (deserialize_type, Stream &s)
 
 SERIALIZE_METHODS (CDeterministicMN, obj)
 
uint64_t GetInternalId () const
 
bool IsPoSeBanned () const
 
std::string ToString () const
 
void ToJson (UniValue &obj) const
 

Public Attributes

uint256 proTxHash
 
COutPoint collateralOutpoint
 
uint16_t nOperatorReward
 
CDeterministicMNStateCPtr pdmnState
 

Private Attributes

uint64_t internalId {std::numeric_limits<uint64_t>::max()}
 

Detailed Description

Definition at line 180 of file deterministicmns.h.

Constructor & Destructor Documentation

◆ CDeterministicMN() [1/4]

CDeterministicMN::CDeterministicMN ( )
delete

◆ CDeterministicMN() [2/4]

CDeterministicMN::CDeterministicMN ( uint64_t  _internalId)
inlineexplicit

Definition at line 187 of file deterministicmns.h.

◆ CDeterministicMN() [3/4]

CDeterministicMN::CDeterministicMN ( const CDeterministicMN mn,
uint64_t  _internalId 
)
inline
Todo:
: can be removed in a future version

Definition at line 193 of file deterministicmns.h.

◆ CDeterministicMN() [4/4]

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

Definition at line 200 of file deterministicmns.h.

Member Function Documentation

◆ GetInternalId()

uint64_t CDeterministicMN::GetInternalId ( ) const

Definition at line 71 of file deterministicmns.cpp.

Here is the caller graph for this function:

◆ IsPoSeBanned()

bool CDeterministicMN::IsPoSeBanned ( ) const
inline

Definition at line 221 of file deterministicmns.h.

◆ SERIALIZE_METHODS()

CDeterministicMN::SERIALIZE_METHODS ( CDeterministicMN  ,
obj   
)
inline

Definition at line 211 of file deterministicmns.h.

◆ ToJson()

void CDeterministicMN::ToJson ( UniValue obj) const

Definition at line 83 of file deterministicmns.cpp.

Here is the call graph for this function:

◆ ToString()

std::string CDeterministicMN::ToString ( ) const

Definition at line 78 of file deterministicmns.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ collateralOutpoint

COutPoint CDeterministicMN::collateralOutpoint

Definition at line 206 of file deterministicmns.h.

◆ internalId

uint64_t CDeterministicMN::internalId {std::numeric_limits<uint64_t>::max()}
private

Definition at line 183 of file deterministicmns.h.

◆ nOperatorReward

uint16_t CDeterministicMN::nOperatorReward

Definition at line 207 of file deterministicmns.h.

◆ pdmnState

CDeterministicMNStateCPtr CDeterministicMN::pdmnState

Definition at line 208 of file deterministicmns.h.

◆ proTxHash

uint256 CDeterministicMN::proTxHash

Definition at line 205 of file deterministicmns.h.


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