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

     1  package models
     2  
     3  // StateProofFields (sp) represents a state proof.
     4  // Definition:
     5  // crypto/stateproof/structs.go : StateProof
     6  type StateProofFields struct {
     7  	// PartProofs (P)
     8  	PartProofs MerkleArrayProof `json:"part-proofs,omitempty"`
     9  
    10  	// PositionsToReveal (pr) Sequence of reveal positions.
    11  	PositionsToReveal []uint64 `json:"positions-to-reveal,omitempty"`
    12  
    13  	// Reveals (r) Note that this is actually stored as a map[uint64] - Reveal in the
    14  	// actual msgp
    15  	Reveals []StateProofReveal `json:"reveals,omitempty"`
    16  
    17  	// SaltVersion (v) Salt version of the merkle signature.
    18  	SaltVersion uint64 `json:"salt-version,omitempty"`
    19  
    20  	// SigCommit (c)
    21  	SigCommit []byte `json:"sig-commit,omitempty"`
    22  
    23  	// SigProofs (S)
    24  	SigProofs MerkleArrayProof `json:"sig-proofs,omitempty"`
    25  
    26  	// SignedWeight (w)
    27  	SignedWeight uint64 `json:"signed-weight,omitempty"`
    28  }