GetID returns local node id
()
| 189 | |
| 190 | // GetID returns local node id |
| 191 | func (this *P2PServer) GetID() uint64 { |
| 192 | return this.network.GetID() |
| 193 | } |
| 194 | |
| 195 | // OnAddNode adds the peer id to the block sync mgr |
| 196 | func (this *P2PServer) OnAddNode(id uint64) { |