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

#include <equihash.h>

Inheritance diagram for FullStepRow< WIDTH >:
[legend]
Collaboration diagram for FullStepRow< WIDTH >:
[legend]

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)
 
FullStepRowoperator= (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]
 

Detailed Description

template<size_t WIDTH>
class FullStepRow< WIDTH >

Definition at line 84 of file equihash.h.

Constructor & Destructor Documentation

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

Definition at line 228 of file equihash.cpp.

Here is the call graph for this function:

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

Definition at line 94 of file equihash.h.

template<size_t WIDTH>
FullStepRow< WIDTH >::FullStepRow ( const FullStepRow< WIDTH > &  a)
inline

Definition at line 96 of file equihash.h.

Here is the call graph for this function:

template<size_t WIDTH>
template<size_t W>
FullStepRow< WIDTH >::FullStepRow ( const FullStepRow< W > &  a,
const FullStepRow< W > &  b,
size_t  len,
size_t  lenIndices,
size_t  trim 
)

Definition at line 236 of file equihash.cpp.

Here is the call graph for this function:

Member Function Documentation

template<size_t WIDTH>
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.

Here is the call graph for this function:

Here is the caller graph for this function:

template<size_t WIDTH>
bool FullStepRow< WIDTH >::IndicesBefore ( const FullStepRow< WIDTH > &  a,
size_t  len,
size_t  lenIndices 
) const
inline

Definition at line 101 of file equihash.h.

Here is the call graph for this function:

template<size_t WIDTH>
FullStepRow< WIDTH > & FullStepRow< WIDTH >::operator= ( const FullStepRow< WIDTH > &  a)

Definition at line 253 of file equihash.cpp.

Here is the caller graph for this function:

Friends And Related Function Documentation

template<size_t WIDTH>
template<size_t W>
bool DistinctIndices ( const FullStepRow< W > &  a,
const FullStepRow< W > &  b,
size_t  len,
size_t  lenIndices 
)
friend
template<size_t WIDTH>
template<size_t W>
friend class FullStepRow
friend

Definition at line 87 of file equihash.h.

template<size_t WIDTH>
template<size_t W>
bool IsValidBranch ( const FullStepRow< W > &  a,
const size_t  len,
const unsigned int  ilen,
const eh_trunc  t 
)
friend

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