CatapultServer  v0.5.0.1 (Elephant)
plugins/txes/aggregate/src/validators/Results.h
Go to the documentation of this file.
1 
21 #pragma once
22 #ifndef CUSTOM_RESULT_DEFINITION
24 
25 namespace catapult { namespace validators {
26 
27 #endif
28 #define DEFINE_AGGREGATE_RESULT(DESCRIPTION, CODE) DEFINE_VALIDATION_RESULT(Failure, Aggregate, DESCRIPTION, CODE, None)
30 
32  DEFINE_AGGREGATE_RESULT(Too_Many_Transactions, 1);
33 
35  DEFINE_AGGREGATE_RESULT(No_Transactions, 2);
36 
38  DEFINE_AGGREGATE_RESULT(Too_Many_Cosignatures, 3);
39 
41  DEFINE_AGGREGATE_RESULT(Redundant_Cosignatures, 4);
42 
44  DEFINE_AGGREGATE_RESULT(Ineligible_Cosigners, 5);
45 
47  DEFINE_AGGREGATE_RESULT(Missing_Cosigners, 6);
48 
49 #ifndef CUSTOM_RESULT_DEFINITION
50 }}
51 #endif
catapult::validators::DEFINE_AGGREGATE_RESULT
DEFINE_AGGREGATE_RESULT(Too_Many_Transactions, 1)
Validation failed because aggregate has too many transactions.
ValidationResult.h
catapult
Definition: AddressExtractionExtension.cpp:28