20 #ifndef RIPPLE_PROTOCOL_PROTOCOL_H_INCLUDED
21 #define RIPPLE_PROTOCOL_PROTOCOL_H_INCLUDED
23 #include <ripple/basics/ByteUtilities.h>
24 #include <ripple/basics/base_uint.h>
constexpr std::uint16_t maxTransferFee
The maximum token transfer fee allowed.
constexpr std::size_t maxDeletableTokenOfferEntries
The maximum number of offers in an offer directory for NFT to be burnable.
constexpr std::size_t txMinSizeBytes
Protocol specific constants.
constexpr std::size_t expiredOfferRemoveLimit
The maximum number of expired offers to delete at once.
constexpr std::uint64_t dirNodeMaxPages
The maximum number of pages allowed in a directory.
constexpr std::size_t dirMaxTokensPerPage
The maximum number of items in an NFT page.
constexpr std::size_t unfundedOfferRemoveLimit
The maximum number of unfunded offers to delete at once.
constexpr std::size_t maxDeletableDirEntries
The maximum number of owner directory entries for account to be deletable.
constexpr auto megabytes(T value) noexcept
constexpr std::size_t maxTokenOfferCancelCount
The maximum number of token offers that can be canceled at once.
constexpr std::size_t txMaxSizeBytes
Largest legal byte size of a transaction.
constexpr std::size_t maxTokenURILength
The maximum length of a URI inside an NFT.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
constexpr std::size_t oversizeMetaDataCap
The maximum number of metadata entries allowed in one transaction.
constexpr std::size_t dirNodeMaxEntries
The maximum number of entries per directory page.
constexpr std::size_t maxDomainLength
The maximum length of a domain.