Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <equihash.h>
Public Member Functions | |
FullStepRow (const unsigned char *hashIn, size_t hInLen, size_t hLen, size_t cBitLen, eh_index i) | |
~FullStepRow () | |
FullStepRow (const FullStepRow< WIDTH > &a) | |
FullStepRow & | operator= (const FullStepRow< WIDTH > &a) |
bool | IndicesBefore (const FullStepRow< WIDTH > &a, size_t len, size_t lenIndices) const |
std::vector< unsigned char > | GetIndices (size_t len, size_t lenIndices, size_t cBitLen) const |
template<size_t W> | |
FullStepRow (const FullStepRow< W > &a, const FullStepRow< W > &b, size_t len, size_t lenIndices, size_t trim) | |
Public Member Functions inherited from StepRow< WIDTH > | |
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) |
Friends | |
template<size_t W> | |
class | FullStepRow |
template<size_t W> | |
bool | DistinctIndices (const FullStepRow< W > &a, const FullStepRow< W > &b, size_t len, size_t lenIndices) |
template<size_t W> | |
bool | IsValidBranch (const FullStepRow< W > &a, const size_t len, const unsigned int ilen, const eh_trunc t) |
Additional Inherited Members | |
Protected Attributes inherited from StepRow< WIDTH > | |
unsigned char | hash [WIDTH] |
Definition at line 84 of file equihash.h.
FullStepRow< WIDTH >::FullStepRow | ( | const unsigned char * | hashIn, |
size_t | hInLen, | ||
size_t | hLen, | ||
size_t | cBitLen, | ||
eh_index | i | ||
) |
|
inline |
Definition at line 94 of file equihash.h.
|
inline |
FullStepRow< WIDTH >::FullStepRow | ( | const FullStepRow< W > & | a, |
const FullStepRow< W > & | b, | ||
size_t | len, | ||
size_t | lenIndices, | ||
size_t | trim | ||
) |
std::vector< unsigned char > FullStepRow< WIDTH >::GetIndices | ( | size_t | len, |
size_t | lenIndices, | ||
size_t | cBitLen | ||
) | const |
Definition at line 271 of file equihash.cpp.
|
inline |
FullStepRow< WIDTH > & FullStepRow< WIDTH >::operator= | ( | const FullStepRow< WIDTH > & | a | ) |
|
friend |
Definition at line 87 of file equihash.h.
|
friend |