OnAddNode adds the peer id to the block sync mgr
(id uint64)
| 194 | |
| 195 | // OnAddNode adds the peer id to the block sync mgr |
| 196 | func (this *P2PServer) OnAddNode(id uint64) { |
| 197 | this.blockSync.OnAddNode(id) |
| 198 | } |
| 199 | |
| 200 | // OnDelNode removes the peer id from the block sync mgr |
| 201 | func (this *P2PServer) OnDelNode(id uint64) { |