CatapultServer
v0.5.0.1 (Elephant)
|
Go to the source code of this file.
Namespaces | |
catapult | |
catapult::chain | |
Macros | |
#define | CHAIN_COMPARISON_CODE_LIST |
#define | ENUM_VALUE(LABEL, VALUE) LABEL = VALUE, |
Enumerations | |
enum | catapult::chain::ChainComparisonCode : uint32_t { catapult::chain::ChainComparisonCode::CHAIN_COMPARISON_CODE_LIST } |
Possible chain comparison end states. More... | |
Functions | |
std::ostream & | catapult::chain::operator<< (std::ostream &out, ChainComparisonCode value) |
Insertion operator for outputting value to out. More... | |
bool | catapult::chain::IsRemoteOutOfSync (ChainComparisonCode code) |
Gets a value indicating whether or not code indicates that the remote node is out of sync. More... | |
bool | catapult::chain::IsRemoteEvil (ChainComparisonCode code) |
Gets a value indicating whether or not code indicates that the remote node is evil. More... | |
Variables | |
constexpr uint32_t | catapult::chain::Remote_Is_Out_Of_Sync_Flag = 0x40000000 |
Chain comparison code flag that is set if the code indicates an out of sync remote node. More... | |
constexpr uint32_t | catapult::chain::Remote_Is_Evil_Flag = 0x80000000 |
Chain comparison code flag that is set if the code indicates an evil remote node. More... | |
#define CHAIN_COMPARISON_CODE_LIST |
#define ENUM_VALUE | ( | LABEL, | |
VALUE | |||
) | LABEL = VALUE, |