github.com/algorand/go-algorand-sdk@v1.24.0/types/lightBlockHeader.go (about)

     1  package types
     2  
     3  // A Seed contains cryptographic entropy which can be used to determine a
     4  // committee.
     5  type Seed [32]byte
     6  
     7  // LightBlockHeader represents a minimal block header. It contains all the necessary fields
     8  // for verifying proofs on transactions.
     9  // In addition, this struct is designed to be used on environments where only SHA256 function exists
    10  type LightBlockHeader struct {
    11  	_struct struct{} `codec:",omitempty,omitemptyarray"`
    12  
    13  	Seed                Seed   `codec:"0"`
    14  	RoundNumber         Round  `codec:"r"`
    15  	GenesisHash         Digest `codec:"gh"`
    16  	Sha256TxnCommitment Digest `codec:"tc,allocbound=Sha256Size"`
    17  }