19 #ifndef RIPPLE_TEST_CSF_VALIDATION_H_INCLUDED
20 #define RIPPLE_TEST_CSF_VALIDATION_H_INCLUDED
22 #include <ripple/basics/tagged_integer.h>
23 #include <test/csf/ledgers.h>
NetClock::time_point seenTime() const
tagged_integer< std::uint32_t, PeerIDTag > PeerID
PeerID const & nodeID() const
Validation const & unwrap() const
NetClock::time_point seenTime_
bool operator==(Validation const &o) const
std::uint64_t cookie() const
std::optional< std::uint32_t > loadFee_
std::pair< PeerID, std::uint32_t > PeerKey
The current key of a peer.
PeerKey const & key() const
bool operator<(Validation const &o) const
Set the sequence number on a JTx.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
NetClock::time_point signTime() const
Buffer sign(PublicKey const &pk, SecretKey const &sk, Slice const &m)
Generate a signature for a message.
Validation of a specific ledger by a specific Peer.
void setSeen(NetClock::time_point seen)
tagged_integer< std::uint32_t, IdTag > ID
Ledger::ID ledgerID() const
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)
std::optional< std::uint32_t > loadFee() const
NetClock::time_point signTime_