|
CCF
|
#include <history.h>
Inherits ccf::kv::TxHistory.
Public Member Functions | |
| HashedTxHistory (ccf::kv::Store &store_, const NodeId &id_, ccf::crypto::KeyPair &kp_, size_t sig_tx_interval_=0, size_t sig_ms_interval_=0, bool signature_timer=false) | |
| 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 (bool has_cose) 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 |
Public Member Functions inherited from ccf::kv::TxHistory | |
| virtual | ~TxHistory () |
Public Attributes | |
| ccf::pal::Mutex | signature_lock |
Additional Inherited Members | |
Public Types inherited from ccf::kv::TxHistory | |
| enum class | Result { FAIL = 0 , OK , SEND_SIG_RECEIPT_ACK , SEND_REPLY_AND_NONCE } |
| using | RequestID = std::tuple< size_t, size_t > |
|
inline |
|
inline |
|
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.
|
inline |
|
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.
| ccf::pal::Mutex ccf::HashedTxHistory< T >::signature_lock |