func (f Fetcher) ShowPeerInfo(){
	peerInfo, err := f.rpcClient.GetPeerInfo()
	if err != nil{
		logrus.Fatalf("error getting peers info: %s",err)
	}
	for _, peer := range peerInfo{
		logrus.Infof("Peer services: %s",peer.Services)
		if peer.BanScore != 0{
			logrus.Infof("Peer ban score: %d",peer.BanScore)
		}
	}
}
//ShowPeerInfo shows basic information for connected peers
ShowPeerInfo shows basic information for connected peers
// ShowPeerInfo shows basic information for connected peers
func (f Fetcher) ShowPeerInfo(){
	peerInfo, err := f.rpcClient.GetPeerInfo()
	if err != nil{
		logrus.Fatalf("error getting peers info: %s",err)
	}
	for _, peer := range peerInfo{
		logrus.Infof("Peer services: %s",peer.Services)
		if peer.BanScore != 0{
			logrus.Infof("Peer ban score: %d",peer.BanScore)
		}
	}
}
func ( f Fetcher ) ShowPeerInfo ( ) { peerInfo , err := f . rpcClient . GetPeerInfo ( ) if err != nil { logrus . Fatalf ( " " , err ) } for _ , peer := range peerInfo { logrus . Infof ( " " , peer . Services ) if peer . BanScore != 0 { logrus . Infof ( " " , peer . BanScore ) } } }
ShowPeerInfo shows basic information for connected peers
ShowPeerInfo shows basic information for connected peers