20 #include <ripple/basics/Log.h>
21 #include <ripple/basics/contract.h>
22 #include <ripple/json/to_string.h>
23 #include <ripple/protocol/HashPrefix.h>
24 #include <ripple/protocol/STValidation.h>
102 JLOG(
debugLog().error()) <<
"Exception validating validation";
std::enable_if_t< std::is_same< T, char >::value||std::is_same< T, unsigned char >::value, Slice > makeSlice(std::array< T, N > const &a)
const SF_UINT32 sfReserveBase
uint256 getConsensusHash() const
boost::optional< KeyType > publicKeyType(Slice const &slice)
Returns the type of public key.
const SF_UINT32 sfLedgerSequence
const SF_VL sfSigningPubKey
uint256 getLedgerHash() const
const SF_UINT32 sfCloseTime
Blob getFieldVL(SField const &field) const
static SOTemplate const & validationFormat()
Blob getSignature() const
beast::Journal debugLog()
Returns a debug journal.
const SF_HASH256 sfValidatedHash
const SF_HASH256 sfLedgerHash
constexpr std::uint32_t vfFullyCanonicalSig
Integers of any length that is a multiple of 32-bits.
Defines the fields and their attributes within a STObject.
const SF_UINT64 sfServerVersion
const SF_UINT32 sfLoadFee
const SF_UINT32 sfReserveIncrement
Blob getSerialized() const
std::uint32_t getFlags() const
@ validation
validation for signing
NetClock::time_point getSignTime() const
bool verifyDigest(PublicKey const &publicKey, uint256 const &digest, Slice const &sig, bool mustBeFullyCanonical)
Verify a secp256k1 signature on the digest of a message.
NetClock::time_point seenTime_
NetClock::time_point getSeenTime() const
const SF_UINT64 sfBaseFee
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
uint256 getSigningHash(HashPrefix prefix) const
virtual void add(Serializer &s) const override
const SF_HASH256 sfConsensusHash
Blob const & peekData() const
uint256 getSigningHash() const
PublicKey getSignerPublic() const
constexpr std::uint32_t vfFullValidation
std::uint32_t getFieldU32(SField const &field) const
const SF_UINT32 sfSigningTime
const SF_VECTOR256 sfAmendments
uint256 getFieldH256(SField const &field) const