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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValidatorWeight.ValidatorWeightBuilder
-
Constructor Summary
Constructors Constructor Description ValidatorWeight()
ValidatorWeight(PublicKey validator, java.math.BigInteger weight)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValidatorWeight.ValidatorWeightBuilder
builder()
protected java.lang.String
getJsonWeight()
PublicKey
getValidator()
java.math.BigInteger
getWeight()
Decimal representation of a 512-bit integerprotected void
setJsonWeight(java.lang.String value)
void
setValidator(PublicKey validator)
void
setWeight(java.math.BigInteger weight)
Decimal representation of a 512-bit integer
-
-
-
Constructor Detail
-
ValidatorWeight
public ValidatorWeight(PublicKey validator, java.math.BigInteger weight)
-
ValidatorWeight
public ValidatorWeight()
-
-
Method Detail
-
getJsonWeight
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonWeight()
-
setJsonWeight
@ExcludeFromJacocoGeneratedReport protected void setJsonWeight(java.lang.String value)
-
builder
public static ValidatorWeight.ValidatorWeightBuilder builder()
-
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
-
-