|
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 27 of file Validation.h.
Definition at line 42 of file Validation.h.
Definition at line 43 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 45 of file Validation.h.
|
nodiscard |
Definition at line 68 of file Validation.h.
|
nodiscard |
Definition at line 74 of file Validation.h.
|
nodiscard |
Definition at line 80 of file Validation.h.
|
nodiscard |
Definition at line 86 of file Validation.h.
|
nodiscard |
Definition at line 92 of file Validation.h.
|
nodiscard |
Definition at line 98 of file Validation.h.
|
nodiscard |
Definition at line 104 of file Validation.h.
|
nodiscard |
Definition at line 110 of file Validation.h.
|
nodiscard |
Definition at line 116 of file Validation.h.
|
nodiscard |
Definition at line 122 of file Validation.h.
|
nodiscard |
Definition at line 128 of file Validation.h.
|
nodiscard |
Definition at line 137 of file Validation.h.
| bool xrpl::test::csf::Validation::operator== | ( | Validation const & | o | ) | const |
Definition at line 143 of file Validation.h.
| bool xrpl::test::csf::Validation::operator< | ( | Validation const & | o | ) | const |
Definition at line 148 of file Validation.h.
| void xrpl::test::csf::Validation::setTrusted | ( | ) |
Definition at line 155 of file Validation.h.
| void xrpl::test::csf::Validation::setUntrusted | ( | ) |
Definition at line 161 of file Validation.h.
| void xrpl::test::csf::Validation::setSeen | ( | NetClock::time_point | seen | ) |
Definition at line 167 of file Validation.h.
|
private |
Definition at line 29 of file Validation.h.
|
private |
Definition at line 30 of file Validation.h.
|
private |
Definition at line 32 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 35 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.