|
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...

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 278 of file ValidatorList.h.
|
explicitdefault |
|
explicit |
Definition at line 70 of file ValidatorList.cpp.
| ripple::ValidatorList::PublisherListStats::PublisherListStats | ( | ListDisposition | d, |
| PublicKey | key, | ||
| PublisherStatus | stat, | ||
| std::size_t | seq | ||
| ) |
Definition at line 75 of file ValidatorList.cpp.
| ListDisposition ripple::ValidatorList::PublisherListStats::bestDisposition | ( | ) | const |
Definition at line 86 of file ValidatorList.cpp.
| ListDisposition ripple::ValidatorList::PublisherListStats::worstDisposition | ( | ) | const |
Definition at line 93 of file ValidatorList.cpp.
| void ripple::ValidatorList::PublisherListStats::mergeDispositions | ( | PublisherListStats const & | src | ) |
Definition at line 100 of file ValidatorList.cpp.
| std::map<ListDisposition, std::size_t> ripple::ValidatorList::PublisherListStats::dispositions |
Definition at line 297 of file ValidatorList.h.
| std::optional<PublicKey> ripple::ValidatorList::PublisherListStats::publisherKey |
Definition at line 298 of file ValidatorList.h.
| PublisherStatus ripple::ValidatorList::PublisherListStats::status = PublisherStatus::unavailable |
Definition at line 299 of file ValidatorList.h.
| std::size_t ripple::ValidatorList::PublisherListStats::sequence = 0 |
Definition at line 300 of file ValidatorList.h.
1.8.17