Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <simplifiedmns.h>
Public Member Functions | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action) |
CSimplifiedMNListDiff () | |
~CSimplifiedMNListDiff () | |
bool | BuildQuorumsDiff (const CBlockIndex *baseBlockIndex, const CBlockIndex *blockIndex) |
void | ToJson (UniValue &obj) const |
Public Attributes | |
uint256 | baseBlockHash |
uint256 | blockHash |
CPartialMerkleTree | cbTxMerkleTree |
CTransactionRef | cbTx |
std::vector< uint256 > | deletedMNs |
std::vector< CSimplifiedMNListEntry > | mnList |
std::vector< std::pair< uint8_t, uint256 > > | deletedQuorums |
std::vector< llmq::CFinalCommitment > | newQuorums |
ADD_SERIALIZE_METHODS | |
Detailed Description
Definition at line 106 of file simplifiedmns.h.
Constructor & Destructor Documentation
◆ CSimplifiedMNListDiff()
CSimplifiedMNListDiff::CSimplifiedMNListDiff | ( | ) |
Definition at line 91 of file simplifiedmns.cpp.
◆ ~CSimplifiedMNListDiff()
CSimplifiedMNListDiff::~CSimplifiedMNListDiff | ( | ) |
Definition at line 95 of file simplifiedmns.cpp.
Member Function Documentation
◆ BuildQuorumsDiff()
bool CSimplifiedMNListDiff::BuildQuorumsDiff | ( | const CBlockIndex * | baseBlockIndex, |
const CBlockIndex * | blockIndex | ||
) |
Definition at line 99 of file simplifiedmns.cpp.
References deletedQuorums, llmq::CQuorumBlockProcessor::GetMinedAndActiveCommitmentsUntilBlock(), newQuorums, and llmq::quorumBlockProcessor.
Referenced by BuildSimplifiedMNListDiff().
◆ SerializationOp()
|
inline |
Definition at line 124 of file simplifiedmns.h.
References baseBlockHash, blockHash, cbTx, cbTxMerkleTree, deletedMNs, deletedQuorums, LLMQS_PROTO_VERSION, mnList, newQuorums, and READWRITE.
◆ ToJson()
void CSimplifiedMNListDiff::ToJson | ( | UniValue & | obj | ) | const |
Definition at line 135 of file simplifiedmns.cpp.
References baseBlockHash, CDataStream::begin(), blockHash, cbTx, cbTxMerkleTree, deletedMNs, deletedQuorums, EncodeHexTx(), CDataStream::end(), GetTxPayload(), HexStr(), CCbTx::merkleRootMNList, CCbTx::merkleRootQuorums, mnList, newQuorums, CCbTx::nVersion, Pair(), PROTOCOL_VERSION, UniValue::push_back(), SER_NETWORK, UniValue::setObject(), base_blob< BITS >::ToString(), UniValue::VARR, and UniValue::VOBJ.
Referenced by protx_diff().
Member Data Documentation
◆ ADD_SERIALIZE_METHODS
CSimplifiedMNListDiff::ADD_SERIALIZE_METHODS |
Definition at line 121 of file simplifiedmns.h.
◆ baseBlockHash
uint256 CSimplifiedMNListDiff::baseBlockHash |
Definition at line 109 of file simplifiedmns.h.
Referenced by CDeterministicMNList::BuildSimplifiedDiff(), BuildSimplifiedMNListDiff(), SerializationOp(), and ToJson().
◆ blockHash
uint256 CSimplifiedMNListDiff::blockHash |
Definition at line 110 of file simplifiedmns.h.
Referenced by CDeterministicMNList::BuildSimplifiedDiff(), SerializationOp(), and ToJson().
◆ cbTx
CTransactionRef CSimplifiedMNListDiff::cbTx |
Definition at line 112 of file simplifiedmns.h.
Referenced by BuildSimplifiedMNListDiff(), SerializationOp(), and ToJson().
◆ cbTxMerkleTree
CPartialMerkleTree CSimplifiedMNListDiff::cbTxMerkleTree |
Definition at line 111 of file simplifiedmns.h.
Referenced by BuildSimplifiedMNListDiff(), SerializationOp(), and ToJson().
◆ deletedMNs
std::vector<uint256> CSimplifiedMNListDiff::deletedMNs |
Definition at line 113 of file simplifiedmns.h.
Referenced by CDeterministicMNList::BuildSimplifiedDiff(), SerializationOp(), and ToJson().
◆ deletedQuorums
std::vector<std::pair<uint8_t, uint256> > CSimplifiedMNListDiff::deletedQuorums |
Definition at line 117 of file simplifiedmns.h.
Referenced by BuildQuorumsDiff(), SerializationOp(), and ToJson().
◆ mnList
std::vector<CSimplifiedMNListEntry> CSimplifiedMNListDiff::mnList |
Definition at line 114 of file simplifiedmns.h.
Referenced by CDeterministicMNList::BuildSimplifiedDiff(), SerializationOp(), and ToJson().
◆ newQuorums
std::vector<llmq::CFinalCommitment> CSimplifiedMNListDiff::newQuorums |
Definition at line 118 of file simplifiedmns.h.
Referenced by BuildQuorumsDiff(), SerializationOp(), and ToJson().
The documentation for this class was generated from the following files:
- src/evo/simplifiedmns.h
- src/evo/simplifiedmns.cpp