CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
29 struct NemesisConfiguration;
30 struct NemesisExecutionHashesDescriptor;
35 namespace catapult {
namespace tools {
namespace nemgen {
42 const NemesisConfiguration& config,
44 NemesisExecutionHashesDescriptor& executionHashesDescriptor);
#define CATAPULT_LOG(SEV)
Writes a log entry to the default logger with SEV severity.
Definition: Logging.h:340
Builder for a mosaic alias transaction.
Definition: MosaicAliasBuilder.h:28
std::unique_ptr< Block > CreateBlock(const PreviousBlockContext &context, NetworkIdentifier networkIdentifier, const Key &signerPublicKey, const Transactions &transactions)
Definition: BlockUtils.cpp:138
utils::ByteArray< Hash256_Size, Hash256_tag > Hash256
Definition: src/catapult/types.h:47
constexpr void HexFormat(const ByteArray< N, TTag > &)
def debug(*args)
Definition: Parser.py:46
A catapult namespace.
Definition: Namespace.h:30
model::Transactions m_transactions
Definition: BlockGenerator.cpp:168
Context passed when creating new block.
Definition: BlockUtils.h:74
void signFullBlock(const crypto::KeyPair &signer, model::Block &block) const
Cryptographically signs a full block with signer.
Definition: BlockExtensions.cpp:68
Builder for a mosaic definition transaction.
Definition: MosaicDefinitionBuilder.h:29
utils::BaseValue< uint64_t, BlockDuration_tag > BlockDuration
Definition: src/catapult/types.h:88
utils::BaseValue< uint64_t, UnresolvedMosaicId_tag > UnresolvedMosaicId
Definition: src/catapult/types.h:82
std::vector< std::shared_ptr< const Transaction > > Transactions
Container of transactions.
Definition: BlockUtils.h:71
model::NetworkIdentifier m_networkIdentifier
Definition: BlockGenerator.cpp:165
BlockDuration duration() const
Gets mosaic duration.
Definition: MosaicProperties.h:103
constexpr BlockDuration Eternal_Artifact_Duration(0)
Duration of eternal artifact.
bool is(MosaicFlags testedFlag) const
Returns true if mosaic flags contain testedFlag.
Definition: MosaicProperties.h:93
MosaicFlags
Mosaic property flags.
Definition: MosaicProperty.h:50
const crypto::KeyPair & m_signer
Definition: BlockGenerator.cpp:167
const GenerationHash & m_generationHash
Definition: BlockGenerator.cpp:166
Builder for a register namespace transaction.
Definition: RegisterNamespaceBuilder.h:28
void setRecipient(const UnresolvedAddress &recipient)
Sets the transaction recipient to recipient.
Definition: TransferBuilder.cpp:32
Extensions for working with transactions.
Definition: TransactionExtensions.h:27
Represents a pair of private key with associated public key.
Definition: KeyPair.h:33
Mosaic supply is mutable.
model::BlockElement convertBlockToBlockElement(const model::Block &block, const GenerationHash &generationHash) const
Definition: BlockExtensions.cpp:97
void setMosaicNonce(MosaicNonce mosaicNonce)
Sets the mosaic nonce to mosaicNonce.
Definition: MosaicDefinitionBuilder.cpp:35
Hash256 CalculateHash(LockHashAlgorithm hashAlgorithm, const RawBuffer &data)
Calculates hashAlgorithm hash of data.
Definition: LockHashUtils.cpp:46
utils::BaseValue< uint32_t, MosaicNonce_tag > MosaicNonce
Definition: plugins/txes/mosaic/src/types.h:28
Builder for a transfer transaction.
Definition: TransferBuilder.h:29
NetworkIdentifier
Possible network identifiers.
Definition: NetworkInfo.h:45
Processing element for a block composed of a block and metadata.
Definition: Elements.h:55
UnresolvedAddress CopyToUnresolvedAddress(const Address &address)
Copies address to an unresolved address.
Definition: ConversionExtensions.cpp:43
Binary layout for a block.
Definition: Block.h:69
Address StringToAddress(const std::string &str)
Creates an address from an encoded address (encoded).
Definition: Address.cpp:31
Extensions for working with blocks.
Definition: BlockExtensions.h:44
utils::BaseValue< uint64_t, Timestamp_tag > Timestamp
Definition: src/catapult/types.h:73
void setName(const RawBuffer &name)
Sets the namespace name to name.
Definition: RegisterNamespaceBuilder.cpp:45
Definition: AddressExtractionExtension.cpp:28
utils::ByteArray< Hash256_Size, GenerationHash_tag > GenerationHash
Definition: src/catapult/types.h:53
Builder for a mosaic supply change transaction.
Definition: MosaicSupplyChangeBuilder.h:28
void sign(const crypto::KeyPair &signer, model::Transaction &transaction) const
Signs the transaction using signer private key.
Definition: TransactionExtensions.cpp:39
uint8_t divisibility() const
Gets mosaic divisibility.
Definition: MosaicProperties.h:98
static auto FromString(const std::string &privateKey)
Creates a key pair from privateKey.
Definition: KeyPair.h:46
void setNamespaceId(NamespaceId namespaceId)
Sets the id of a namespace that will become an alias to namespaceId.
Definition: MosaicAliasBuilder.cpp:36
Container for mosaic properties.
Definition: MosaicProperties.h:46
void setMosaicId(UnresolvedMosaicId mosaicId)
Sets the id of the affected mosaic to mosaicId.
Definition: MosaicSupplyChangeBuilder.cpp:32
NamespacePath GenerateNamespacePath(const RawString &name)
Parses a unified namespace name into a path.
Definition: IdGenerator.cpp:75