![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include <incrementalmerkletree.h>
Public Member Functions | |
| BOOST_STATIC_ASSERT (Depth >=1) | |
| IncrementalMerkleTree () | |
| size_t | DynamicMemoryUsage () const |
| size_t | size () const |
| void | append (Hash obj) |
| Hash | root () const |
| Hash | last () const |
| IncrementalWitness< Depth, Hash > | witness () const |
| SERIALIZE_METHODS (IncrementalMerkleTree, obj) | |
Static Public Member Functions | |
| static Hash | empty_root () |
Private Member Functions | |
| MerklePath | path (std::deque< Hash > filler_hashes=std::deque< Hash >()) const |
| Hash | root (size_t depth, std::deque< Hash > filler_hashes=std::deque< Hash >()) const |
| bool | is_complete (size_t depth=Depth) const |
| size_t | next_depth (size_t skip) const |
| void | wfcheck () const |
Private Attributes | |
| Optional< Hash > | left |
| Optional< Hash > | right |
| std::vector< Optional< Hash > > | parents |
Static Private Attributes | |
| static EmptyMerkleRoots< Depth, Hash > | emptyroots |
Friends | |
| class | IncrementalWitness< Depth, Hash > |
| template<size_t D, typename H > | |
| bool | operator== (const IncrementalMerkleTree< D, H > &a, const IncrementalMerkleTree< D, H > &b) |
Definition at line 88 of file incrementalmerkletree.h.
|
inline |
Definition at line 95 of file incrementalmerkletree.h.
| void libzcash::IncrementalMerkleTree< Depth, Hash >::append | ( | Hash | obj | ) |
Definition at line 923 of file incrementalmerkletree.cpp.
| libzcash::IncrementalMerkleTree< Depth, Hash >::BOOST_STATIC_ASSERT | ( | Depth >= | 1 | ) |
|
inline |
Definition at line 97 of file incrementalmerkletree.h.
|
inlinestatic |
Definition at line 121 of file incrementalmerkletree.h.
|
private |
Definition at line 963 of file incrementalmerkletree.cpp.
| Hash libzcash::IncrementalMerkleTree< Depth, Hash >::last |
Definition at line 893 of file incrementalmerkletree.cpp.
|
private |
Definition at line 984 of file incrementalmerkletree.cpp.
|
private |
Definition at line 1054 of file incrementalmerkletree.cpp.
|
inline |
|
private |
Definition at line 1020 of file incrementalmerkletree.cpp.
|
inline |
Definition at line 115 of file incrementalmerkletree.h.
| size_t libzcash::IncrementalMerkleTree< Depth, Hash >::size |
Definition at line 904 of file incrementalmerkletree.cpp.
|
private |
Definition at line 871 of file incrementalmerkletree.cpp.
|
inline |
|
friend |
Definition at line 75 of file incrementalmerkletree.h.
|
friend |
|
staticprivate |
Definition at line 130 of file incrementalmerkletree.h.
|
private |
Definition at line 131 of file incrementalmerkletree.h.
|
private |
Definition at line 135 of file incrementalmerkletree.h.
|
private |
Definition at line 132 of file incrementalmerkletree.h.