20 #include <ripple/app/ledger/AccountStateSF.h>
std::optional< Blob > getNode(SHAMapHash const &nodeHash) const override
AbstractFetchPackContainer & fp_
virtual void store(NodeObjectType type, Blob &&data, uint256 const &hash, std::uint32_t ledgerSeq)=0
Store the object.
void gotNode(bool fromFilter, SHAMapHash const &nodeHash, std::uint32_t ledgerSeq, Blob &&nodeData, SHAMapNodeType type) const override
NodeStore::Database & db_
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
uint256 const & as_uint256() const
virtual std::optional< Blob > getFetchPack(uint256 const &nodeHash)=0
Retrieves partial ledger data of the coresponding hash from peers.