|
xrpld
|
Validation of a specific ledger by a specific Peer. More...
#include <Validation.h>

Public Types | |
| using | NodeKey = PeerKey |
| using | NodeID = PeerID |
Public Member Functions | |
| Validation (Ledger::ID id, Ledger::Seq seq, NetClock::time_point sign, NetClock::time_point seen, PeerKey key, PeerID nodeID, bool full, std::optional< std::uint32_t > loadFee=std::nullopt, std::uint64_t cookie=0) | |
| Ledger::ID | ledgerID () const |
| Ledger::Seq | seq () const |
| NetClock::time_point | signTime () const |
| NetClock::time_point | seenTime () const |
| PeerKey const & | key () const |
| PeerID const & | nodeID () const |
| bool | trusted () const |
| bool | full () const |
| std::uint64_t | cookie () const |
| std::optional< std::uint32_t > | loadFee () const |
| Validation const & | unwrap () const |
| auto | asTie () const |
| bool | operator== (Validation const &o) const |
| bool | operator< (Validation const &o) const |
| void | setTrusted () |
| void | setUntrusted () |
| void | setSeen (NetClock::time_point seen) |
Private Attributes | |
| Ledger::ID | ledgerID_ {0} |
| Ledger::Seq | seq_ {0} |
| NetClock::time_point | signTime_ |
| NetClock::time_point | seenTime_ |
| PeerKey | key_ |
| PeerID | nodeID_ {0} |
| bool | trusted_ = false |
| bool | full_ = false |
| std::optional< std::uint32_t > | loadFee_ |
| std::uint64_t | cookie_ {0} |
Validation of a specific ledger by a specific Peer.
Definition at line 31 of file Validation.h.
Definition at line 46 of file Validation.h.
Definition at line 47 of file Validation.h.
| xrpl::test::csf::Validation::Validation | ( | Ledger::ID | id, |
| Ledger::Seq | seq, | ||
| NetClock::time_point | sign, | ||
| NetClock::time_point | seen, | ||
| PeerKey | key, | ||
| PeerID | nodeID, | ||
| bool | full, | ||
| std::optional< std::uint32_t > | loadFee = std::nullopt, | ||
| std::uint64_t | cookie = 0 ) |
Definition at line 49 of file Validation.h.
|
nodiscard |
Definition at line 72 of file Validation.h.
|
nodiscard |
Definition at line 78 of file Validation.h.
|
nodiscard |
Definition at line 84 of file Validation.h.
|
nodiscard |
Definition at line 90 of file Validation.h.
|
nodiscard |
Definition at line 96 of file Validation.h.
|
nodiscard |
Definition at line 102 of file Validation.h.
|
nodiscard |
Definition at line 108 of file Validation.h.
|
nodiscard |
Definition at line 114 of file Validation.h.
|
nodiscard |
Definition at line 120 of file Validation.h.
|
nodiscard |
Definition at line 126 of file Validation.h.
|
nodiscard |
Definition at line 132 of file Validation.h.
|
nodiscard |
Definition at line 141 of file Validation.h.
| bool xrpl::test::csf::Validation::operator== | ( | Validation const & | o | ) | const |
Definition at line 147 of file Validation.h.
| bool xrpl::test::csf::Validation::operator< | ( | Validation const & | o | ) | const |
Definition at line 152 of file Validation.h.
| void xrpl::test::csf::Validation::setTrusted | ( | ) |
Definition at line 159 of file Validation.h.
| void xrpl::test::csf::Validation::setUntrusted | ( | ) |
Definition at line 165 of file Validation.h.
| void xrpl::test::csf::Validation::setSeen | ( | NetClock::time_point | seen | ) |
Definition at line 171 of file Validation.h.
|
private |
Definition at line 33 of file Validation.h.
|
private |
Definition at line 34 of file Validation.h.
|
private |
Definition at line 36 of file Validation.h.
|
private |
Definition at line 37 of file Validation.h.
|
private |
Definition at line 38 of file Validation.h.
|
private |
Definition at line 39 of file Validation.h.
|
private |
Definition at line 40 of file Validation.h.
|
private |
Definition at line 41 of file Validation.h.
|
private |
Definition at line 42 of file Validation.h.
|
private |
Definition at line 43 of file Validation.h.