Show / Hide Table of Contents

Interface IValidatorSupportStateDelta

Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public interface IValidatorSupportStateDelta

Methods

| Improve this Doc View Source

GetValidatorSet()

Returns the validator set.

Declaration
[Pure]
ValidatorSet GetValidatorSet()
Returns
Type Description
ValidatorSet

The validator set of type ValidatorSet.

| Improve this Doc View Source

SetValidator(Validator)

Sets validator to the stored ValidatorSet. If 0 is given as its power, removes the validator from the ValidatorSet.

Declaration
[Pure]
IAccountStateDelta SetValidator(Validator validator)
Parameters
Type Name Description
Validator validator

The Validator instance to write.

Returns
Type Description
IAccountStateDelta

A new IAccountStateDelta instance with validator set.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium