20#ifndef RIPPLE_APP_LEDGER_ACCOUNTSTATESF_H_INCLUDED
21#define RIPPLE_APP_LEDGER_ACCOUNTSTATESF_H_INCLUDED
23#include <xrpld/app/ledger/AbstractFetchPackContainer.h>
24#include <xrpld/nodestore/Database.h>
25#include <xrpld/shamap/SHAMapSyncFilter.h>
An interface facilitating retrieval of fetch packs without an application or ledgermaster object.
AccountStateSF(NodeStore::Database &db, AbstractFetchPackContainer &fp)
std::optional< Blob > getNode(SHAMapHash const &nodeHash) const override
NodeStore::Database & db_
void gotNode(bool fromFilter, SHAMapHash const &nodeHash, std::uint32_t ledgerSeq, Blob &&nodeData, SHAMapNodeType type) const override
AbstractFetchPackContainer & fp_
Persistency layer for NodeObject.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.