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

Functions

 catapult::validators::DEFINE_SECRET_LOCK_RESULT (Invalid_Hash_Algorithm, 1)
 Validation failed because hash algorithm for lock type secret is invalid. More...
 
 catapult::validators::DEFINE_SECRET_LOCK_RESULT (Hash_Exists, 2)
 Validation failed because hash is already present in cache. More...
 
 catapult::validators::DEFINE_SECRET_LOCK_RESULT (Hash_Not_Implemented, 3)
 Validation failed because hash is not implemented yet. More...
 
 catapult::validators::DEFINE_SECRET_LOCK_RESULT (Proof_Size_Out_Of_Bounds, 4)
 Validation failed because proof is too small or too large. More...
 
 catapult::validators::DEFINE_SECRET_LOCK_RESULT (Secret_Mismatch, 5)
 Validation failed because secret does not match proof. More...
 
 catapult::validators::DEFINE_SECRET_LOCK_RESULT (Unknown_Composite_Key, 6)
 Validation failed because composite key is unknown. More...
 
 catapult::validators::DEFINE_SECRET_LOCK_RESULT (Inactive_Secret, 7)
 Validation failed because secret is inactive. More...
 
 catapult::validators::DEFINE_SECRET_LOCK_RESULT (Hash_Algorithm_Mismatch, 8)
 Validation failed because hash algorithm does not match. More...
 
 catapult::validators::DEFINE_SECRET_LOCK_RESULT (Invalid_Duration, 9)
 Validation failed because duration is too long. More...
 

Macro Definition Documentation

◆ DEFINE_SECRET_LOCK_RESULT

#define DEFINE_SECRET_LOCK_RESULT (   DESCRIPTION,
  CODE 
)    DEFINE_VALIDATION_RESULT(Failure, LockSecret, DESCRIPTION, CODE, None)

Defines a secret lock validation result with DESCRIPTION and CODE.