github.com/algorand/go-algorand-sdk@v1.24.0/client/v2/common/models/state_proof_message.go (about)

     1  package models
     2  
     3  // StateProofMessage represents the message that the state proofs are attesting to.
     4  type StateProofMessage struct {
     5  	// Blockheaderscommitment the vector commitment root on all light block headers
     6  	// within a state proof interval.
     7  	Blockheaderscommitment []byte `json:"BlockHeadersCommitment"`
     8  
     9  	// Firstattestedround the first round the message attests to.
    10  	Firstattestedround uint64 `json:"FirstAttestedRound"`
    11  
    12  	// Lastattestedround the last round the message attests to.
    13  	Lastattestedround uint64 `json:"LastAttestedRound"`
    14  
    15  	// Lnprovenweight an integer value representing the natural log of the proven
    16  	// weight with 16 bits of precision. This value would be used to verify the next
    17  	// state proof.
    18  	Lnprovenweight uint64 `json:"LnProvenWeight"`
    19  
    20  	// Voterscommitment the vector commitment root of the top N accounts to sign the
    21  	// next StateProof.
    22  	Voterscommitment []byte `json:"VotersCommitment"`
    23  }