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

Go to the source code of this file.

Classes

class  catapult::harvesting::UnlockedAccountsView
 A read only view on top of unlocked accounts. More...
 
class  catapult::harvesting::UnlockedAccountsModifier
 A write only view on top of unlocked accounts. More...
 
class  catapult::harvesting::UnlockedAccounts
 Container of all unlocked (harvesting candidate) accounts. More...
 

Namespaces

 catapult
 
 catapult::harvesting
 

Macros

#define UNLOCKED_ACCOUNTS_ADD_RESULT_LIST
 
#define ENUM_VALUE(LABEL)   LABEL,
 

Enumerations

enum  catapult::harvesting::UnlockedAccountsAddResult { catapult::harvesting::UnlockedAccountsAddResult::UNLOCKED_ACCOUNTS_ADD_RESULT_LIST }
 Possible results of an add (unlock) operation. More...
 

Functions

std::ostream & catapult::harvesting::operator<< (std::ostream &out, UnlockedAccountsAddResult value)
 Insertion operator for outputting value to out. More...
 

Macro Definition Documentation

◆ ENUM_VALUE

#define ENUM_VALUE (   LABEL)    LABEL,

◆ UNLOCKED_ACCOUNTS_ADD_RESULT_LIST

#define UNLOCKED_ACCOUNTS_ADD_RESULT_LIST
Value:
/* Account was successfully unlocked (it might have already been unlocked). */ \
ENUM_VALUE(Success) \
\
/* Account could not be unlocked because it is ineligible for harvesting. */ \
ENUM_VALUE(Failure_Harvesting_Ineligible) \
\
/* Account could not be unlocked because it is blocked from harvesting. */ \
ENUM_VALUE(Failure_Harvesting_Blocked) \
\
/* Account could not be unlocked because limit on the server has been hit. */ \
ENUM_VALUE(Failure_Server_Limit)