Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
dev::eth::EthashProofOfWork::WorkPackage Struct Reference

#include <EthashProofOfWork.h>

Collaboration diagram for dev::eth::EthashProofOfWork::WorkPackage:
[legend]

Public Member Functions

 WorkPackage ()=default
 
 WorkPackage (BlockHeader const &_bh)
 
void reset ()
 
 operator bool () const
 

Public Attributes

h256 boundary
 
h256 headerHash
 When h256() means "pause until notified a new work package is available". More...
 
h256 seedHash
 

Detailed Description

Definition at line 48 of file EthashProofOfWork.h.

Constructor & Destructor Documentation

dev::eth::EthashProofOfWork::WorkPackage::WorkPackage ( )
default
EthashProofOfWork::WorkPackage::WorkPackage ( BlockHeader const &  _bh)

Definition at line 36 of file EthashProofOfWork.cpp.

Member Function Documentation

dev::eth::EthashProofOfWork::WorkPackage::operator bool ( ) const
inline

Definition at line 53 of file EthashProofOfWork.h.

void dev::eth::EthashProofOfWork::WorkPackage::reset ( )
inline

Definition at line 52 of file EthashProofOfWork.h.

Here is the caller graph for this function:

Member Data Documentation

h256 dev::eth::EthashProofOfWork::WorkPackage::boundary

Definition at line 55 of file EthashProofOfWork.h.

h256 dev::eth::EthashProofOfWork::WorkPackage::headerHash

When h256() means "pause until notified a new work package is available".

Definition at line 56 of file EthashProofOfWork.h.

h256 dev::eth::EthashProofOfWork::WorkPackage::seedHash

Definition at line 57 of file EthashProofOfWork.h.


The documentation for this struct was generated from the following files: