CCF
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
ccf::ProofReceipt Class Reference

#include <receipt.h>

Inherits ccf::Receipt.

Classes

struct  Components
 
struct  ProofStep
 

Public Types

using Proof = std::vector< ProofStep >
 

Public Member Functions

ccf::crypto::Sha256Hash calculate_root () override
 
ccf::crypto::Sha256Hash get_leaf_digest ()
 
bool is_signature_transaction () const override
 
- Public Member Functions inherited from ccf::Receipt
virtual ~Receipt ()=default
 

Public Attributes

Components leaf_components
 
Proof proof = {}
 
- Public Attributes inherited from ccf::Receipt
std::vector< uint8_t > signature = {}
 
ccf::NodeId node_id = {}
 
ccf::crypto::Pem cert = {}
 
std::vector< ccf::crypto::Pemservice_endorsements = {}
 

Member Typedef Documentation

◆ Proof

using ccf::ProofReceipt::Proof = std::vector<ProofStep>

Member Function Documentation

◆ calculate_root()

ccf::crypto::Sha256Hash ccf::ProofReceipt::calculate_root ( )
inlineoverridevirtual

Implements ccf::Receipt.

◆ get_leaf_digest()

ccf::crypto::Sha256Hash ccf::ProofReceipt::get_leaf_digest ( )
inline

◆ is_signature_transaction()

bool ccf::ProofReceipt::is_signature_transaction ( ) const
inlineoverridevirtual

Implements ccf::Receipt.

Member Data Documentation

◆ leaf_components

Components ccf::ProofReceipt::leaf_components

◆ proof

Proof ccf::ProofReceipt::proof = {}

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