19 #ifndef RIPPLE_TEST_CSF_VALIDATION_H_INCLUDED
20 #define RIPPLE_TEST_CSF_VALIDATION_H_INCLUDED
22 #include <boost/optional.hpp>
24 #include <ripple/basics/tagged_integer.h>
25 #include <test/csf/ledgers.h>
71 boost::optional<std::uint32_t>
loadFee = boost::none)
132 boost::optional<std::uint32_t>
Validation(Ledger::ID id, Ledger::Seq seq, NetClock::time_point sign, NetClock::time_point seen, PeerKey key, PeerID nodeID, bool full, boost::optional< std::uint32_t > loadFee=boost::none)
NetClock::time_point seenTime() const
tagged_integer< std::uint32_t, PeerIDTag > PeerID
Validation const & unwrap() const
NetClock::time_point seenTime_
bool operator==(Validation const &o) const
boost::optional< std::uint32_t > loadFee() const
std::pair< PeerID, std::uint32_t > PeerKey
The current key of a peer.
boost::optional< std::uint32_t > loadFee_
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
NetClock::time_point signTime_