rippled
Public Types | Public Member Functions | Private Attributes | List of all members
ripple::ConsensusTransSetSF Class Reference
Inheritance diagram for ripple::ConsensusTransSetSF:
Inheritance graph
[legend]
Collaboration diagram for ripple::ConsensusTransSetSF:
Collaboration graph
[legend]

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_
 
NodeCachem_nodeCache
 
const beast::Journal j_
 

Detailed Description

Definition at line 34 of file ConsensusTransSetSF.h.

Member Typedef Documentation

◆ NodeCache

Definition at line 37 of file ConsensusTransSetSF.h.

Constructor & Destructor Documentation

◆ ConsensusTransSetSF()

ripple::ConsensusTransSetSF::ConsensusTransSetSF ( Application app,
NodeCache nodeCache 
)

Definition at line 33 of file ConsensusTransSetSF.cpp.

Member Function Documentation

◆ gotNode()

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

Implements ripple::SHAMapSyncFilter.

Definition at line 39 of file ConsensusTransSetSF.cpp.

◆ getNode()

std::optional< Blob > ripple::ConsensusTransSetSF::getNode ( SHAMapHash const &  nodeHash) const
overridevirtual

Implements ripple::SHAMapSyncFilter.

Definition at line 79 of file ConsensusTransSetSF.cpp.

Member Data Documentation

◆ app_

Application& ripple::ConsensusTransSetSF::app_
private

Definition at line 54 of file ConsensusTransSetSF.h.

◆ m_nodeCache

NodeCache& ripple::ConsensusTransSetSF::m_nodeCache
private

Definition at line 55 of file ConsensusTransSetSF.h.

◆ j_

const beast::Journal ripple::ConsensusTransSetSF::j_
private

Definition at line 56 of file ConsensusTransSetSF.h.