PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Private Attributes | Friends | List of all members
libzcash::EmptyMerkleRoots< Depth, Hash > Class Template Reference

#include <incrementalmerkletree.h>

Public Member Functions

 EmptyMerkleRoots ()
 
Hash empty_root (size_t depth) const
 

Private Attributes

std::array< Hash, Depth+1 > empty_roots
 

Friends

template<size_t D, typename H >
bool operator== (const EmptyMerkleRoots< D, H > &a, const EmptyMerkleRoots< D, H > &b)
 

Detailed Description

template<size_t Depth, typename Hash>
class libzcash::EmptyMerkleRoots< Depth, Hash >

Definition at line 65 of file incrementalmerkletree.h.

Constructor & Destructor Documentation

◆ EmptyMerkleRoots()

template<size_t Depth, typename Hash >
libzcash::EmptyMerkleRoots< Depth, Hash >::EmptyMerkleRoots ( )
inline

Definition at line 67 of file incrementalmerkletree.h.

Member Function Documentation

◆ empty_root()

template<size_t Depth, typename Hash >
Hash libzcash::EmptyMerkleRoots< Depth, Hash >::empty_root ( size_t  depth) const
inline

Definition at line 68 of file incrementalmerkletree.h.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator==

template<size_t Depth, typename Hash >
template<size_t D, typename H >
bool operator== ( const EmptyMerkleRoots< D, H > &  a,
const EmptyMerkleRoots< D, H > &  b 
)
friend

Member Data Documentation

◆ empty_roots

template<size_t Depth, typename Hash >
std::array<Hash, Depth+1> libzcash::EmptyMerkleRoots< Depth, Hash >::empty_roots
private

Definition at line 75 of file incrementalmerkletree.h.


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