CatapultServer  v0.5.0.1 (Elephant)
catapult::model::HashLockNotification Struct Reference

Notification of a hash lock. More...

Inheritance diagram for catapult::model::HashLockNotification:
Collaboration diagram for catapult::model::HashLockNotification:

Public Member Functions

 HashLockNotification (const Key &signer, const UnresolvedMosaic &mosaic, BlockDuration duration, const Hash256 &hash)
 Creates hash lock notification around signer, mosaic, duration and hash. 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

const Hash256Hash
 Hash. More...
 
- Public Attributes inherited from catapult::model::BaseLockNotification< HashLockNotification >
const KeySigner
 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 = LockHash_Hash_Notification
 Matching notification type. More...
 

Additional Inherited Members

- Protected Member Functions inherited from catapult::model::BaseLockNotification< HashLockNotification >
 BaseLockNotification (const Key &signer, const UnresolvedMosaic &mosaic, BlockDuration duration)
 Creates base lock notification around signer, mosaic and duration. More...
 

Detailed Description

Notification of a hash lock.

Constructor & Destructor Documentation

◆ HashLockNotification()

catapult::model::HashLockNotification::HashLockNotification ( const Key signer,
const UnresolvedMosaic mosaic,
BlockDuration  duration,
const Hash256 hash 
)
inline

Creates hash lock notification around signer, mosaic, duration and hash.

Member Data Documentation

◆ Hash

const Hash256& catapult::model::HashLockNotification::Hash

Hash.

◆ Notification_Type

constexpr auto catapult::model::HashLockNotification::Notification_Type = LockHash_Hash_Notification
staticconstexpr

Matching notification type.


The documentation for this struct was generated from the following file: