CatapultServer
v0.5.0.1 (Elephant)
|
Notifies the arrival of a block. More...
Public Member Functions | |
BlockNotification (const Key &signer, const Key &beneficiary, Timestamp timestamp, Difficulty difficulty) | |
Creates a block notification around signer, beneficiary, timestamp and difficulty. 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 Key & | Signer |
Block signer. More... | |
const Key & | Beneficiary |
Beneficiary. More... | |
catapult::Timestamp | Timestamp |
Block timestamp. More... | |
catapult::Difficulty | Difficulty |
Block difficulty. More... | |
Amount | TotalFee |
Total block fee. More... | |
uint32_t | NumTransactions |
Number of block transactions. 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 = Core_Block_Notification |
Matching notification type. More... | |
Notifies the arrival of a block.
|
inline |
Creates a block notification around signer, beneficiary, timestamp and difficulty.
const Key& catapult::model::BlockNotification::Beneficiary |
Beneficiary.
catapult::Difficulty catapult::model::BlockNotification::Difficulty |
Block difficulty.
|
staticconstexpr |
Matching notification type.
uint32_t catapult::model::BlockNotification::NumTransactions |
Number of block transactions.
catapult::Timestamp catapult::model::BlockNotification::Timestamp |
Block timestamp.
Amount catapult::model::BlockNotification::TotalFee |
Total block fee.