Interface IValidatorSupportStateDelta
Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public interface IValidatorSupportStateDelta
Methods
| Improve this Doc View SourceGetValidatorSet()
Returns the validator set.
Declaration
[Pure]
ValidatorSet GetValidatorSet()
Returns
Type | Description |
---|---|
ValidatorSet | The validator set of type ValidatorSet. |
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
|