Show / Hide Table of Contents

Class StateCompleters<T>

Predefined built-in state completers that satisfy StateCompleter<T> delegate.

Inheritance
Object
StateCompleters<T>
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 Source

Recalculate

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>
| Improve this Doc View Source

Reject

Rejects to complement incomplete state and throws an IncompleteBlockStatesException.

Declaration
public static readonly StateCompleter<T> Reject
Field Value
Type Description
StateCompleter<T>
  • Improve this Doc
  • View Source
Back to top Copyright © 2019–2020 Planetarium