CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace catapult {
namespace model {
31 #define DEFINE_AGGREGATE_NOTIFICATION(DESCRIPTION, CODE, CHANNEL) DEFINE_NOTIFICATION_TYPE(CHANNEL, Aggregate, DESCRIPTION, CODE)
39 #undef DEFINE_AGGREGATE_NOTIFICATION
46 template<
typename TDerivedNotification>
51 :
Notification(TDerivedNotification::Notification_Type, sizeof(TDerivedNotification))
83 size_t cosignaturesCount,
109 size_t transactionsCount,
111 size_t cosignaturesCount,
AggregateEmbeddedTransactionNotification(const Key &signer, const EmbeddedTransaction &transaction, size_t cosignaturesCount, const Cosignature *pCosignatures)
Creates a notification around signer, transaction, cosignaturesCount and pCosignatures.
Definition: AggregateNotifications.h:80
Definition: AggregateNotifications.h:100
A cosignature.
Definition: Cosignature.h:29
size_t CosignaturesCount
Number of cosignatures.
Definition: AggregateNotifications.h:62
static constexpr auto Notification_Type
Matching notification type.
Definition: AggregateNotifications.h:103
DEFINE_AGGREGATE_NOTIFICATION(Cosignatures, 0x001, Validator)
Aggregate was received with cosignatures.
const EmbeddedTransaction * TransactionsPtr
Const pointer to the first transaction.
Definition: AggregateNotifications.h:123
const Cosignature * CosignaturesPtr
Const pointer to the first cosignature.
Definition: AggregateNotifications.h:65
A basic aggregate notification.
Definition: AggregateNotifications.h:47
BasicAggregateNotification(const Key &signer, size_t cosignaturesCount, const Cosignature *pCosignatures)
Creates a notification around signer, cosignaturesCount and pCosignatures.
Definition: AggregateNotifications.h:50
const Key & Signer
Aggregate signer.
Definition: AggregateNotifications.h:59
Notification of an embedded aggregate transaction with cosignatures.
Definition: AggregateNotifications.h:73
const EmbeddedTransaction & Transaction
Embedded transaction.
Definition: AggregateNotifications.h:91
size_t TransactionsCount
Number of transactions.
Definition: AggregateNotifications.h:120
static constexpr auto Notification_Type
Matching notification type.
Definition: AggregateNotifications.h:76
Binary layout for an embedded transaction (non-verifiable).
Definition: EmbeddedTransaction.h:38
A basic notification.
Definition: Notifications.h:36
AggregateCosignaturesNotification(const Key &signer, size_t transactionsCount, const EmbeddedTransaction *pTransactions, size_t cosignaturesCount, const Cosignature *pCosignatures)
Creates a notification around signer, transactionsCount, pTransactions, cosignaturesCount and pCosign...
Definition: AggregateNotifications.h:107
Definition: AddressExtractionExtension.cpp:28
Binary layout for a transaction.
Definition: Transaction.h:32