Bitcoin
|
#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 () |
uint64_t | GetCheapHash () |
template<typename T > | |
CHashWriter & | operator<< (const T &obj) |
Private Attributes | |
CHash256 | ctx |
const int | nType |
const int | nVersion |
A writer stream (for serialization) that computes a 256-bit hash.
|
inline |
|
inline |
Returns the first 64 bits from the resulting hash.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |