CatapultServer
v0.5.0.1 (Elephant)
|
MosaicPropertyId
Available mosaic property ids.
Definition: MosaicProperty.h:28
utils::BaseValue< uint64_t, BlockDuration_tag > BlockDuration
Definition: src/catapult/types.h:88
ValidationResult
Enumeration of all possible validation results.
Definition: ValidationResult.h:51
model::AccountAddressNotification Notification
Definition: AddressValidator.cpp:27
constexpr size_t First_Optional_Property
Index of first optional property.
Definition: MosaicProperty.h:84
#define MAKE_BITWISE_ENUM(ENUM_TYPE)
Defines bitwise helpers for ENUM_TYPE.
Definition: BitwiseEnum.h:25
constexpr std::underlying_type_t< TEnum > to_underlying_type(TEnum value)
Converts a strongly typed enumeration value to its underlying integral value.
Definition: Casting.h:37
constexpr BlockDuration Eternal_Artifact_Duration(0)
Duration of eternal artifact.
MosaicFlags
Mosaic property flags.
Definition: MosaicProperty.h:50
Mosaic property composed of an id and a value.
Definition: MosaicProperty.h:69
BlockDuration maxMosaicDuration
Definition: MosaicPropertiesValidator.cpp:52
for(const auto &name :reservedRootNamespaceNames) reservedRootIds.emplace(model return MAKE_STATELESS_VALIDATOR(NamespaceName,([maxNameSize, reservedRootIds](const auto ¬ification) { if(maxNameSize< notification.NameSize||!model::IsValidName(notification.NamePtr, notification.NameSize)) return Failure_Namespace_Invalid_Name;auto name=utils::RawString(reinterpret_cast< const char * >(notification.NamePtr), notification.NameSize);if(notification.NamespaceId !=model::GenerateNamespaceId(notification.ParentId, name)) return Failure_Namespace_Name_Id_Mismatch;auto namespaceId=Namespace_Base_Id==notification.ParentId ? notification.NamespaceId :notification.ParentId;if(reservedRootIds.cend() !=reservedRootIds.find(namespaceId)) return Failure_Namespace_Root_Name_Reserved;return ValidationResult::Success;}))
Definition: NamespaceNameValidator.cpp:36
constexpr size_t Num_Mosaic_Properties
Number of available properties.
Definition: MosaicProperty.h:81
Mosaic supply is mutable.
DECLARE_STATELESS_VALIDATOR(MaxTransactions, Notification)(uint32_t maxTransactions)
Definition: MaxTransactionsValidator.cpp:27
Definition: AddressExtractionExtension.cpp:28
uint64_t Value
Mosaic property value.
Definition: MosaicProperty.h:75
Notification of use of an account address.
Definition: Notifications.h:57
MosaicPropertyId Id
Mosaic property id.
Definition: MosaicProperty.h:72