CatapultServer
v0.5.0.1 (Elephant)
txes/lock_secret/src/validators/Validators.h
Go to the documentation of this file.
1
21
#pragma once
22
#include "
Results.h
"
23
#include "
src/model/SecretLockNotifications.h
"
24
#include "
catapult/validators/ValidatorTypes.h
"
25
26
namespace
catapult
{
namespace
validators {
27
30
DECLARE_STATELESS_VALIDATOR
(SecretLockDuration, model::SecretLockDurationNotification)(
BlockDuration
maxSecretLockDuration);
31
34
DECLARE_STATELESS_VALIDATOR
(SecretLockHashAlgorithm, model::SecretLockHashAlgorithmNotification)();
35
38
DECLARE_STATEFUL_VALIDATOR
(SecretLockCacheUnique, model::SecretLockNotification)();
39
44
DECLARE_STATELESS_VALIDATOR
(ProofSecret, model::ProofSecretNotification)(uint16_t minProofSize, uint16_t
maxProofSize
);
45
48
DECLARE_STATEFUL_VALIDATOR
(Proof, model::ProofPublicationNotification)();
49
}}
Results.h
catapult::BlockDuration
utils::BaseValue< uint64_t, BlockDuration_tag > BlockDuration
Definition:
src/catapult/types.h:88
catapult::validators::DECLARE_STATEFUL_VALIDATOR
DECLARE_STATEFUL_VALIDATOR(Address, Notification)(model
Definition:
AddressValidator.cpp:29
catapult::validators::maxProofSize
uint16_t maxProofSize
Definition:
ProofSecretValidator.cpp:38
SecretLockNotifications.h
ValidatorTypes.h
catapult::validators::DECLARE_STATELESS_VALIDATOR
DECLARE_STATELESS_VALIDATOR(MaxTransactions, Notification)(uint32_t maxTransactions)
Definition:
MaxTransactionsValidator.cpp:27
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult-server
plugins
txes
lock_secret
src
validators
Validators.h
Generated by
1.8.16