Class StateCompleters<T>
Predefined built-in state completers that satisfy StateCompleter<T> delegate.
Namespace: Libplanet.Blockchain
Assembly: Libplanet.dll
Syntax
public static class StateCompleters<T> : object where T : IAction, new()
Type Parameters
Name | Description |
---|---|
T | An IAction type. It should match to BlockChain<T>'s type parameter. |
Fields
| Improve this Doc View SourceRecalculate
Recalculates and complements a block's incomplete states on the fly. Incomplete states are filled with the recalculated states and the states are permanently remained in the store.
Declaration
public static readonly StateCompleter<T> Recalculate
Field Value
Type | Description |
---|---|
StateCompleter<T> |
Reject
Rejects to complement incomplete state and throws an IncompleteBlockStatesException.
Declaration
public static readonly StateCompleter<T> Reject
Field Value
Type | Description |
---|---|
StateCompleter<T> |