// GenSignedHeader calls genHeader and signHeader and combines them into a SignedHeader.
GenSignedHeader calls genHeader and signHeader and combines them into a SignedHeader.
// GenSignedHeader calls genHeader and signHeader and combines them into a SignedHeader .
func (pkz privKeys) GenSignedHeader(chainID string, height int64, txs types.Txs,
	valset, nextValset *types.ValidatorSet, appHash, consHash, resHash []byte, first, last int) types.SignedHeader {
	header := genHeader(chainID, height, txs, valset, nextValset, appHash, consHash, resHash)
	check := types.SignedHeader{
		Header: header,
		Commit: pkz.signHeader(header, first, last),
	}
	return check
}
func ( pkz privKeys ) GenSignedHeader ( chainID string , height int64 , txs types . Txs , valset , nextValset * types . ValidatorSet , appHash , consHash , resHash [ ] byte , first , last int ) types . SignedHeader { header := genHeader ( chainID , height , txs , valset , nextValset , appHash , consHash , resHash ) check := types . SignedHeader { Header : header , Commit : pkz . signHeader ( header , first , last ) , } return check }
GenSignedHeader calls genHeader and signHeader and combines them into a SignedHeader.
GenSignedHeader calls genHeader and signHeader and combines them into a SignedHeader .