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()
    • 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 class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object