CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace catapult {
namespace cache {
38 return treeNode.
hash();
53 return element.second;
TreeNode copy() const
Creates a copy of this node.
Definition: TreeNode.cpp:234
Serializer for patricia tree.
Definition: PatriciaTreeSerializer.h:27
static const auto & ToValue(const StorageType &element)
Converts a storage type (element) to a value type.
Definition: PatriciaTreeContainer.h:52
Patricia tree column descriptor.
Definition: PatriciaTreeContainer.h:29
utils::ByteArray< Hash256_Size, Hash256_tag > Hash256
Definition: src/catapult/types.h:47
static const auto & GetKeyFromValue(const ValueType &treeNode)
Gets the key corresponding to treeNode.
Definition: PatriciaTreeContainer.h:37
const Hash256 & hash() const
Gets the hash representation of this node.
Definition: TreeNode.cpp:202
static auto ToStorage(const ValueType &treeNode)
Converts a value type (treeNode) to a storage type.
Definition: PatriciaTreeContainer.h:42
std::pair< const KeyType, ValueType > StorageType
Definition: PatriciaTreeContainer.h:33
static const auto & ToKey(const StorageType &element)
Converts a storage type (element) to a key type.
Definition: PatriciaTreeContainer.h:47
Definition: AddressExtractionExtension.cpp:28
Represents a tree node.
Definition: TreeNode.h:124