CatapultServer  v0.5.0.1 (Elephant)
ChainResults.h File Reference
Include dependency graph for ChainResults.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::chain
 

Macros

#define DEFINE_CHAIN_RESULT(DESCRIPTION, CODE)   DEFINE_VALIDATION_RESULT(Failure, Chain, DESCRIPTION, CODE, None)
 Defines a chain validation result with DESCRIPTION and CODE. More...
 

Functions

 catapult::chain::DEFINE_CHAIN_RESULT (Unlinked, 1)
 Validation failed because a block was received that did not link with the existing chain. More...
 
 catapult::chain::DEFINE_CHAIN_RESULT (Block_Not_Hit, 2)
 Validation failed because a block was received that is not a hit. More...
 
 catapult::chain::DEFINE_CHAIN_RESULT (Block_Inconsistent_State_Hash, 3)
 Validation failed because a block was received that has an inconsistent state hash. More...
 
 catapult::chain::DEFINE_CHAIN_RESULT (Block_Inconsistent_Receipts_Hash, 4)
 Validation failed because a block was received that has an inconsistent receipts hash. More...
 
 catapult::chain::DEFINE_CHAIN_RESULT (Unconfirmed_Cache_Too_Full, 5)
 Validation failed because the unconfirmed cache is too full. More...
 

Macro Definition Documentation

◆ DEFINE_CHAIN_RESULT

#define DEFINE_CHAIN_RESULT (   DESCRIPTION,
  CODE 
)    DEFINE_VALIDATION_RESULT(Failure, Chain, DESCRIPTION, CODE, None)

Defines a chain validation result with DESCRIPTION and CODE.