|
rippled
|
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...
#include <ValidatorList.h>

Public Member Functions | |
| PublisherListStats ()=default | |
| PublisherListStats (ListDisposition d) | |
| PublisherListStats (ListDisposition d, PublicKey key, PublisherStatus stat, std::size_t seq) | |
| ListDisposition | bestDisposition () const |
| ListDisposition | worstDisposition () const |
| void | mergeDispositions (PublisherListStats const &src) |
Public Attributes | |
| std::map< ListDisposition, std::size_t > | dispositions |
| std::optional< PublicKey > | publisherKey |
| PublisherStatus | status = PublisherStatus::unavailable |
| std::size_t | sequence = 0 |
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 271 of file ValidatorList.h.
|
explicitdefault |
|
explicit |
Definition at line 52 of file ValidatorList.cpp.
| xrpl::ValidatorList::PublisherListStats::PublisherListStats | ( | ListDisposition | d, |
| PublicKey | key, | ||
| PublisherStatus | stat, | ||
| std::size_t | seq | ||
| ) |
Definition at line 57 of file ValidatorList.cpp.
| ListDisposition xrpl::ValidatorList::PublisherListStats::bestDisposition | ( | ) | const |
Definition at line 68 of file ValidatorList.cpp.
| ListDisposition xrpl::ValidatorList::PublisherListStats::worstDisposition | ( | ) | const |
Definition at line 74 of file ValidatorList.cpp.
| void xrpl::ValidatorList::PublisherListStats::mergeDispositions | ( | PublisherListStats const & | src | ) |
Definition at line 80 of file ValidatorList.cpp.
| std::map<ListDisposition, std::size_t> xrpl::ValidatorList::PublisherListStats::dispositions |
Definition at line 286 of file ValidatorList.h.
| std::optional<PublicKey> xrpl::ValidatorList::PublisherListStats::publisherKey |
Definition at line 287 of file ValidatorList.h.
| PublisherStatus xrpl::ValidatorList::PublisherListStats::status = PublisherStatus::unavailable |
Definition at line 288 of file ValidatorList.h.
| std::size_t xrpl::ValidatorList::PublisherListStats::sequence = 0 |
Definition at line 289 of file ValidatorList.h.