rippled
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
ripple::ConsensusTransSetSF Class Reference

#include <ConsensusTransSetSF.h>

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

Detailed Description

Definition at line 35 of file ConsensusTransSetSF.h.

Member Typedef Documentation

◆ NodeCache

Definition at line 38 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 82 of file ConsensusTransSetSF.cpp.

Member Data Documentation

◆ app_

Application& ripple::ConsensusTransSetSF::app_
private

Definition at line 55 of file ConsensusTransSetSF.h.

◆ m_nodeCache

NodeCache& ripple::ConsensusTransSetSF::m_nodeCache
private

Definition at line 56 of file ConsensusTransSetSF.h.

◆ j_

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

Definition at line 57 of file ConsensusTransSetSF.h.