func (sc *schedule) maxHeight() int64 {
	var max int64 = 0
	for height, state := range sc.blockStates {
		if state == blockStateNew && height > max {
			max = height
		}
	}

	return max
}
// highest block | state == blockStateNew
highest block | state == blockStateNew
// highest block | state == blockStateNew
func (sc *schedule) maxHeight() int64 {
	var max int64 = 0
	for height, state := range sc.blockStates {
		if state == blockStateNew && height > max {
			max = height
		}
	}
	return max
}
func ( sc * schedule ) maxHeight ( ) int64 { var max int64 = 0 for height , state := range sc . blockStates { if state == blockStateNew && height > max { max = height } } return max }
highest block | state == blockStateNew
highest block | state == blockStateNew