CatapultServer  v0.5.0.1 (Elephant)
plugins/txes/lock_hash/src/validators/Results.h File Reference
Include dependency graph for plugins/txes/lock_hash/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_HASH_LOCK_RESULT(DESCRIPTION, CODE)   DEFINE_VALIDATION_RESULT(Failure, LockHash, DESCRIPTION, CODE, None)
 Defines a hash lock validation result with DESCRIPTION and CODE. More...
 

Functions

 catapult::validators::DEFINE_HASH_LOCK_RESULT (Invalid_Mosaic_Id, 1)
 Validation failed because lock does not allow the specified mosaic. More...
 
 catapult::validators::DEFINE_HASH_LOCK_RESULT (Invalid_Mosaic_Amount, 2)
 Validation failed because lock does not allow the specified amount. More...
 
 catapult::validators::DEFINE_HASH_LOCK_RESULT (Hash_Exists, 3)
 Validation failed because hash is already present in cache. More...
 
 catapult::validators::DEFINE_HASH_LOCK_RESULT (Hash_Does_Not_Exist, 4)
 Validation failed because hash is not present in cache. More...
 
 catapult::validators::DEFINE_HASH_LOCK_RESULT (Inactive_Hash, 5)
 Validation failed because hash is inactive. More...
 
 catapult::validators::DEFINE_HASH_LOCK_RESULT (Invalid_Duration, 6)
 Validation failed because duration is too long. More...
 

Macro Definition Documentation

◆ DEFINE_HASH_LOCK_RESULT

#define DEFINE_HASH_LOCK_RESULT (   DESCRIPTION,
  CODE 
)    DEFINE_VALIDATION_RESULT(Failure, LockHash, DESCRIPTION, CODE, None)

Defines a hash lock validation result with DESCRIPTION and CODE.