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

Notification of a secret and its proof. More...

Inheritance diagram for catapult::model::ProofSecretNotification:
Collaboration diagram for catapult::model::ProofSecretNotification:

Public Member Functions

 ProofSecretNotification (LockHashAlgorithm hashAlgorithm, const Hash256 &secret, const RawBuffer &proof)
 Creates proof secret notification around hashAlgorithm, secret and proof. 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 Hash256Secret
 Secret. More...
 
RawBuffer Proof
 Proof. 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_Proof_Secret_Notification
 Matching notification type. More...
 

Detailed Description

Notification of a secret and its proof.

Constructor & Destructor Documentation

◆ ProofSecretNotification()

catapult::model::ProofSecretNotification::ProofSecretNotification ( LockHashAlgorithm  hashAlgorithm,
const Hash256 secret,
const RawBuffer &  proof 
)
inline

Creates proof secret notification around hashAlgorithm, secret and proof.

Member Data Documentation

◆ HashAlgorithm

LockHashAlgorithm catapult::model::ProofSecretNotification::HashAlgorithm

Hash algorithm.

◆ Notification_Type

constexpr auto catapult::model::ProofSecretNotification::Notification_Type = LockSecret_Proof_Secret_Notification
staticconstexpr

Matching notification type.

◆ Proof

RawBuffer catapult::model::ProofSecretNotification::Proof

Proof.

◆ Secret

const Hash256& catapult::model::ProofSecretNotification::Secret

Secret.


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