Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <cbtx.h>
Public Member Functions | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action) |
std::string | ToString () const |
void | ToJson (UniValue &obj) const |
Public Attributes | |
uint16_t | nVersion {CURRENT_VERSION} |
int32_t | nHeight {0} |
uint256 | merkleRootMNList |
uint256 | merkleRootQuorums |
ADD_SERIALIZE_METHODS | |
Static Public Attributes | |
static const uint16_t | CURRENT_VERSION = 2 |
Detailed Description
Member Function Documentation
◆ SerializationOp()
|
inline |
Definition at line 31 of file cbtx.h.
References merkleRootMNList, merkleRootQuorums, nHeight, nVersion, and READWRITE.
◆ ToJson()
|
inline |
Definition at line 44 of file cbtx.h.
References UniValue::clear(), merkleRootMNList, merkleRootQuorums, nHeight, nVersion, Pair(), UniValue::push_back(), UniValue::setObject(), and base_blob< BITS >::ToString().
Referenced by blockToJSON(), and TxToUniv().
◆ ToString()
std::string CCbTx::ToString | ( | ) | const |
Definition at line 259 of file cbtx.cpp.
References merkleRootMNList, merkleRootQuorums, nHeight, nVersion, strprintf, and base_blob< BITS >::ToString().
Member Data Documentation
◆ ADD_SERIALIZE_METHODS
◆ CURRENT_VERSION
|
static |
Definition at line 19 of file cbtx.h.
Referenced by CheckCbTx().
◆ merkleRootMNList
uint256 CCbTx::merkleRootMNList |
Definition at line 24 of file cbtx.h.
Referenced by CheckCbTxMerkleRoots(), BlockAssembler::CreateNewBlock(), SerializationOp(), ToJson(), CSimplifiedMNListDiff::ToJson(), and ToString().
◆ merkleRootQuorums
uint256 CCbTx::merkleRootQuorums |
Definition at line 25 of file cbtx.h.
Referenced by CheckCbTxMerkleRoots(), BlockAssembler::CreateNewBlock(), SerializationOp(), ToJson(), CSimplifiedMNListDiff::ToJson(), and ToString().
◆ nHeight
int32_t CCbTx::nHeight {0} |
Definition at line 23 of file cbtx.h.
Referenced by CheckCbTx(), BlockAssembler::CreateNewBlock(), SerializationOp(), ToJson(), and ToString().
◆ nVersion
uint16_t CCbTx::nVersion {CURRENT_VERSION} |
Definition at line 22 of file cbtx.h.
Referenced by CheckCbTx(), CheckCbTxMerkleRoots(), BlockAssembler::CreateNewBlock(), SerializationOp(), ToJson(), CSimplifiedMNListDiff::ToJson(), and ToString().
The documentation for this class was generated from the following files: