Peer score is an input, not trust
Latency, valid message rate, protocol violations and resource cost can inform peer scoring. Attackers can farm reputation or create many identities, so selection also needs diversity across network groups, providers, discovery sources and connection direction.