|
xrpld
|
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 306 of file ValidatorList.h.
|
explicitdefault |
|
explicit |
Definition at line 87 of file ValidatorList.cpp.
| xrpl::ValidatorList::PublisherListStats::PublisherListStats | ( | ListDisposition | d, |
| PublicKey | key, | ||
| PublisherStatus | stat, | ||
| std::size_t | seq ) |
Definition at line 92 of file ValidatorList.cpp.
|
nodiscard |
Definition at line 103 of file ValidatorList.cpp.
|
nodiscard |
Definition at line 109 of file ValidatorList.cpp.
| void xrpl::ValidatorList::PublisherListStats::mergeDispositions | ( | PublisherListStats const & | src | ) |
Definition at line 115 of file ValidatorList.cpp.
| std::map<ListDisposition, std::size_t> xrpl::ValidatorList::PublisherListStats::dispositions |
Definition at line 321 of file ValidatorList.h.
| std::optional<PublicKey> xrpl::ValidatorList::PublisherListStats::publisherKey |
Definition at line 322 of file ValidatorList.h.
| PublisherStatus xrpl::ValidatorList::PublisherListStats::status = PublisherStatus::Unavailable |
Definition at line 323 of file ValidatorList.h.
| std::size_t xrpl::ValidatorList::PublisherListStats::sequence = 0 |
Definition at line 324 of file ValidatorList.h.