CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
24 #include <unordered_set>
26 namespace catapult {
namespace utils {
43 return reinterpret_cast<const ShortHash&>(hash[0]);
ShortHash ToShortHash(const Hash256 &hash)
Gets the short hash corresponding to hash.
Definition: ShortHash.h:42
Definition: ShortHash.h:28
size_t operator()(const ShortHash &shortHash) const
Definition: ShortHash.h:33
constexpr ValueType unwrap() const
Unwraps this value and returns the underlying raw value.
Definition: BaseValue.h:53
Definition: ShortHash.h:32
Immutable wrapper for basic types, to provide some type-safety.
Definition: BaseValue.h:100
std::unordered_set< ShortHash, ShortHashHasher > ShortHashesSet
Definition: ShortHash.h:39
Definition: AddressExtractionExtension.cpp:28
Base class for wrappers of byte array types, to provide some type-safety.
Definition: ByteArray.h:29