CatapultServer  v0.5.0.1 (Elephant)
ChainResults.h
Go to the documentation of this file.
1 
21 #pragma once
22 #ifndef CUSTOM_RESULT_DEFINITION
24 
25 namespace catapult { namespace chain {
26 
27 #endif
28 #define DEFINE_CHAIN_RESULT(DESCRIPTION, CODE) DEFINE_VALIDATION_RESULT(Failure, Chain, DESCRIPTION, CODE, None)
30 
32  DEFINE_CHAIN_RESULT(Unlinked, 1);
33 
35  DEFINE_CHAIN_RESULT(Block_Not_Hit, 2);
36 
38  DEFINE_CHAIN_RESULT(Block_Inconsistent_State_Hash, 3);
39 
41  DEFINE_CHAIN_RESULT(Block_Inconsistent_Receipts_Hash, 4);
42 
44  DEFINE_CHAIN_RESULT(Unconfirmed_Cache_Too_Full, 5);
45 
46 #ifndef CUSTOM_RESULT_DEFINITION
47 }}
48 #endif
catapult::chain::DEFINE_CHAIN_RESULT
DEFINE_CHAIN_RESULT(Unlinked, 1)
Validation failed because a block was received that did not link with the existing chain.
ValidationResult.h
catapult
Definition: AddressExtractionExtension.cpp:28