CatapultServer  v0.5.0.1 (Elephant)
MosaicIdGenerator.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include "MosaicConstants.h"
23 
24 namespace catapult { namespace model {
25 
27  MosaicId GenerateMosaicId(const Key& owner, MosaicNonce nonce) noexcept;
28 }}
catapult::model::GenerateMosaicId
MosaicId GenerateMosaicId(const Key &owner, MosaicNonce nonce) noexcept
Generates a mosaic id given owner and nonce.
Definition: MosaicIdGenerator.cpp:26
catapult::crypto::KeccakBuilder
Builder for building a hash.
Definition: Hashes.h:61
catapult::MosaicId
utils::BaseValue< uint64_t, MosaicId_tag > MosaicId
Definition: src/catapult/types.h:79
catapult::utils::BaseValue< uint64_t, MosaicId_tag >
catapult::crypto::KeccakBuilder::final
void final(OutputType &output) noexcept
Finalize hash calculation. Returns result in output.
Definition: Hashes.cpp:145
Hashes.h
catapult::crypto::KeccakBuilder::update
void update(const RawBuffer &dataBuffer) noexcept
Updates the state of hash with data inside dataBuffer.
Definition: Hashes.cpp:134
catapult::MosaicNonce
utils::BaseValue< uint32_t, MosaicNonce_tag > MosaicNonce
Definition: plugins/txes/mosaic/src/types.h:28
MosaicIdGenerator.h
catapult
Definition: AddressExtractionExtension.cpp:28
MosaicConstants.h
catapult::utils::ByteArray
Base class for wrappers of byte array types, to provide some type-safety.
Definition: ByteArray.h:29
catapult::Key
utils::ByteArray< Key_Size, Key_tag > Key
Definition: src/catapult/types.h:41