#include <history.h>
Inherits ccf::kv::TxHistory.
|
| HashedTxHistory (ccf::kv::Store &store_, const NodeId &id_, ccf::crypto::KeyPair &node_kp_, size_t sig_tx_interval_=0, size_t sig_ms_interval_=0, bool signature_timer=false) |
|
void | set_service_signing_identity (std::shared_ptr< ccf::crypto::KeyPair_OpenSSL > service_kp_, const ccf::COSESignaturesConfig &cose_signatures_config_) override |
|
const ccf::COSESignaturesConfig & | get_cose_signatures_config () override |
|
void | start_signature_emit_timer () override |
|
| ~HashedTxHistory () |
|
void | set_node_id (const NodeId &id_) |
|
bool | init_from_snapshot (const std::vector< uint8_t > &hash_at_snapshot) override |
|
ccf::crypto::Sha256Hash | get_replicated_state_root () override |
|
std::tuple< ccf::kv::TxID, ccf::crypto::Sha256Hash, ccf::kv::Term > | get_replicated_state_txid_and_root () override |
|
bool | verify_root_signatures (ccf::kv::Version version) override |
|
std::vector< uint8_t > | serialise_tree (size_t to) override |
|
void | set_term (ccf::kv::Term t) override |
|
void | rollback (const ccf::kv::TxID &tx_id, ccf::kv::Term term_of_next_version_) override |
|
void | compact (ccf::kv::Version v) override |
|
void | try_emit_signature () override |
|
void | emit_signature () override |
|
std::vector< uint8_t > | get_proof (ccf::kv::Version index) override |
|
bool | verify_proof (const std::vector< uint8_t > &v) override |
|
std::vector< uint8_t > | get_raw_leaf (uint64_t index) override |
|
void | append (const std::vector< uint8_t > &data) override |
|
void | append_entry (const ccf::crypto::Sha256Hash &digest, std::optional< ccf::kv::Term > expected_term_of_next_version=std::nullopt) override |
|
void | set_endorsed_certificate (const ccf::crypto::Pem &cert) override |
|
virtual | ~TxHistory () |
|
virtual void | append_entry (const ccf::crypto::Sha256Hash &digest, std::optional< ccf::kv::Term > expected_term=std::nullopt)=0 |
|
◆ HashedTxHistory()
◆ ~HashedTxHistory()
◆ append()
◆ append_entry()
◆ compact()
◆ emit_signature()
◆ get_cose_signatures_config()
◆ get_proof()
◆ get_raw_leaf()
◆ get_replicated_state_root()
◆ get_replicated_state_txid_and_root()
◆ init_from_snapshot()
template<class T >
bool ccf::HashedTxHistory< T >::init_from_snapshot |
( |
const std::vector< uint8_t > & |
hash_at_snapshot | ) |
|
|
inlineoverridevirtual |
◆ rollback()
◆ serialise_tree()
◆ set_endorsed_certificate()
◆ set_node_id()
◆ set_service_signing_identity()
◆ set_term()
◆ start_signature_emit_timer()
◆ try_emit_signature()
◆ verify_proof()
◆ verify_root_signatures()
◆ signature_lock
The documentation for this class was generated from the following file: