func (sc *schedule) minHeight() int64 {
	var min int64 = math.MaxInt64
	for height, state := range sc.blockStates {
		if state == blockStateNew && height < min {
			min = height
		}
	}

	return min
}
// lowest block | state == blockStateNew
lowest block | state == blockStateNew
// lowest block | state == blockStateNew
func (sc *schedule) minHeight() int64 {
	var min int64 = math.MaxInt64
	for height, state := range sc.blockStates {
		if state == blockStateNew && height < min {
			min = height
		}
	}
	return min
}
func ( sc * schedule ) minHeight ( ) int64 { var min int64 = math . MaxInt64 for height , state := range sc . blockStates { if state == blockStateNew && height < min { min = height } } return min }
lowest block | state == blockStateNew
lowest block | state == blockStateNew