CatapultServer
v0.5.0.1 (Elephant)
coresystem/src/validators/Validators.h
Go to the documentation of this file.
1
21
#pragma once
22
#include "
Results.h
"
23
#include "
catapult/utils/TimeSpan.h
"
24
#include "
catapult/validators/ValidatorTypes.h
"
25
26
namespace
catapult
{
namespace
validators {
27
28
// region Address
29
32
DECLARE_STATEFUL_VALIDATOR
(Address, model::AccountAddressNotification)(
model::NetworkIdentifier
networkIdentifier);
33
34
// endregion
35
36
// region VerifiableEntity
37
40
DECLARE_STATEFUL_VALIDATOR
(NemesisSink, model::SignatureNotification)();
41
44
DECLARE_STATELESS_VALIDATOR
(Network, model::EntityNotification)(
model::NetworkIdentifier
networkIdentifier);
45
48
DECLARE_STATELESS_VALIDATOR
(EntityVersion, model::EntityNotification)();
49
50
// endregion
51
52
// region Block
53
56
DECLARE_STATEFUL_VALIDATOR
(EligibleHarvester, model::BlockNotification)();
57
60
DECLARE_STATELESS_VALIDATOR
(MaxTransactions, model::BlockNotification)(uint32_t maxTransactions);
61
62
// endregion
63
64
// region Transaction
65
69
DECLARE_STATEFUL_VALIDATOR
(Deadline, model::TransactionDeadlineNotification)(
const
utils::TimeSpan& maxTransactionLifetime);
70
73
DECLARE_STATEFUL_VALIDATOR
(BalanceTransfer,
model::BalanceTransferNotification
)();
74
77
DECLARE_STATEFUL_VALIDATOR
(BalanceDebit,
model::BalanceDebitNotification
)();
78
82
DECLARE_STATELESS_VALIDATOR
(TransactionFee, model::TransactionFeeNotification)();
83
84
// endregion
85
}}
catapult::validators::DECLARE_STATEFUL_VALIDATOR
DECLARE_STATEFUL_VALIDATOR(Address, Notification)(model
Definition:
AddressValidator.cpp:29
catapult::validators::BalanceTransferNotification
model::BalanceTransferNotification BalanceTransferNotification
Definition:
BalanceValidator.cpp:28
catapult::model::NetworkIdentifier
NetworkIdentifier
Possible network identifiers.
Definition:
NetworkInfo.h:45
TimeSpan.h
ValidatorTypes.h
Results.h
catapult::validators::DECLARE_STATELESS_VALIDATOR
DECLARE_STATELESS_VALIDATOR(MaxTransactions, Notification)(uint32_t maxTransactions)
Definition:
MaxTransactionsValidator.cpp:27
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult::validators::BalanceDebitNotification
model::BalanceDebitNotification BalanceDebitNotification
Definition:
BalanceValidator.cpp:29
catapult-server
plugins
coresystem
src
validators
Validators.h
Generated by
1.8.16