Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

#include <quorums_commitment.h>

+ Collaboration diagram for llmq::CFinalCommitment:

Public Member Functions

 CFinalCommitment ()
 
 CFinalCommitment (const Consensus::LLMQParams &params, const uint256 &_quorumHash)
 
int CountSigners () const
 
int CountValidMembers () const
 
bool Verify (const std::vector< CDeterministicMNCPtr > &members, bool checkSigs) const
 
bool VerifyNull () const
 
bool VerifySizes (const Consensus::LLMQParams &params) const
 
template<typename Stream , typename Operation >
ADD_SERIALIZE_METHODS void SerializationOp (Stream &s, Operation ser_action)
 
bool IsNull () const
 
void ToJson (UniValue &obj) const
 

Public Attributes

uint16_t nVersion {CURRENT_VERSION}
 
Consensus::LLMQType llmqType {Consensus::LLMQ_NONE}
 
uint256 quorumHash
 
std::vector< bool > signers
 
std::vector< bool > validMembers
 
CBLSPublicKey quorumPublicKey
 
uint256 quorumVvecHash
 
CBLSSignature quorumSig
 
CBLSSignature membersSig
 

Static Public Attributes

static const uint16_t CURRENT_VERSION = 1
 

Detailed Description

Definition at line 24 of file quorums_commitment.h.

Constructor & Destructor Documentation

◆ CFinalCommitment() [1/2]

llmq::CFinalCommitment::CFinalCommitment ( )
inline

Definition at line 43 of file quorums_commitment.h.

◆ CFinalCommitment() [2/2]

llmq::CFinalCommitment::CFinalCommitment ( const Consensus::LLMQParams params,
const uint256 _quorumHash 
)

Definition at line 16 of file quorums_commitment.cpp.

Member Function Documentation

◆ CountSigners()

int llmq::CFinalCommitment::CountSigners ( ) const
inline

◆ CountValidMembers()

int llmq::CFinalCommitment::CountValidMembers ( ) const
inline

◆ IsNull()

◆ SerializationOp()

template<typename Stream , typename Operation >
ADD_SERIALIZE_METHODS void llmq::CFinalCommitment::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

◆ ToJson()

◆ Verify()

◆ VerifyNull()

◆ VerifySizes()

bool llmq::CFinalCommitment::VerifySizes ( const Consensus::LLMQParams params) const

Member Data Documentation

◆ CURRENT_VERSION

const uint16_t llmq::CFinalCommitment::CURRENT_VERSION = 1
static

Definition at line 27 of file quorums_commitment.h.

Referenced by Verify().

◆ llmqType

◆ membersSig

CBLSSignature llmq::CFinalCommitment::membersSig

◆ nVersion

uint16_t llmq::CFinalCommitment::nVersion {CURRENT_VERSION}

Definition at line 30 of file quorums_commitment.h.

Referenced by SerializationOp(), ToJson(), and Verify().

◆ quorumHash

◆ quorumPublicKey

◆ quorumSig

CBLSSignature llmq::CFinalCommitment::quorumSig

◆ quorumVvecHash

uint256 llmq::CFinalCommitment::quorumVvecHash

◆ signers

std::vector<bool> llmq::CFinalCommitment::signers

◆ validMembers


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