3#include <xrpl/basics/CountedObject.h>
4#include <xrpl/protocol/HashPrefix.h>
5#include <xrpl/protocol/digest.h>
6#include <xrpl/shamap/SHAMapItem.h>
7#include <xrpl/shamap/SHAMapLeafNode.h>
29 return intr_ptr::make_shared<SHAMapTxPlusMetaLeafNode>(
item_,
cowid,
hash_);
47 s.addRaw(
item_->slice());
48 s.addBitString(
item_->key());
56 s.addRaw(
item_->slice());
57 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.
sha512_half_hasher::result_type sha512Half(Args const &... args)
Returns the SHA512-Half of a series of objects.
@ txNode
transaction plus metadata
static constexpr unsigned char const wireTypeTransactionWithMeta