Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Protected Attributes | Friends | List of all members
StepRow< WIDTH > Class Template Reference

#include <equihash.h>

Inheritance diagram for StepRow< WIDTH >:
[legend]

Public Member Functions

 StepRow (const unsigned char *hashIn, size_t hInLen, size_t hLen, size_t cBitLen)
 
 ~StepRow ()
 
template<size_t W>
 StepRow (const StepRow< W > &a)
 
bool IsZero (size_t len)
 
std::string GetHex (size_t len)
 

Protected Attributes

unsigned char hash [WIDTH]
 

Friends

template<size_t W>
class StepRow
 
class CompareSR
 
template<size_t W>
bool HasCollision (StepRow< W > &a, StepRow< W > &b, size_t l)
 

Detailed Description

template<size_t WIDTH>
class StepRow< WIDTH >

Definition at line 44 of file equihash.h.

Constructor & Destructor Documentation

template<size_t WIDTH>
StepRow< WIDTH >::StepRow ( const unsigned char *  hashIn,
size_t  hInLen,
size_t  hLen,
size_t  cBitLen 
)

Definition at line 213 of file equihash.cpp.

Here is the call graph for this function:

template<size_t WIDTH>
StepRow< WIDTH >::~StepRow ( )
inline

Definition at line 56 of file equihash.h.

Here is the call graph for this function:

template<size_t WIDTH>
template<size_t W>
StepRow< WIDTH >::StepRow ( const StepRow< W > &  a)

Definition at line 221 of file equihash.cpp.

Member Function Documentation

template<size_t WIDTH>
std::string StepRow< WIDTH >::GetHex ( size_t  len)
inline

Definition at line 62 of file equihash.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<size_t WIDTH>
bool StepRow< WIDTH >::IsZero ( size_t  len)

Definition at line 260 of file equihash.cpp.

Here is the caller graph for this function:

Friends And Related Function Documentation

template<size_t WIDTH>
friend class CompareSR
friend

Definition at line 48 of file equihash.h.

template<size_t WIDTH>
template<size_t W>
bool HasCollision ( StepRow< W > &  a,
StepRow< W > &  b,
size_t  l 
)
friend
template<size_t WIDTH>
template<size_t W>
friend class StepRow
friend

Definition at line 47 of file equihash.h.

Member Data Documentation

template<size_t WIDTH>
unsigned char StepRow< WIDTH >::hash[WIDTH]
protected

Definition at line 51 of file equihash.h.


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