GetNeighbors return all nbr peer
()
| 213 | |
| 214 | //GetNeighbors return all nbr peer |
| 215 | func (this *NetServer) GetNeighbors() []*peer.Peer { |
| 216 | return this.Np.GetNeighbors() |
| 217 | } |
| 218 | |
| 219 | //NodeEstablished return whether a peer is establish with self according to id |
| 220 | func (this *NetServer) NodeEstablished(id uint64) bool { |