![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include <incrementalmerkletree.h>
Public Member Functions | |
| IncrementalWitness () | |
| MerklePath | path () const |
| Hash | element () const |
| uint64_t | position () const |
| Hash | root () const |
| void | append (Hash obj) |
| SERIALIZE_METHODS (IncrementalWitness, obj) | |
Private Member Functions | |
| std::deque< Hash > | partial_path () const |
| IncrementalWitness (IncrementalMerkleTree< Depth, Hash > tree) | |
Private Attributes | |
| IncrementalMerkleTree< Depth, Hash > | tree |
| std::vector< Hash > | filled |
| Optional< IncrementalMerkleTree< Depth, Hash > > | cursor |
| size_t | cursor_depth = 0 |
Friends | |
| class | IncrementalMerkleTree< Depth, Hash > |
| template<size_t D, typename H > | |
| bool | operator== (const IncrementalWitness< D, H > &a, const IncrementalWitness< D, H > &b) |
Definition at line 153 of file incrementalmerkletree.h.
|
inline |
Definition at line 158 of file incrementalmerkletree.h.
|
inlineexplicitprivate |
Definition at line 196 of file incrementalmerkletree.h.
| void libzcash::IncrementalWitness< Depth, Hash >::append | ( | Hash | obj | ) |
Definition at line 1117 of file incrementalmerkletree.cpp.
|
inline |
Definition at line 166 of file incrementalmerkletree.h.
|
private |
Definition at line 1106 of file incrementalmerkletree.cpp.
|
inline |
|
inline |
Definition at line 170 of file incrementalmerkletree.h.
|
inline |
|
inline |
Definition at line 180 of file incrementalmerkletree.h.
|
friend |
Definition at line 140 of file incrementalmerkletree.h.
|
friend |
|
private |
Definition at line 193 of file incrementalmerkletree.h.
|
private |
Definition at line 194 of file incrementalmerkletree.h.
|
private |
Definition at line 192 of file incrementalmerkletree.h.
|
private |
Definition at line 191 of file incrementalmerkletree.h.