Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
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)
 

Public Attributes

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.

Member Data 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: