20#include <xrpld/app/ledger/LedgerMaster.h>
21#include <xrpld/app/main/Application.h>
22#include <xrpld/app/main/Tuning.h>
23#include <xrpld/shamap/NodeFamily.h>
25#include <xrpl/basics/TaggedCache.ipp>
31 , db_(app.getNodeStore())
32 , j_(app.journal(
"NodeFamily"))
34 "Node family full below cache",
36 app.journal(
"NodeFamilyFulLBelowCache"),
41 "Node family tree node cache",
72 JLOG(
j_.
error()) <<
"Missing node in " << seq;
virtual InboundLedgers & getInboundLedgers()=0
virtual LedgerMaster & getLedgerMaster()=0
Provides the beast::insight::Collector service.
virtual std::shared_ptr< Ledger const > acquire(uint256 const &hash, std::uint32_t seq, InboundLedger::Reason)=0
uint256 getHashBySeq(std::uint32_t index)
Get a ledger's hash by sequence number using the cache.
std::shared_ptr< TreeNodeCache > tnCache_
void acquire(uint256 const &hash, std::uint32_t seq)
std::shared_ptr< FullBelowCache > fbCache_
void missingNodeAcquireBySeq(std::uint32_t seq, uint256 const &hash) override
Acquire ledger that has a missing node by ledger sequence.
Remembers which tree keys have all descendants resident.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
constexpr std::chrono::seconds fullBelowExpiration
Stopwatch & stopwatch()
Returns an instance of a wall clock.
std::string to_string(base_uint< Bits, Tag > const &a)
constexpr std::size_t fullBelowTargetSize