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>
37 return emplace(n, buf, std::move(*
this));
const SF_AMOUNT sfBaseFeeDrops
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
const SF_UINT32 sfLedgerSequence
const SF_VL sfSigningPubKey
uint256 getLedgerHash() const
STBase * copy(std::size_t n, void *buf) const override
const SF_UINT32 sfCloseTime
Blob getFieldVL(SField const &field) const
static SOTemplate const & validationFormat()
Blob getSignature() const
constexpr std::uint32_t vfFullyCanonicalSig
std::optional< KeyType > publicKeyType(Slice const &slice)
Returns the type of public key.
const SF_UINT256 sfValidatedHash
Defines the fields and their attributes within a STObject.
PublicKey const & getSignerPublic() const noexcept
const SF_UINT64 sfServerVersion
const SF_UINT32 sfLoadFee
static STBase * emplace(std::size_t n, void *buf, T &&val)
std::optional< bool > valid_
const SF_UINT32 sfReserveIncrement
Blob getSerialized() const
STBase * move(std::size_t n, void *buf) override
const SF_UINT256 sfLedgerHash
bool isFull() const noexcept
std::uint32_t getFlags() const
@ validation
validation for signing
NetClock::time_point getSignTime() const
const SF_AMOUNT sfReserveIncrementDrops
const SF_AMOUNT sfReserveBaseDrops
NetClock::time_point seenTime_
bool isValid() const noexcept
const SF_UINT64 sfBaseFee
void add(Serializer &s) const override
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
uint256 getSigningHash(HashPrefix prefix) const
A type which can be exported to a well known binary format.
bool verifyDigest(PublicKey const &publicKey, uint256 const &digest, Slice const &sig, bool mustBeFullyCanonical) noexcept
Verify a secp256k1 signature on the digest of a message.
Blob const & peekData() const
const SF_UINT256 sfConsensusHash
NetClock::time_point getSeenTime() const noexcept
uint256 getSigningHash() 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