CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
25 namespace catapult {
namespace model {
30 #define DEFINE_SECRET_LOCK_NOTIFICATION(DESCRIPTION, CODE, CHANNEL) DEFINE_NOTIFICATION_TYPE(CHANNEL, LockSecret, DESCRIPTION, CODE)
47 #undef DEFINE_SECRET_LOCK_NOTIFICATION
RawBuffer Proof
Proof.
Definition: SecretLockNotifications.h:148
SecretLockHashAlgorithmNotification(LockHashAlgorithm hashAlgorithm)
Creates secret lock hash algorithm notification around hashAlgorithm.
Definition: SecretLockNotifications.h:75
ProofPublicationNotification(const Key &signer, LockHashAlgorithm hashAlgorithm, const Hash256 &secret, const UnresolvedAddress &recipient)
Creates proof publication notification around signer, hashAlgorithm, secret and recipient.
Definition: SecretLockNotifications.h:163
const Hash256 & Secret
Secret.
Definition: SecretLockNotifications.h:183
const Hash256 & Secret
Secret.
Definition: SecretLockNotifications.h:145
ProofSecretNotification(LockHashAlgorithm hashAlgorithm, const Hash256 &secret, const RawBuffer &proof)
Creates proof secret notification around hashAlgorithm, secret and proof.
Definition: SecretLockNotifications.h:133
UnresolvedAddress Recipient
Recipient of the locked mosaic.
Definition: SecretLockNotifications.h:118
static constexpr auto Notification_Type
Matching notification type.
Definition: SecretLockNotifications.h:129
Notification of a secret and its proof.
Definition: SecretLockNotifications.h:126
const Key & Signer
Signer.
Definition: SecretLockNotifications.h:177
Notification of a proof publication.
Definition: SecretLockNotifications.h:156
static constexpr auto Notification_Type
Matching notification type.
Definition: SecretLockNotifications.h:57
static constexpr auto Notification_Type
Matching notification type.
Definition: SecretLockNotifications.h:93
UnresolvedAddress Recipient
Recipient of the locked mosaic.
Definition: SecretLockNotifications.h:186
Notification of a secret lock hash algorithm.
Definition: SecretLockNotifications.h:68
Base for lock duration notification.
Definition: LockNotifications.h:31
Notification of a secret lock duration.
Definition: SecretLockNotifications.h:54
LockHashAlgorithm HashAlgorithm
Hash algorithm.
Definition: SecretLockNotifications.h:112
static constexpr auto Notification_Type
Matching notification type.
Definition: SecretLockNotifications.h:159
DEFINE_SECRET_LOCK_NOTIFICATION(Secret_Duration, 0x0001, Validator)
Secret lock duration.
A basic notification.
Definition: Notifications.h:36
LockHashAlgorithm HashAlgorithm
Hash algorithm.
Definition: SecretLockNotifications.h:142
Definition: AddressExtractionExtension.cpp:28
Notification of a secret lock.
Definition: SecretLockNotifications.h:90
LockHashAlgorithm HashAlgorithm
Hash algorithm.
Definition: SecretLockNotifications.h:82
SecretLockNotification(const Key &signer, const UnresolvedMosaic &mosaic, BlockDuration duration, LockHashAlgorithm hashAlgorithm, const Hash256 &secret, const UnresolvedAddress &recipient)
Creates secret lock notification around signer, mosaic, duration, hashAlgorithm, secret and recipient...
Definition: SecretLockNotifications.h:97
const Hash256 & Secret
Secret.
Definition: SecretLockNotifications.h:115
Base for lock transaction notification.
Definition: LockNotifications.h:50
LockHashAlgorithm
Lock secret hash algorithm.
Definition: LockHashAlgorithm.h:27
LockHashAlgorithm HashAlgorithm
Hash algorithm.
Definition: SecretLockNotifications.h:180
BasicRawBuffer< const uint8_t > RawBuffer
A const binary buffer.
Definition: RawBuffer.h:62
static constexpr auto Notification_Type
Matching notification type.
Definition: SecretLockNotifications.h:71