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

#include <deterministicmns.h>

Public Member Functions

template<typename Stream >
void Serialize (Stream &s) const
 
template<typename Stream >
void Unserialize (Stream &s)
 
bool HasChanges () const
 

Public Attributes

int nHeight {-1}
 
std::vector< CDeterministicMNCPtraddedMNs
 
std::map< uint64_t, CDeterministicMNStateDiffupdatedMNs
 
std::set< uint64_t > removedMns
 

Detailed Description

Definition at line 498 of file deterministicmns.h.

Member Function Documentation

◆ HasChanges()

bool CDeterministicMNListDiff::HasChanges ( ) const
inline

Definition at line 548 of file deterministicmns.h.

◆ Serialize()

template<typename Stream >
void CDeterministicMNListDiff::Serialize ( Stream &  s) const
inline

Definition at line 510 of file deterministicmns.h.

Here is the call graph for this function:

◆ Unserialize()

template<typename Stream >
void CDeterministicMNListDiff::Unserialize ( Stream &  s)
inline

Definition at line 525 of file deterministicmns.h.

Here is the call graph for this function:

Member Data Documentation

◆ addedMNs

std::vector<CDeterministicMNCPtr> CDeterministicMNListDiff::addedMNs

Definition at line 503 of file deterministicmns.h.

◆ nHeight

int CDeterministicMNListDiff::nHeight {-1}

Definition at line 501 of file deterministicmns.h.

◆ removedMns

std::set<uint64_t> CDeterministicMNListDiff::removedMns

Definition at line 506 of file deterministicmns.h.

◆ updatedMNs

std::map<uint64_t, CDeterministicMNStateDiff> CDeterministicMNListDiff::updatedMNs

Definition at line 505 of file deterministicmns.h.


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