1#ifndef XRPL_SHAMAP_FAMILY_H_INCLUDED
2#define XRPL_SHAMAP_FAMILY_H_INCLUDED
4#include <xrpl/beast/utility/Journal.h>
5#include <xrpl/nodestore/Database.h>
6#include <xrpl/shamap/FullBelowCache.h>
7#include <xrpl/shamap/TreeNodeCache.h>
A generic endpoint for log messages.
virtual std::shared_ptr< FullBelowCache > getFullBelowCache()=0
Return a pointer to the Family Full Below Cache.
virtual beast::Journal const & journal()=0
Family & operator=(Family &&)=delete
virtual NodeStore::Database const & db() const =0
virtual std::shared_ptr< TreeNodeCache > getTreeNodeCache()=0
Return a pointer to the Family Tree Node Cache.
virtual void missingNodeAcquireByHash(uint256 const &refHash, std::uint32_t refNum)=0
Acquire ledger that has a missing node by ledger hash.
virtual void missingNodeAcquireBySeq(std::uint32_t refNum, uint256 const &nodeHash)=0
Acquire ledger that has a missing node by ledger sequence.
virtual ~Family()=default
virtual NodeStore::Database & db()=0
Family & operator=(Family const &)=delete
Family(Family const &)=delete
Persistency layer for NodeObject.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.