CCF
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ccf::historical::StateCacheImpl::Request Struct Reference

#include <historical_queries.h>

Public Member Functions

 Request (AllRequestedStores &all_stores_)
 
StoreDetailsPtr get_store_details (ccf::SeqNo seqno) const
 
ccf::SeqNo first_requested_seqno () const
 
std::pair< std::vector< SeqNo >, std::vector< SeqNo > > adjust_ranges (const SeqNoCollection &new_seqnos, bool should_include_receipts, SeqNo earliest_ledger_secret_seqno)
 
void populate_receipts (ccf::SeqNo new_seqno)
 

Public Attributes

AllRequestedStoresall_stores
 
RequestedStores my_stores
 
std::chrono::milliseconds time_to_expiry
 
bool include_receipts = false
 
RequestedStores supporting_signatures
 
std::optional< ccf::SeqNoawaiting_ledger_secrets = std::nullopt
 

Constructor & Destructor Documentation

◆ Request()

ccf::historical::StateCacheImpl::Request::Request ( AllRequestedStores all_stores_)
inline

Member Function Documentation

◆ adjust_ranges()

std::pair< std::vector< SeqNo >, std::vector< SeqNo > > ccf::historical::StateCacheImpl::Request::adjust_ranges ( const SeqNoCollection new_seqnos,
bool  should_include_receipts,
SeqNo  earliest_ledger_secret_seqno 
)
inline

◆ first_requested_seqno()

ccf::SeqNo ccf::historical::StateCacheImpl::Request::first_requested_seqno ( ) const
inline

◆ get_store_details()

StoreDetailsPtr ccf::historical::StateCacheImpl::Request::get_store_details ( ccf::SeqNo  seqno) const
inline

◆ populate_receipts()

void ccf::historical::StateCacheImpl::Request::populate_receipts ( ccf::SeqNo  new_seqno)
inline

Member Data Documentation

◆ all_stores

AllRequestedStores& ccf::historical::StateCacheImpl::Request::all_stores

◆ awaiting_ledger_secrets

std::optional<ccf::SeqNo> ccf::historical::StateCacheImpl::Request::awaiting_ledger_secrets = std::nullopt

◆ include_receipts

bool ccf::historical::StateCacheImpl::Request::include_receipts = false

◆ my_stores

RequestedStores ccf::historical::StateCacheImpl::Request::my_stores

◆ supporting_signatures

RequestedStores ccf::historical::StateCacheImpl::Request::supporting_signatures

◆ time_to_expiry

std::chrono::milliseconds ccf::historical::StateCacheImpl::Request::time_to_expiry

The documentation for this struct was generated from the following file: