// HashNoNonce returns the hash which is used as input for the proof-of-work search.
HashNoNonce returns the hash which is used as input for the proof-of-work search.
// HashNoNonce returns the hash which is used as input for the proof - of - work search .
func (h *Header) HashNoNonce() common.Hash {
	if manversion.VersionCmp(string(h.Version), manversion.VersionAIMine) >= 0 {
		return rlpHash([]interface{}{
			h.ParentHash,
			h.UncleHash,
			h.Leader,
			h.Roots,
			h.Sharding,
			h.Difficulty,
			h.Number,
			h.GasLimit,
			h.GasUsed,
			h.Time,
			h.Elect,
			h.NetTopology,
			h.Signatures,
			h.Extra,
			h.Version,
			h.VersionSignatures,
			h.VrfValue,
		})
	} else {
		return rlpHash([]interface{}{
			h.ParentHash,
			h.UncleHash,
			h.Leader,
			h.Roots,
			h.Sharding,
			h.Difficulty,
			h.Number,
			h.GasLimit,
			h.GasUsed,
			h.Time,
			h.Elect,
			h.NetTopology,
			h.Signatures,
			h.Extra,
			h.Version,
			h.VersionSignatures,
		})
	}
}
func ( h * Header ) HashNoNonce ( ) common . Hash { if manversion . VersionCmp ( string ( h . Version ) , manversion . VersionAIMine ) >= 0 { return rlpHash ( [ ] interface { } { h . ParentHash , h . UncleHash , h . Leader , h . Roots , h . Sharding , h . Difficulty , h . Number , h . GasLimit , h . GasUsed , h . Time , h . Elect , h . NetTopology , h . Signatures , h . Extra , h . Version , h . VersionSignatures , h . VrfValue , } ) } else { return rlpHash ( [ ] interface { } { h . ParentHash , h . UncleHash , h . Leader , h . Roots , h . Sharding , h . Difficulty , h . Number , h . GasLimit , h . GasUsed , h . Time , h . Elect , h . NetTopology , h . Signatures , h . Extra , h . Version , h . VersionSignatures , } ) } }
HashNoNonce returns the hash which is used as input for the proof-of-work search.
HashNoNonce returns the hash which is used as input for the proof - of - work search .