OnDelNode removes the peer id from the block sync mgr
(id uint64)
| 199 | |
| 200 | // OnDelNode removes the peer id from the block sync mgr |
| 201 | func (this *P2PServer) OnDelNode(id uint64) { |
| 202 | this.blockSync.OnDelNode(id) |
| 203 | } |
| 204 | |
| 205 | // OnHeaderReceive adds the header list from network |
| 206 | func (this *P2PServer) OnHeaderReceive(fromID uint64, headers []*types.Header) { |