|
| | StateCacheImpl (ccf::kv::Store &store, const std::shared_ptr< ccf::LedgerSecrets > &secrets, ringbuffer::WriterPtr host_writer) |
| |
| ccf::kv::ReadOnlyStorePtr | get_store_at (const CompoundHandle &handle, ccf::SeqNo seqno, ExpiryDuration seconds_until_expiry) |
| |
| ccf::kv::ReadOnlyStorePtr | get_store_at (const CompoundHandle &handle, ccf::SeqNo seqno) |
| |
| StatePtr | get_state_at (const CompoundHandle &handle, ccf::SeqNo seqno, ExpiryDuration seconds_until_expiry) |
| |
| StatePtr | get_state_at (const CompoundHandle &handle, ccf::SeqNo seqno) |
| |
| std::vector< ccf::kv::ReadOnlyStorePtr > | get_store_range (const CompoundHandle &handle, ccf::SeqNo start_seqno, ccf::SeqNo end_seqno, ExpiryDuration seconds_until_expiry) |
| |
| std::vector< ccf::kv::ReadOnlyStorePtr > | get_store_range (const CompoundHandle &handle, ccf::SeqNo start_seqno, ccf::SeqNo end_seqno) |
| |
| std::vector< StatePtr > | get_state_range (const CompoundHandle &handle, ccf::SeqNo start_seqno, ccf::SeqNo end_seqno, ExpiryDuration seconds_until_expiry) |
| |
| std::vector< StatePtr > | get_state_range (const CompoundHandle &handle, ccf::SeqNo start_seqno, ccf::SeqNo end_seqno) |
| |
| std::vector< ccf::kv::ReadOnlyStorePtr > | get_stores_for (const CompoundHandle &handle, const SeqNoCollection &seqnos, ExpiryDuration seconds_until_expiry) |
| |
| std::vector< ccf::kv::ReadOnlyStorePtr > | get_stores_for (const CompoundHandle &handle, const SeqNoCollection &seqnos) |
| |
| std::vector< StatePtr > | get_states_for (const CompoundHandle &handle, const SeqNoCollection &seqnos, ExpiryDuration seconds_until_expiry) |
| |
| std::vector< StatePtr > | get_states_for (const CompoundHandle &handle, const SeqNoCollection &seqnos) |
| |
| void | set_default_expiry_duration (ExpiryDuration duration) |
| |
| void | set_soft_cache_limit (CacheSize cache_limit) |
| |
| void | track_deletes_on_missing_keys (bool track) |
| |
| bool | drop_cached_states (const CompoundHandle &handle) |
| |
| bool | handle_ledger_entry (ccf::SeqNo seqno, const std::vector< uint8_t > &data) |
| |
| bool | handle_ledger_entry (ccf::SeqNo seqno, const uint8_t *data, size_t size) |
| |
| bool | handle_ledger_entries (ccf::SeqNo from_seqno, ccf::SeqNo to_seqno, const LedgerEntry &data) |
| |
| bool | handle_ledger_entries (ccf::SeqNo from_seqno, ccf::SeqNo to_seqno, const uint8_t *data, size_t size) |
| |
| void | handle_no_entry (ccf::SeqNo seqno) |
| |
| void | handle_no_entry_range (ccf::SeqNo from_seqno, ccf::SeqNo to_seqno) |
| |
| ccf::kv::StorePtr | deserialise_ledger_entry (ccf::SeqNo seqno, const uint8_t *data, size_t size, ccf::kv::ApplyResult &result, ccf::ClaimsDigest &claims_digest, bool &has_commit_evidence) |
| |
| size_t | get_estimated_store_cache_size () |
| |
| void | tick (const std::chrono::milliseconds &elapsed_ms) |
| |
|
| void | update_earliest_known_ledger_secret () |
| |
| void | add_request_ref (SeqNo seq, CompoundHandle handle) |
| |
| void | add_request_refs (CompoundHandle handle) |
| |
| void | remove_request_ref (SeqNo seq, CompoundHandle handle) |
| |
| void | remove_request_refs (CompoundHandle handle) |
| |
| void | lru_promote (CompoundHandle handle) |
| |
| void | lru_shrink_to_fit (size_t threshold) |
| |
| void | lru_evict (CompoundHandle handle) |
| |
| void | update_store_raw_size (SeqNo seq, size_t new_size) |
| |
| void | fetch_entry_at (ccf::SeqNo seqno) |
| |
| void | fetch_entries_range (ccf::SeqNo from, ccf::SeqNo to) |
| |
| std::optional< ccf::SeqNo > | fetch_supporting_secret_if_needed (ccf::SeqNo seqno) |
| |
| void | process_deserialised_store (const StoreDetailsPtr &details, const ccf::kv::StorePtr &store, const ccf::crypto::Sha256Hash &entry_digest, ccf::SeqNo seqno, bool is_signature, ccf::ClaimsDigest &&claims_digest, bool has_commit_evidence) |
| |
| bool | handle_encrypted_past_ledger_secret (const ccf::kv::StorePtr &store, LedgerSecretPtr encrypting_secret) |
| |
| SeqNoCollection | collection_from_single_range (ccf::SeqNo start_seqno, ccf::SeqNo end_seqno) |
| |
| std::vector< StatePtr > | get_states_internal (const CompoundHandle &handle, const SeqNoCollection &seqnos, ExpiryDuration seconds_until_expiry, bool include_receipts) |
| |
| void | delete_all_interested_requests (ccf::SeqNo seqno) |
| |
| std::vector< ccf::kv::ReadOnlyStorePtr > | states_to_stores (const std::vector< StatePtr > &states) |
| |