Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
A writer stream (for serialization) that computes a 256-bit hash. More...
#include <hash.h>


Public Member Functions | |
CHashWriter (int nTypeIn, int nVersionIn) | |
int | GetType () const |
int | GetVersion () const |
void | write (const char *pch, size_t size) |
uint256 | GetHash () |
template<typename T > | |
CHashWriter & | operator<< (const T &obj) |
Private Attributes | |
CHash256 | ctx |
const int | nType |
const int | nVersion |
Detailed Description
A writer stream (for serialization) that computes a 256-bit hash.
Constructor & Destructor Documentation
◆ CHashWriter()
|
inline |
Member Function Documentation
◆ GetHash()
|
inline |
Definition at line 203 of file hash.h.
References ctx, and CHash256::Finalize().
Referenced by llmq::CLLMQUtils::BuildCommitmentHash(), llmq::CLLMQUtils::BuildSignHash(), CSimplifiedMNListEntry::CalcHash(), CalcTxInputsHash(), CBLSWrapper< bls::InsecureSignature, BLS_CURVE_SIG_SIZE, CBLSSignature >::CBLSWrapper(), CGovernanceObject::GetHash(), llmq::CInstantSendLock::GetRequestId(), CSporkMessage::GetSignatureHash(), CSporkMessage::GetSignerKeyID(), llmq::CDKGContribution::GetSignHash(), GetUTXOStats(), llmq::MakeQuorumKey(), SignVerifyMessageDialog::on_signMessageButton_SM_clicked(), SignVerifyMessageDialog::on_verifyMessageButton_VM_clicked(), llmq::CDKGPendingMessages::PushPendingMessage(), SerializeHash(), SignatureHash(), CMessageSigner::SignMessage(), signmessage(), signmessagewithprivkey(), CGovernanceVote::UpdateHash(), CBLSLazyWrapper< CBLSSignature >::UpdateHash(), CMessageSigner::VerifyMessage(), and verifymessage().
◆ GetType()
◆ GetVersion()
|
inline |
◆ operator<<()
|
inline |
Definition at line 210 of file hash.h.
References Serialize().
◆ write()
|
inline |
Definition at line 198 of file hash.h.
References ctx, and CHash256::Write().
Referenced by CBLSWrapper< bls::InsecureSignature, BLS_CURVE_SIG_SIZE, CBLSSignature >::CBLSWrapper(), llmq::CDKGPendingMessages::PushPendingMessage(), CHashVerifier< Source >::read(), and CBLSLazyWrapper< CBLSSignature >::UpdateHash().
Member Data Documentation
◆ ctx
|
private |
◆ nType
|
private |
◆ nVersion
|
private |
Definition at line 190 of file hash.h.
Referenced by GetVersion().
The documentation for this class was generated from the following file:
- src/hash.h