|
rippled
|
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 30 of file Validation.h.
Definition at line 45 of file Validation.h.
Definition at line 46 of file Validation.h.
| ripple::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 48 of file Validation.h.
| Ledger::ID ripple::test::csf::Validation::ledgerID | ( | ) | const |
Definition at line 71 of file Validation.h.
| Ledger::Seq ripple::test::csf::Validation::seq | ( | ) | const |
Definition at line 77 of file Validation.h.
| NetClock::time_point ripple::test::csf::Validation::signTime | ( | ) | const |
Definition at line 83 of file Validation.h.
| NetClock::time_point ripple::test::csf::Validation::seenTime | ( | ) | const |
Definition at line 89 of file Validation.h.
| PeerKey const & ripple::test::csf::Validation::key | ( | ) | const |
Definition at line 95 of file Validation.h.
| PeerID const & ripple::test::csf::Validation::nodeID | ( | ) | const |
Definition at line 101 of file Validation.h.
| bool ripple::test::csf::Validation::trusted | ( | ) | const |
Definition at line 107 of file Validation.h.
| bool ripple::test::csf::Validation::full | ( | ) | const |
Definition at line 113 of file Validation.h.
| std::uint64_t ripple::test::csf::Validation::cookie | ( | ) | const |
Definition at line 119 of file Validation.h.
| std::optional< std::uint32_t > ripple::test::csf::Validation::loadFee | ( | ) | const |
Definition at line 125 of file Validation.h.
| Validation const & ripple::test::csf::Validation::unwrap | ( | ) | const |
Definition at line 131 of file Validation.h.
| auto ripple::test::csf::Validation::asTie | ( | ) | const |
Definition at line 140 of file Validation.h.
| bool ripple::test::csf::Validation::operator== | ( | Validation const & | o | ) | const |
Definition at line 154 of file Validation.h.
| bool ripple::test::csf::Validation::operator< | ( | Validation const & | o | ) | const |
Definition at line 159 of file Validation.h.
| void ripple::test::csf::Validation::setTrusted | ( | ) |
Definition at line 166 of file Validation.h.
| void ripple::test::csf::Validation::setUntrusted | ( | ) |
Definition at line 172 of file Validation.h.
| void ripple::test::csf::Validation::setSeen | ( | NetClock::time_point | seen | ) |
Definition at line 178 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 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.
|
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.