CatapultServer
v0.5.0.1 (Elephant)
plugins/txes/multisig/src/validators/Results.h
Go to the documentation of this file.
1
21
#pragma once
22
#ifndef CUSTOM_RESULT_DEFINITION
23
#include "
plugins/txes/aggregate/src/validators/Results.h
"
24
#include "
catapult/validators/ValidationResult.h
"
25
26
namespace
catapult
{
namespace
validators {
27
28
#endif
29
#define DEFINE_MULTISIG_RESULT(DESCRIPTION, CODE) DEFINE_VALIDATION_RESULT(Failure, Multisig, DESCRIPTION, CODE, None)
31
33
DEFINE_MULTISIG_RESULT
(Modify_Account_In_Both_Sets, 1);
34
36
DEFINE_MULTISIG_RESULT
(Modify_Multiple_Deletes, 2);
37
39
DEFINE_MULTISIG_RESULT
(Modify_Redundant_Modifications, 3);
40
42
DEFINE_MULTISIG_RESULT
(Modify_Unknown_Multisig_Account, 4);
43
45
DEFINE_MULTISIG_RESULT
(Modify_Not_A_Cosigner, 5);
46
48
DEFINE_MULTISIG_RESULT
(Modify_Already_A_Cosigner, 6);
49
51
DEFINE_MULTISIG_RESULT
(Modify_Min_Setting_Out_Of_Range, 7);
52
54
DEFINE_MULTISIG_RESULT
(Modify_Min_Setting_Larger_Than_Num_Cosignatories, 8);
55
57
DEFINE_MULTISIG_RESULT
(Modify_Unsupported_Modification_Type, 9);
58
60
DEFINE_MULTISIG_RESULT
(Modify_Max_Cosigned_Accounts, 10);
61
63
DEFINE_MULTISIG_RESULT
(Modify_Max_Cosigners, 11);
64
66
DEFINE_MULTISIG_RESULT
(Modify_Loop, 12);
67
69
DEFINE_MULTISIG_RESULT
(Modify_Max_Multisig_Depth, 13);
70
72
DEFINE_MULTISIG_RESULT
(Operation_Not_Permitted_By_Account, 14);
73
74
#ifndef CUSTOM_RESULT_DEFINITION
75
}}
76
#endif
catapult::validators::DEFINE_MULTISIG_RESULT
DEFINE_MULTISIG_RESULT(Modify_Account_In_Both_Sets, 1)
Validation failed because account is specified to be both added and removed.
ValidationResult.h
catapult
Definition:
AddressExtractionExtension.cpp:28
Results.h
catapult-server
plugins
txes
multisig
src
validators
Results.h
Generated by
1.8.16