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

#include <ConsensusTransSetSF.h>

Inheritance diagram for xrpl::ConsensusTransSetSF:
Collaboration diagram for xrpl::ConsensusTransSetSF:

Public Types

using NodeCache = TaggedCache<SHAMapHash, Blob>

Public Member Functions

 ConsensusTransSetSF (Application &app, NodeCache &nodeCache)
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

Applicationapp_
NodeCachenodeCache_
beast::Journal const j_

Detailed Description

Definition at line 15 of file ConsensusTransSetSF.h.

Member Typedef Documentation

◆ NodeCache

Constructor & Destructor Documentation

◆ ConsensusTransSetSF()

xrpl::ConsensusTransSetSF::ConsensusTransSetSF ( Application & app,
NodeCache & nodeCache )

Definition at line 26 of file ConsensusTransSetSF.cpp.

Member Function Documentation

◆ gotNode()

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

Implements xrpl::SHAMapSyncFilter.

Definition at line 32 of file ConsensusTransSetSF.cpp.

◆ getNode()

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

Implements xrpl::SHAMapSyncFilter.

Definition at line 72 of file ConsensusTransSetSF.cpp.

Member Data Documentation

◆ app_

Application& xrpl::ConsensusTransSetSF::app_
private

Definition at line 35 of file ConsensusTransSetSF.h.

◆ nodeCache_

NodeCache& xrpl::ConsensusTransSetSF::nodeCache_
private

Definition at line 36 of file ConsensusTransSetSF.h.

◆ j_

beast::Journal const xrpl::ConsensusTransSetSF::j_
private

Definition at line 37 of file ConsensusTransSetSF.h.