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

#include <EthashAux.h>

Collaboration diagram for dev::eth::EthashAux::LightAllocation:
[legend]

Public Member Functions

 LightAllocation (h256 const &_seedHash)
 
 ~LightAllocation ()
 
bytesConstRef data () const
 
EthashProofOfWork::Result compute (h256 const &_headerHash, Nonce const &_nonce) const
 

Public Attributes

ethash_light_t light
 
uint64_t size
 

Detailed Description

Definition at line 47 of file EthashAux.h.

Constructor & Destructor Documentation

EthashAux::LightAllocation::LightAllocation ( h256 const &  _seedHash)

Definition at line 128 of file EthashAux.cpp.

Here is the call graph for this function:

EthashAux::LightAllocation::~LightAllocation ( )

Definition at line 137 of file EthashAux.cpp.

Here is the call graph for this function:

Member Function Documentation

EthashProofOfWork::Result EthashAux::LightAllocation::compute ( h256 const &  _headerHash,
Nonce const &  _nonce 
) const

Definition at line 242 of file EthashAux.cpp.

Here is the call graph for this function:

bytesConstRef EthashAux::LightAllocation::data ( ) const

Definition at line 142 of file EthashAux.cpp.

Member Data Documentation

ethash_light_t dev::eth::EthashAux::LightAllocation::light

Definition at line 53 of file EthashAux.h.

uint64_t dev::eth::EthashAux::LightAllocation::size

Definition at line 54 of file EthashAux.h.


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