1#ifndef XRPL_TEST_CSF_VALIDATION_H_INCLUDED
2#define XRPL_TEST_CSF_VALIDATION_H_INCLUDED
4#include <test/csf/ledgers.h>
6#include <xrpl/basics/tagged_integer.h>
Validation of a specific ledger by a specific Peer.
NetClock::time_point seenTime() 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_
Validation const & unwrap() const
PeerKey const & key() const
Ledger::ID ledgerID() const
void setSeen(NetClock::time_point seen)
PeerID const & nodeID() const
NetClock::time_point signTime_
bool operator<(Validation const &o) const
NetClock::time_point seenTime_
bool operator==(Validation const &o) const
NetClock::time_point signTime() const
std::optional< std::uint32_t > loadFee() const
std::uint64_t cookie() const
std::pair< PeerID, std::uint32_t > PeerKey
The current key of a peer.
tagged_integer< std::uint32_t, PeerIDTag > PeerID
void sign(Json::Value &jv, Account const &account, Json::Value &sigObject)
Sign automatically into a specific Json field of the jv object.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Set the sequence number on a JTx.