1#include <xrpld/app/ledger/LedgerMaster.h>
2#include <xrpld/app/main/Application.h>
3#include <xrpld/app/main/CollectorManager.h>
4#include <xrpld/app/main/Tuning.h>
5#include <xrpld/shamap/NodeFamily.h>
11 , db_(app.getNodeStore())
12 , j_(app.journal(
"NodeFamily"))
14 "Node family full below cache",
16 app.journal(
"NodeFamilyFulLBelowCache"),
21 "Node family tree node cache",
52 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