|
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 49 of file Validation.h.
Definition at line 64 of file Validation.h.
Definition at line 65 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 67 of file Validation.h.
| Ledger::ID ripple::test::csf::Validation::ledgerID | ( | ) | const |
Definition at line 90 of file Validation.h.
| Ledger::Seq ripple::test::csf::Validation::seq | ( | ) | const |
Definition at line 96 of file Validation.h.
| NetClock::time_point ripple::test::csf::Validation::signTime | ( | ) | const |
Definition at line 102 of file Validation.h.
| NetClock::time_point ripple::test::csf::Validation::seenTime | ( | ) | const |
Definition at line 108 of file Validation.h.
| PeerKey const & ripple::test::csf::Validation::key | ( | ) | const |
Definition at line 114 of file Validation.h.
| PeerID const & ripple::test::csf::Validation::nodeID | ( | ) | const |
Definition at line 120 of file Validation.h.
| bool ripple::test::csf::Validation::trusted | ( | ) | const |
Definition at line 126 of file Validation.h.
| bool ripple::test::csf::Validation::full | ( | ) | const |
Definition at line 132 of file Validation.h.
| std::uint64_t ripple::test::csf::Validation::cookie | ( | ) | const |
Definition at line 138 of file Validation.h.
| std::optional< std::uint32_t > ripple::test::csf::Validation::loadFee | ( | ) | const |
Definition at line 144 of file Validation.h.
| Validation const & ripple::test::csf::Validation::unwrap | ( | ) | const |
Definition at line 150 of file Validation.h.
| auto ripple::test::csf::Validation::asTie | ( | ) | const |
Definition at line 159 of file Validation.h.
| bool ripple::test::csf::Validation::operator== | ( | Validation const & | o | ) | const |
Definition at line 173 of file Validation.h.
| bool ripple::test::csf::Validation::operator< | ( | Validation const & | o | ) | const |
Definition at line 178 of file Validation.h.
| void ripple::test::csf::Validation::setTrusted | ( | ) |
Definition at line 185 of file Validation.h.
| void ripple::test::csf::Validation::setUntrusted | ( | ) |
Definition at line 191 of file Validation.h.
| void ripple::test::csf::Validation::setSeen | ( | NetClock::time_point | seen | ) |
Definition at line 197 of file Validation.h.
|
private |
Definition at line 51 of file Validation.h.
|
private |
Definition at line 52 of file Validation.h.
|
private |
Definition at line 54 of file Validation.h.
|
private |
Definition at line 55 of file Validation.h.
|
private |
Definition at line 56 of file Validation.h.
|
private |
Definition at line 57 of file Validation.h.
|
private |
Definition at line 58 of file Validation.h.
|
private |
Definition at line 59 of file Validation.h.
|
private |
Definition at line 60 of file Validation.h.
|
private |
Definition at line 61 of file Validation.h.