OnHeaderReceive adds the header list from network
(fromID uint64, headers []*types.Header)
| 204 | |
| 205 | // OnHeaderReceive adds the header list from network |
| 206 | func (this *P2PServer) OnHeaderReceive(fromID uint64, headers []*types.Header) { |
| 207 | this.blockSync.OnHeaderReceive(fromID, headers) |
| 208 | } |
| 209 | |
| 210 | // OnBlockReceive adds the block from network |
| 211 | func (this *P2PServer) OnBlockReceive(fromID uint64, blockSize uint32, |