1#ifndef XRPL_SHAMAP_SHAMAPLEAFTXPLUSMETANODE_H_INCLUDED
2#define XRPL_SHAMAP_SHAMAPLEAFTXPLUSMETANODE_H_INCLUDED
4#include <xrpl/basics/CountedObject.h>
5#include <xrpl/protocol/HashPrefix.h>
6#include <xrpl/protocol/digest.h>
7#include <xrpl/shamap/SHAMapItem.h>
8#include <xrpl/shamap/SHAMapLeafNode.h>
19 boost::intrusive_ptr<SHAMapItem const> item,
27 boost::intrusive_ptr<SHAMapItem const> item,
37 return intr_ptr::make_shared<SHAMapTxPlusMetaLeafNode>(
57 s.addRaw(
item_->slice());
58 s.addBitString(
item_->key());
66 s.addRaw(
item_->slice());
67 s.addBitString(
item_->key());
Tracks the number of instances of an object.
boost::intrusive_ptr< SHAMapItem const > item_
A shared intrusive pointer class that supports weak pointers.
std::uint32_t cowid() const
Returns the SHAMap that owns this node.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
static constexpr unsigned char const wireTypeTransactionWithMeta
@ txNode
transaction plus metadata
sha512_half_hasher::result_type sha512Half(Args const &... args)
Returns the SHA512-Half of a series of objects.