Class StateProofMessage
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.PathResponse
-
- com.algorand.algosdk.v2.client.model.StateProofMessage
-
public class StateProofMessage extends PathResponse
Represents the message that the state proofs are attesting to.
-
-
Field Summary
Fields Modifier and Type Field Description byte[]
blockHeadersCommitment
BigInteger
firstAttestedRound
The first round the message attests to.BigInteger
lastAttestedRound
The last round the message attests to.BigInteger
lnProvenWeight
An integer value representing the natural log of the proven weight with 16 bits of precision.byte[]
votersCommitment
-
Constructor Summary
Constructors Constructor Description StateProofMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
blockHeadersCommitment()
void
blockHeadersCommitment(String base64Encoded)
The vector commitment root on all light block headers within a state proof interval.boolean
equals(Object o)
String
votersCommitment()
void
votersCommitment(String base64Encoded)
The vector commitment root of the top N accounts to sign the next StateProof.-
Methods inherited from class com.algorand.algosdk.v2.client.common.PathResponse
toString
-
-
-
-
Field Detail
-
blockHeadersCommitment
public byte[] blockHeadersCommitment
-
firstAttestedRound
public BigInteger firstAttestedRound
The first round the message attests to.
-
lastAttestedRound
public BigInteger lastAttestedRound
The last round the message attests to.
-
lnProvenWeight
public BigInteger lnProvenWeight
An integer value representing the natural log of the proven weight with 16 bits of precision. This value would be used to verify the next state proof.
-
votersCommitment
public byte[] votersCommitment
-
-
Method Detail
-
blockHeadersCommitment
public void blockHeadersCommitment(String base64Encoded)
The vector commitment root on all light block headers within a state proof interval.
-
blockHeadersCommitment
public String blockHeadersCommitment()
-
votersCommitment
public void votersCommitment(String base64Encoded)
The vector commitment root of the top N accounts to sign the next StateProof.
-
votersCommitment
public String votersCommitment()
-
-