rippled
|
Validation of a specific ledger by a specific Peer. More...
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 47 of file Validation.h.
Definition at line 62 of file Validation.h.
Definition at line 63 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 65 of file Validation.h.
Ledger::ID ripple::test::csf::Validation::ledgerID | ( | ) | const |
Definition at line 88 of file Validation.h.
Ledger::Seq ripple::test::csf::Validation::seq | ( | ) | const |
Definition at line 94 of file Validation.h.
NetClock::time_point ripple::test::csf::Validation::signTime | ( | ) | const |
Definition at line 100 of file Validation.h.
NetClock::time_point ripple::test::csf::Validation::seenTime | ( | ) | const |
Definition at line 106 of file Validation.h.
PeerKey const& ripple::test::csf::Validation::key | ( | ) | const |
Definition at line 112 of file Validation.h.
PeerID const& ripple::test::csf::Validation::nodeID | ( | ) | const |
Definition at line 118 of file Validation.h.
bool ripple::test::csf::Validation::trusted | ( | ) | const |
Definition at line 124 of file Validation.h.
bool ripple::test::csf::Validation::full | ( | ) | const |
Definition at line 130 of file Validation.h.
std::uint64_t ripple::test::csf::Validation::cookie | ( | ) | const |
Definition at line 136 of file Validation.h.
std::optional<std::uint32_t> ripple::test::csf::Validation::loadFee | ( | ) | const |
Definition at line 142 of file Validation.h.
Validation const& ripple::test::csf::Validation::unwrap | ( | ) | const |
Definition at line 148 of file Validation.h.
auto ripple::test::csf::Validation::asTie | ( | ) | const |
Definition at line 157 of file Validation.h.
bool ripple::test::csf::Validation::operator== | ( | Validation const & | o | ) | const |
Definition at line 171 of file Validation.h.
bool ripple::test::csf::Validation::operator< | ( | Validation const & | o | ) | const |
Definition at line 177 of file Validation.h.
void ripple::test::csf::Validation::setTrusted | ( | ) |
Definition at line 183 of file Validation.h.
void ripple::test::csf::Validation::setUntrusted | ( | ) |
Definition at line 189 of file Validation.h.
void ripple::test::csf::Validation::setSeen | ( | NetClock::time_point | seen | ) |
Definition at line 195 of file Validation.h.
|
private |
Definition at line 49 of file Validation.h.
|
private |
Definition at line 50 of file Validation.h.
|
private |
Definition at line 52 of file Validation.h.
|
private |
Definition at line 53 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.