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 <boost/optional.hpp>
25 #include <test/csf/ledgers.h>
72 boost::optional<std::uint32_t>
loadFee = boost::none,
140 boost::optional<std::uint32_t>
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
std::uint64_t cookie() 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.
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, std::uint64_t cookie=0)
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_