CatapultServer  v0.5.0.1 (Elephant)
plugins/coresystem/src/validators/Results.h File Reference
Include dependency graph for plugins/coresystem/src/validators/Results.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::validators
 

Macros

#define DEFINE_CORE_RESULT(DESCRIPTION, CODE)   DEFINE_VALIDATION_RESULT(Failure, Core, DESCRIPTION, CODE, None)
 Defines a core validation result with DESCRIPTION and CODE. More...
 

Functions

 catapult::validators::DEFINE_CORE_RESULT (Past_Deadline, 1)
 Validation failed because the deadline passed. More...
 
 catapult::validators::DEFINE_CORE_RESULT (Future_Deadline, 2)
 Validation failed because the deadline is too far in the future. More...
 
 catapult::validators::DEFINE_CORE_RESULT (Insufficient_Balance, 3)
 Validation failed because the account has an insufficient balance. More...
 
 catapult::validators::DEFINE_CORE_RESULT (Too_Many_Transactions, 4)
 Validation failed because there are too many transactions in a block. More...
 
 catapult::validators::DEFINE_CORE_RESULT (Nemesis_Account_Signed_After_Nemesis_Block, 5)
 Validation failed because an entity originated from the nemesis account after the nemesis block. More...
 
 catapult::validators::DEFINE_CORE_RESULT (Wrong_Network, 6)
 Validation failed because the entity has the wrong network specified. More...
 
 catapult::validators::DEFINE_CORE_RESULT (Invalid_Address, 7)
 Validation failed because an address is invalid. More...
 
 catapult::validators::DEFINE_CORE_RESULT (Invalid_Version, 8)
 Validation failed because entity version is invalid. More...
 
 catapult::validators::DEFINE_CORE_RESULT (Invalid_Transaction_Fee, 9)
 Validation failed because a transaction fee is invalid. More...
 
 catapult::validators::DEFINE_CORE_RESULT (Block_Harvester_Ineligible, 10)
 Validation failed because a block was harvested by an ineligible harvester. More...
 

Macro Definition Documentation

◆ DEFINE_CORE_RESULT

#define DEFINE_CORE_RESULT (   DESCRIPTION,
  CODE 
)    DEFINE_VALIDATION_RESULT(Failure, Core, DESCRIPTION, CODE, None)

Defines a core validation result with DESCRIPTION and CODE.