20 #ifndef RIPPLE_SHAMAP_FAMILY_H_INCLUDED
21 #define RIPPLE_SHAMAP_FAMILY_H_INCLUDED
23 #include <ripple/basics/Log.h>
24 #include <ripple/beast/utility/Journal.h>
25 #include <ripple/nodestore/Database.h>
26 #include <ripple/shamap/FullBelowCache.h>
27 #include <ripple/shamap/TreeNodeCache.h>
44 explicit Family() =
default;
virtual std::shared_ptr< TreeNodeCache > getTreeNodeCache(std::uint32_t ledgerSeq)=0
Return a pointer to the Family Tree Node Cache.
Family & operator=(Family const &)=delete
Persistency layer for NodeObject.
virtual bool isShardBacked() const =0
virtual std::shared_ptr< FullBelowCache > getFullBelowCache(std::uint32_t ledgerSeq)=0
Return a pointer to the Family Full Below Cache.
virtual NodeStore::Database & db()=0
virtual void missingNodeAcquireBySeq(std::uint32_t refNum, uint256 const &nodeHash)=0
Acquire ledger that has a missing node by ledger sequence.
virtual ~Family()=default
A generic endpoint for log messages.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
virtual beast::Journal const & journal()=0
virtual void missingNodeAcquireByHash(uint256 const &refHash, std::uint32_t refNum)=0
Acquire ledger that has a missing node by ledger hash.