|
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 271 of file ValidatorList.h.
|
explicitdefault |
|
explicit |
Definition at line 89 of file ValidatorList.cpp.
| xrpl::ValidatorList::PublisherListStats::PublisherListStats | ( | ListDisposition | d, |
| PublicKey | key, | ||
| PublisherStatus | stat, | ||
| std::size_t | seq ) |
Definition at line 94 of file ValidatorList.cpp.
|
nodiscard |
Definition at line 105 of file ValidatorList.cpp.
|
nodiscard |
Definition at line 111 of file ValidatorList.cpp.
| void xrpl::ValidatorList::PublisherListStats::mergeDispositions | ( | PublisherListStats const & | src | ) |
Definition at line 117 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.