Interface IActionEvaluator
Namespace: Libplanet.Action
Assembly: Libplanet.Action.dll
Syntax
public interface IActionEvaluator
Properties
| Improve this Doc View SourceActionLoader
The IActionLoader used by this IActionEvaluator when evaluating Blocks.
Declaration
[Pure]
IActionLoader ActionLoader { get; }
Property Value
Type | Description |
---|---|
IActionLoader |
Methods
| Improve this Doc View SourceEvaluate(IPreEvaluationBlock, Nullable<HashDigest<SHA256>>)
The main entry point for evaluating a IPreEvaluationBlock.
Declaration
[Pure]
IReadOnlyList<ICommittedActionEvaluation> Evaluate(IPreEvaluationBlock block, HashDigest<SHA256>? baseStateRootHash)
Parameters
Type | Name | Description |
---|---|---|
IPreEvaluationBlock | block | The block to evaluate. |
Nullable<HashDigest<SHA256>> | baseStateRootHash | The base state to use when evaluating
|
Returns
Type | Description |
---|---|
IReadOnlyList<ICommittedActionEvaluation> | The result of evaluating every IAction related to
|
Remarks
This has a side-effect of writing data to internally held IStateStore.
First evaluates all IActions in
Transactions of block
and appends the
evaluation of the