Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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 547 of file deterministicmns.h.

Member Function Documentation

◆ HasChanges()

bool CDeterministicMNListDiff::HasChanges ( ) const
inline

◆ Serialize()

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

Definition at line 559 of file deterministicmns.h.

References addedMNs, removedMns, updatedMNs, WriteCompactSize(), and WriteVarInt().

◆ Unserialize()

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

Definition at line 574 of file deterministicmns.h.

References addedMNs, ReadCompactSize(), removedMns, and updatedMNs.

Member Data Documentation

◆ addedMNs

◆ nHeight

int CDeterministicMNListDiff::nHeight {-1}

◆ removedMns

◆ updatedMNs


The documentation for this class was generated from the following file:
Released under the MIT license