func (n *node) IsGood() bool {
	if n.id.IsZero() {
		return false
	}
	if time.Since(n.lastGotResponse) < 15*time.Minute {
		return true
	}
	if !n.lastGotResponse.IsZero() && time.Since(n.lastGotQuery) < 15*time.Minute {
		return true
	}
	return false
}
func (n *node) IsGood() bool {
	if n.id.IsZero() {
		return false
	}
	if time.Since(n.lastGotResponse) < 15*time.Minute {
		return true
	}
	if !n.lastGotResponse.IsZero() && time.Since(n.lastGotQuery) < 15*time.Minute {
		return true
	}
	return false
}
func ( n * node ) IsGood ( ) bool { if n . id . IsZero ( ) { return false } if time . Since ( n . lastGotResponse ) < 15 * time . Minute { return true } if ! n . lastGotResponse . IsZero ( ) && time . Since ( n . lastGotQuery ) < 15 * time . Minute { return true } return false }
// Per the spec in BEP 5.
Per the spec in BEP 5 .