Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
data::FetchLedgerCache::CacheEntry Struct Reference

Struct to store ledger header cache entry and the sequence it belongs to. More...

#include <LedgerHeaderCache.hpp>

Public Member Functions

bool operator== (CacheEntry const &other) const
 Comparing CacheEntry. Used in testing for EXPECT_CALL.
 

Public Attributes

ripple::LedgerHeader ledger
 
uint32_t seq {}
 

Detailed Description

Struct to store ledger header cache entry and the sequence it belongs to.

Member Function Documentation

◆ operator==()

bool data::FetchLedgerCache::CacheEntry::operator== ( CacheEntry const & other) const
inline

Comparing CacheEntry. Used in testing for EXPECT_CALL.

Parameters
otherThe other cacheEntry to compare
Returns
true if two CacheEntry is the same, false otherwise

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