CCF
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ccf::Proof Class Reference

#include <history.h>

Public Member Functions

 Proof ()
 
 Proof (const std::vector< uint8_t > &v)
 
const HistoryTree::Hash & get_root () const
 
std::shared_ptr< HistoryTree::Path > get_path ()
 
 Proof (HistoryTree *tree, uint64_t index)
 
 Proof (const Proof &)=delete
 
bool verify (HistoryTree *tree) const
 
std::vector< uint8_t > to_v () const
 

Constructor & Destructor Documentation

◆ Proof() [1/4]

ccf::Proof::Proof ( )
inline

◆ Proof() [2/4]

ccf::Proof::Proof ( const std::vector< uint8_t > &  v)
inline

◆ Proof() [3/4]

ccf::Proof::Proof ( HistoryTree tree,
uint64_t  index 
)
inline

◆ Proof() [4/4]

ccf::Proof::Proof ( const Proof )
delete

Member Function Documentation

◆ get_path()

std::shared_ptr< HistoryTree::Path > ccf::Proof::get_path ( )
inline

◆ get_root()

const HistoryTree::Hash & ccf::Proof::get_root ( ) const
inline

◆ to_v()

std::vector< uint8_t > ccf::Proof::to_v ( ) const
inline

◆ verify()

bool ccf::Proof::verify ( HistoryTree tree) const
inline

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