Fabcoin Core
0.16.2
P2P Digital Currency
|
Custom serializer for CBlockHeader that omits the nonce and solution, for use as input to Equihash. More...
#include <block.h>
Public Member Functions | |
CEquihashInput (const CBlockHeader &header) | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action) |
Public Attributes | |
ADD_SERIALIZE_METHODS | |
Additional Inherited Members | |
Private Member Functions inherited from CBlockHeader | |
CBlockHeader () | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action) |
void | SetNull () |
bool | IsNull () const |
uint256 | GetHash () const |
uint256 | GetHash (const Consensus::Params ¶ms) const |
uint256 | GetHashWithoutSign () const |
int64_t | GetBlockTime () const |
CBlockHeader & | operator= (const CBlockHeader &other) |
std::string | ToString () const |
Private Attributes inherited from CBlockHeader | |
int32_t | nVersion |
uint256 | hashPrevBlock |
uint256 | hashMerkleRoot |
uint32_t | nHeight |
uint32_t | nReserved [7] |
uint32_t | nTime |
uint32_t | nBits |
uint256 | hashStateRoot |
uint256 | hashUTXORoot |
uint256 | nNonce |
std::vector< unsigned char > | nSolution |
ADD_SERIALIZE_METHODS | |
Static Private Attributes inherited from CBlockHeader | |
static const size_t | HEADER_SIZE = 4+32+32+4+28+4+4+32 |
static const size_t | HEADER_NEWSIZE = 4+32+32+4+28+4+4+32+32+32 |
Custom serializer for CBlockHeader that omits the nonce and solution, for use as input to Equihash.
|
inline |
|
inline |