rippled
Public Member Functions | Public Attributes | List of all members
ripple::ValidatorList::PublisherListStats Struct Reference

Describes the result of processing a Validator List (UNL), including some of the information from the list which can be used by the caller to know which list publisher is involved. More...

Public Member Functions

 PublisherListStats (ListDisposition d)
 
 PublisherListStats (ListDisposition d, PublicKey key, bool avail, std::size_t seq)
 

Public Attributes

ListDisposition disposition
 
boost::optional< PublicKeypublisherKey
 
bool available = false
 
boost::optional< std::size_tsequence
 

Detailed Description

Describes the result of processing a Validator List (UNL), including some of the information from the list which can be used by the caller to know which list publisher is involved.

Definition at line 188 of file ValidatorList.h.

Constructor & Destructor Documentation

◆ PublisherListStats() [1/2]

ripple::ValidatorList::PublisherListStats::PublisherListStats ( ListDisposition  d)
explicit

Definition at line 190 of file ValidatorList.h.

◆ PublisherListStats() [2/2]

ripple::ValidatorList::PublisherListStats::PublisherListStats ( ListDisposition  d,
PublicKey  key,
bool  avail,
std::size_t  seq 
)

Definition at line 194 of file ValidatorList.h.

Member Data Documentation

◆ disposition

ListDisposition ripple::ValidatorList::PublisherListStats::disposition

Definition at line 203 of file ValidatorList.h.

◆ publisherKey

boost::optional<PublicKey> ripple::ValidatorList::PublisherListStats::publisherKey

Definition at line 204 of file ValidatorList.h.

◆ available

bool ripple::ValidatorList::PublisherListStats::available = false

Definition at line 205 of file ValidatorList.h.

◆ sequence

boost::optional<std::size_t> ripple::ValidatorList::PublisherListStats::sequence

Definition at line 206 of file ValidatorList.h.