GetNeighborAddrs return all the nbr peer`s addr
()
| 188 | |
| 189 | //GetNeighborAddrs return all the nbr peer`s addr |
| 190 | func (this *NetServer) GetNeighborAddrs() []common.PeerAddr { |
| 191 | return this.Np.GetNeighborAddrs() |
| 192 | } |
| 193 | |
| 194 | //GetConnectionCnt return the total number of valid connections |
| 195 | func (this *NetServer) GetConnectionCnt() uint32 { |