3#include <xrpl/basics/Blob.h>
4#include <xrpl/basics/CountedObject.h>
5#include <xrpl/basics/base_uint.h>
70 [[nodiscard]]
Blob const&
static constexpr std::size_t kKeyBytes
NodeObject(NodeObjectType type, Blob &&data, uint256 const &hash, PrivateAccess)
NodeObjectType getType() const
Returns the type of this object.
static std::shared_ptr< NodeObject > createObject(NodeObjectType type, Blob &&data, uint256 const &hash)
Create an object from fields.
NodeObjectType const type_
uint256 const & getHash() const
Returns the hash of the data.
Blob const & getData() const
Returns the underlying data.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
NodeObjectType
The types of node objects.
std::vector< unsigned char > Blob
Storage for linear binary data.