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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsonEraReport.JsonEraReportBuilder
-
Constructor Summary
Constructors Constructor Description JsonEraReport()
JsonEraReport(java.util.List<PublicKey> inactiveValidators, java.util.List<PublicKey> equivocators, java.util.List<Reward> rewards)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonEraReport.JsonEraReportBuilder
builder()
java.util.List<PublicKey>
getEquivocators()
List of @see PublicKeyjava.util.List<PublicKey>
getInactiveValidators()
List of @see PublicKeyjava.util.List<Reward>
getRewards()
List of @see Rewardvoid
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 Reward
-
-
-
Method Detail
-
builder
public static JsonEraReport.JsonEraReportBuilder builder()
-
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
-
-