![]() |
Bitcoin Core 22.99.0
P2P Digital Currency
|
Reads data from an underlying stream, while hashing the read data. More...
#include <hash.h>
Public Member Functions | |
| CHashVerifier (Source *source_) | |
| void | read (char *pch, size_t nSize) |
| void | ignore (size_t nSize) |
| template<typename T > | |
| CHashVerifier< Source > & | operator>> (T &&obj) |
Public Member Functions inherited from CHashWriter | |
| CHashWriter (int nTypeIn, int nVersionIn) | |
| int | GetType () const |
| int | GetVersion () const |
| void | write (const char *pch, size_t size) |
| uint256 | GetHash () |
| Compute the double-SHA256 hash of all data written to this object. More... | |
| uint256 | GetSHA256 () |
| Compute the SHA256 hash of all data written to this object. More... | |
| uint64_t | GetCheapHash () |
| Returns the first 64 bits from the resulting hash. More... | |
| template<typename T > | |
| CHashWriter & | operator<< (const T &obj) |
Private Attributes | |
| Source * | source |
Reads data from an underlying stream, while hashing the read data.
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
private |