CatapultServer
v0.5.0.1 (Elephant)
plugins/txes/lock_hash/src/validators/Results.h
Go to the documentation of this file.
1
21
#pragma once
22
#ifndef CUSTOM_RESULT_DEFINITION
23
#include "
catapult/validators/ValidationResult.h
"
24
25
namespace
catapult
{
namespace
validators {
26
27
#endif
28
30
#define DEFINE_HASH_LOCK_RESULT(DESCRIPTION, CODE) DEFINE_VALIDATION_RESULT(Failure, LockHash, DESCRIPTION, CODE, None)
31
33
DEFINE_HASH_LOCK_RESULT
(Invalid_Mosaic_Id, 1);
34
36
DEFINE_HASH_LOCK_RESULT
(Invalid_Mosaic_Amount, 2);
37
39
DEFINE_HASH_LOCK_RESULT
(Hash_Exists, 3);
40
42
DEFINE_HASH_LOCK_RESULT
(Hash_Does_Not_Exist, 4);
43
45
DEFINE_HASH_LOCK_RESULT
(Inactive_Hash, 5);
46
48
DEFINE_HASH_LOCK_RESULT
(Invalid_Duration, 6);
49
50
#ifndef CUSTOM_RESULT_DEFINITION
51
}}
52
#endif
catapult::validators::DEFINE_HASH_LOCK_RESULT
DEFINE_HASH_LOCK_RESULT(Invalid_Mosaic_Id, 1)
Validation failed because lock does not allow the specified mosaic.
ValidationResult.h
catapult
Definition:
AddressExtractionExtension.cpp:28
catapult-server
plugins
txes
lock_hash
src
validators
Results.h
Generated by
1.8.16