20#ifndef RIPPLE_NODESTORE_NODEOBJECT_H_INCLUDED 
   21#define RIPPLE_NODESTORE_NODEOBJECT_H_INCLUDED 
   23#include <xrpl/basics/Blob.h> 
   24#include <xrpl/basics/CountedObject.h> 
   25#include <xrpl/basics/base_uint.h> 
Tracks the number of instances of an object.
 
A simple object that the Ledger uses to store entries.
 
static constexpr std::size_t keyBytes
 
uint256 const & getHash() const
Returns the hash of the data.
 
NodeObjectType const mType
 
static std::shared_ptr< NodeObject > createObject(NodeObjectType type, Blob &&data, uint256 const &hash)
Create an object from fields.
 
Blob const & getData() const
Returns the underlying data.
 
NodeObjectType getType() const
Returns the type of this object.
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
NodeObjectType
The types of node objects.