Package com.syntifi.casper.sdk.model.era
Class ValidatorWeight
- java.lang.Object
-
- com.syntifi.casper.sdk.model.era.ValidatorWeight
-
public class ValidatorWeight extends java.lang.Object
Casper block validator weight- Since:
- 0.0.1
- See Also:
JsonEraEnd
-
-
Constructor Summary
Constructors Constructor Description ValidatorWeight()
-
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)
protected java.lang.String
getJsonWeight()
PublicKey
getValidator()
java.math.BigInteger
getWeight()
Decimal representation of a 512-bit integerint
hashCode()
protected void
setJsonWeight(java.lang.String value)
void
setValidator(PublicKey validator)
void
setWeight(java.math.BigInteger weight)
Decimal representation of a 512-bit integerjava.lang.String
toString()
-
-
-
Method Detail
-
getJsonWeight
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonWeight()
-
setJsonWeight
@ExcludeFromJacocoGeneratedReport protected void setJsonWeight(java.lang.String value)
-
getWeight
public java.math.BigInteger getWeight()
Decimal representation of a 512-bit integer
-
setWeight
public void setWeight(java.math.BigInteger weight)
Decimal representation of a 512-bit integer
-
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
-
-