Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#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< CDeterministicMNCPtr > | addedMNs |
std::map< uint64_t, CDeterministicMNStateDiff > | updatedMNs |
std::set< uint64_t > | removedMns |
Detailed Description
Definition at line 547 of file deterministicmns.h.
Member Function Documentation
◆ HasChanges()
|
inline |
Definition at line 597 of file deterministicmns.h.
References addedMNs, removedMns, and updatedMNs.
Referenced by CDeterministicMNManager::ProcessBlock(), and CDeterministicMNManager::UndoBlock().
◆ Serialize()
|
inline |
Definition at line 559 of file deterministicmns.h.
References addedMNs, removedMns, updatedMNs, WriteCompactSize(), and WriteVarInt().
◆ Unserialize()
|
inline |
Definition at line 574 of file deterministicmns.h.
References addedMNs, ReadCompactSize(), removedMns, and updatedMNs.
Member Data Documentation
◆ addedMNs
std::vector<CDeterministicMNCPtr> CDeterministicMNListDiff::addedMNs |
Definition at line 552 of file deterministicmns.h.
Referenced by CDeterministicMNList::ApplyDiff(), CDeterministicMNList::BuildDiff(), HasChanges(), Serialize(), Unserialize(), and CDeterministicMNManager::UpgradeDiff().
◆ nHeight
int CDeterministicMNListDiff::nHeight {-1} |
Definition at line 550 of file deterministicmns.h.
Referenced by CDeterministicMNManager::GetListForBlock(), and CDeterministicMNManager::ProcessBlock().
◆ removedMns
std::set<uint64_t> CDeterministicMNListDiff::removedMns |
Definition at line 555 of file deterministicmns.h.
Referenced by CDeterministicMNList::ApplyDiff(), CDeterministicMNList::BuildDiff(), HasChanges(), CMNAuth::NotifyMasternodeListChanged(), Serialize(), Unserialize(), and CDeterministicMNManager::UpgradeDiff().
◆ updatedMNs
std::map<uint64_t, CDeterministicMNStateDiff> CDeterministicMNListDiff::updatedMNs |
Definition at line 554 of file deterministicmns.h.
Referenced by CDeterministicMNList::ApplyDiff(), CDeterministicMNList::BuildDiff(), HasChanges(), CMNAuth::NotifyMasternodeListChanged(), Serialize(), Unserialize(), and CDeterministicMNManager::UpgradeDiff().
The documentation for this class was generated from the following file:
- src/evo/deterministicmns.h