![]() |
|
This object holds state that remains persistent during one round of network evaluation. More...
#include <evaluationState.h>
Public Member Functions | |
| VdfEvaluationState (const VdfExecutorInterface &executor, const VdfSchedule &schedule, VdfExecutorErrorLogger *errorLogger) | |
| Constructor. | |
| const VdfExecutorInterface & | GetExecutor () const |
| The executor used for evaluation. | |
| const VdfSchedule & | GetSchedule () const |
| The schedule used for evaluation. | |
| VdfExecutorErrorLogger * | GetErrorLogger () const |
| The executor error logger. | |
| VDF_API void | LogWarning (const VdfNode &node, const std::string &warning) const |
| Logs an execution warning to the executor error logger. | |
This object holds state that remains persistent during one round of network evaluation.
Definition at line 29 of file evaluationState.h.
|
inline |
Constructor.
Definition at line 35 of file evaluationState.h.
|
inline |
The executor error logger.
Definition at line 58 of file evaluationState.h.
|
inline |
The executor used for evaluation.
Definition at line 46 of file evaluationState.h.
|
inline |
The schedule used for evaluation.
Definition at line 52 of file evaluationState.h.
| VDF_API void LogWarning | ( | const VdfNode & | node, |
| const std::string & | warning | ||
| ) | const |
Logs an execution warning to the executor error logger.