CatapultServer
v0.5.0.1 (Elephant)
|
Notification of a secret lock. More...
Public Member Functions | |
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. More... | |
Public Member Functions inherited from catapult::model::Notification | |
Notification (NotificationType type, size_t size) | |
Creates a new notification with type and size. More... | |
Public Attributes | |
LockHashAlgorithm | HashAlgorithm |
Hash algorithm. More... | |
const Hash256 & | Secret |
Secret. More... | |
UnresolvedAddress | Recipient |
Recipient of the locked mosaic. More... | |
Public Attributes inherited from catapult::model::BaseLockNotification< SecretLockNotification > | |
const Key & | Signer |
Signer. More... | |
UnresolvedMosaic | Mosaic |
Locked mosaic. More... | |
BlockDuration | Duration |
Lock duration. More... | |
Public Attributes inherited from catapult::model::Notification | |
NotificationType | Type |
Notification type. More... | |
size_t | Size |
Notification size. More... | |
Static Public Attributes | |
static constexpr auto | Notification_Type = LockSecret_Secret_Notification |
Matching notification type. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from catapult::model::BaseLockNotification< SecretLockNotification > | |
BaseLockNotification (const Key &signer, const UnresolvedMosaic &mosaic, BlockDuration duration) | |
Creates base lock notification around signer, mosaic and duration. More... | |
Notification of a secret lock.
|
inline |
Creates secret lock notification around signer, mosaic, duration, hashAlgorithm, secret and recipient.
LockHashAlgorithm catapult::model::SecretLockNotification::HashAlgorithm |
Hash algorithm.
|
staticconstexpr |
Matching notification type.
UnresolvedAddress catapult::model::SecretLockNotification::Recipient |
Recipient of the locked mosaic.
const Hash256& catapult::model::SecretLockNotification::Secret |
Secret.