|
CCF
|
#include <history.h>
Inherits ccf::kv::TxHistory.
Public Member Functions | |
| NullTxHistory (ccf::kv::Store &store_, NodeId id_, ccf::crypto::ECKeyPair &) | |
| void | append (const std::vector< uint8_t > &) override |
| void | append_entry (const ccf::crypto::Sha256Hash &, std::optional< ccf::kv::Term >=std::nullopt) override |
| bool | verify_root_signatures (ccf::kv::Version) override |
| void | set_term (ccf::kv::Term t) override |
| void | rollback (const ccf::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::ECKeyPair_OpenSSL > service_kp_, const ccf::COSESignaturesConfig &) override |
| const ccf::COSESignaturesConfig & | get_cose_signatures_config () override |
| ccf::crypto::Sha256Hash | get_replicated_state_root () override |
| std::tuple< ccf::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 |
Public Member Functions inherited from ccf::kv::TxHistory | |
| virtual | ~TxHistory ()=default |
| 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 |
|
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 |