CCF
|
#include <history.h>
Inherits ccf::kv::TxHistory.
Public Member Functions | |
NullTxHistory (ccf::kv::Store &store_, const NodeId &id_, ccf::crypto::KeyPair &) | |
void | append (const std::vector< uint8_t > &) override |
void | append_entry (const ccf::crypto::Sha256Hash &digest, std::optional< ccf::kv::Term > term_of_next_version_=std::nullopt) override |
bool | verify_root_signatures (ccf::kv::Version v) override |
void | set_term (ccf::kv::Term t) override |
void | rollback (const ccf::kv::TxID &tx_id, ccf::kv::Term commit_term_) override |
void | compact (ccf::kv::Version) override |
bool | init_from_snapshot (const std::vector< uint8_t > &) override |
std::vector< uint8_t > | get_raw_leaf (uint64_t) override |
void | emit_signature () override |
void | try_emit_signature () override |
void | start_signature_emit_timer () override |
void | set_service_signing_identity (std::shared_ptr< ccf::crypto::KeyPair_OpenSSL > service_kp_, const ccf::COSESignaturesConfig &cose_signatures) override |
const ccf::COSESignaturesConfig & | get_cose_signatures_config () 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 |
std::vector< uint8_t > | get_proof (ccf::kv::Version) override |
bool | verify_proof (const std::vector< uint8_t > &) override |
std::vector< uint8_t > | serialise_tree (size_t) 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 |
Protected Attributes | |
ccf::kv::Version | version = 0 |
ccf::kv::Term | term_of_last_version = 0 |
ccf::kv::Term | term_of_next_version = 0 |
Additional Inherited Members | |
![]() | |
enum class | Result { FAIL = 0 , OK , SEND_SIG_RECEIPT_ACK , SEND_REPLY_AND_NONCE } |
using | RequestID = std::tuple< size_t, size_t > |
|
inline |
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverride |
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
inlineoverridevirtual |
Implements ccf::kv::TxHistory.
|
protected |
|
protected |
|
protected |