Class AbstainHistory
- Namespace
- Nekoyume.ValidatorDelegation
- Assembly
- Lib9c.dll
public sealed class AbstainHistory
- Inheritance
-
AbstainHistory
- Inherited Members
-
Constructors
AbstainHistory()
AbstainHistory(IValue)
public AbstainHistory(IValue bencoded)
Parameters
bencoded
IValue
AbstainHistory(List)
public AbstainHistory(List bencoded)
Parameters
bencoded
List
Properties
Address
public static Address Address { get; }
Property Value
- Address
Bencoded
public IValue Bencoded { get; }
Property Value
- IValue
History
public SortedDictionary<PublicKey, List<long>> History { get; }
Property Value
- SortedDictionary<PublicKey, List<long>>
MaxAbstainAllowance
public static int MaxAbstainAllowance { get; }
Property Value
- int
WindowSize
public static int WindowSize { get; }
Property Value
- int
Methods
FindToSlashAndAdd(IEnumerable<PublicKey>, long)
public List<PublicKey> FindToSlashAndAdd(IEnumerable<PublicKey> abstainList, long height)
Parameters
abstainList
IEnumerable<PublicKey>
height
long
Returns
- List<PublicKey>