rippled
Loading...
Searching...
No Matches
nftPageMask.h
1#pragma once
2
3#include <xrpl/basics/base_uint.h>
4
5#include <string_view>
6
7namespace xrpl {
8namespace nft {
9
10// NFT directory pages order their contents based only on the low 96 bits of
11// the NFToken value. This mask provides easy access to the necessary mask.
12uint256 constexpr pageMask(std::string_view("0000000000000000000000000000000000000000ffffffffffffffffffffffff"));
13
14} // namespace nft
15} // namespace xrpl
uint256 constexpr pageMask(std::string_view("0000000000000000000000000000000000000000ffffffffffffffffffffffff"))
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5