Master Core  v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Data Fields | Private Attributes
CHashWriter Class Reference

#include <hash.h>

+ Collaboration diagram for CHashWriter:

Public Member Functions

void Init ()
 
 CHashWriter (int nTypeIn, int nVersionIn)
 
CHashWriterwrite (const char *pch, size_t size)
 
uint256 GetHash ()
 
template<typename T >
CHashWriteroperator<< (const T &obj)
 

Data Fields

int nType
 
int nVersion
 

Private Attributes

SHA256_CTX ctx
 

Detailed Description

Definition at line 29 of file hash.h.

Constructor & Destructor Documentation

CHashWriter::CHashWriter ( int  nTypeIn,
int  nVersionIn 
)
inline

Definition at line 42 of file hash.h.

References Init().

+ Here is the call graph for this function:

Member Function Documentation

uint256 CHashWriter::GetHash ( )
inline

Definition at line 52 of file hash.h.

Referenced by CCoinsViewDB::GetStats(), SerializeHash(), SignatureHash(), signmessage(), and verifymessage().

+ Here is the caller graph for this function:

void CHashWriter::Init ( )
inline

Definition at line 38 of file hash.h.

Referenced by CHashWriter().

+ Here is the caller graph for this function:

template<typename T >
CHashWriter& CHashWriter::operator<< ( const T &  obj)
inline

Definition at line 61 of file hash.h.

References Serialize().

+ Here is the call graph for this function:

CHashWriter& CHashWriter::write ( const char *  pch,
size_t  size 
)
inline

Definition at line 46 of file hash.h.

Field Documentation

SHA256_CTX CHashWriter::ctx
private

Definition at line 32 of file hash.h.

int CHashWriter::nType

Definition at line 35 of file hash.h.

int CHashWriter::nVersion

Definition at line 36 of file hash.h.


The documentation for this class was generated from the following file: