Class 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 Detail

      • JsonEraReport

        public JsonEraReport​(java.util.List<PublicKey> inactiveValidators,
                             java.util.List<PublicKey> equivocators,
                             java.util.List<Reward> rewards)
      • JsonEraReport

        public JsonEraReport()
    • 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