xrpld
Loading...
Searching...
No Matches
xrpl::AccountStateSF Class Reference

#include <AccountStateSF.h>

Inheritance diagram for xrpl::AccountStateSF:
Collaboration diagram for xrpl::AccountStateSF:

Public Member Functions

 AccountStateSF (NodeStore::Database &db, AbstractFetchPackContainer &fp)
void gotNode (bool fromFilter, SHAMapHash const &nodeHash, std::uint32_t ledgerSeq, Blob &&nodeData, SHAMapNodeType type) const override
std::optional< BlobgetNode (SHAMapHash const &nodeHash) const override

Private Attributes

NodeStore::Databasedb_
AbstractFetchPackContainerfp_

Detailed Description

Definition at line 12 of file AccountStateSF.h.

Constructor & Destructor Documentation

◆ AccountStateSF()

xrpl::AccountStateSF::AccountStateSF ( NodeStore::Database & db,
AbstractFetchPackContainer & fp )

Definition at line 15 of file AccountStateSF.h.

Member Function Documentation

◆ gotNode()

void xrpl::AccountStateSF::gotNode ( bool fromFilter,
SHAMapHash const & nodeHash,
std::uint32_t ledgerSeq,
Blob && nodeData,
SHAMapNodeType type ) const
overridevirtual

Implements xrpl::SHAMapSyncFilter.

Definition at line 15 of file AccountStateSF.cpp.

◆ getNode()

std::optional< Blob > xrpl::AccountStateSF::getNode ( SHAMapHash const & nodeHash) const
nodiscardoverridevirtual

Implements xrpl::SHAMapSyncFilter.

Definition at line 26 of file AccountStateSF.cpp.

Member Data Documentation

◆ db_

NodeStore::Database& xrpl::AccountStateSF::db_
private

Definition at line 31 of file AccountStateSF.h.

◆ fp_

AbstractFetchPackContainer& xrpl::AccountStateSF::fp_
private

Definition at line 32 of file AccountStateSF.h.