Package com.syntifi.casper.sdk.model.era
Class JsonEraReport
- java.lang.Object
-
- com.syntifi.casper.sdk.model.era.JsonEraReport
-
public class JsonEraReport extends java.lang.Object
Equivocation and reward information to be included in the terminal block.- Since:
- 0.0.1
- See Also:
JsonEraEnd
-
-
Constructor Summary
Constructors Constructor Description JsonEraReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.List<PublicKey>
getEquivocators()
List of @see PublicKeyjava.util.List<PublicKey>
getInactiveValidators()
List of @see PublicKeyjava.util.List<Reward>
getRewards()
List of @see Rewardint
hashCode()
void
setEquivocators(java.util.List<PublicKey> equivocators)
List of @see PublicKeyvoid
setInactiveValidators(java.util.List<PublicKey> inactiveValidators)
List of @see PublicKeyvoid
setRewards(java.util.List<Reward> rewards)
List of @see Rewardjava.lang.String
toString()
-
-
-
Method Detail
-
getInactiveValidators
public java.util.List<PublicKey> getInactiveValidators()
List of @see PublicKey
-
getEquivocators
public java.util.List<PublicKey> getEquivocators()
List of @see PublicKey
-
getRewards
public java.util.List<Reward> getRewards()
List of @see Reward
-
setInactiveValidators
public void setInactiveValidators(java.util.List<PublicKey> inactiveValidators)
List of @see PublicKey
-
setEquivocators
public void setEquivocators(java.util.List<PublicKey> equivocators)
List of @see PublicKey
-
setRewards
public void setRewards(java.util.List<Reward> rewards)
List of @see Reward
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-