eth: drop eth/65, the last non-reqid protocol version

This commit is contained in:
Péter Szilágyi
2021-06-28 18:40:56 +03:00
parent 1b5582acf7
commit d3f018fde8
15 changed files with 172 additions and 602 deletions

View File

@ -448,8 +448,8 @@ func (d *Downloader) syncWithPeer(p *peerConnection, hash common.Hash, td *big.I
d.mux.Post(DoneEvent{latest})
}
}()
if p.version < eth.ETH65 {
return fmt.Errorf("%w: advertized %d < required %d", errTooOld, p.version, eth.ETH65)
if p.version < eth.ETH66 {
return fmt.Errorf("%w: advertized %d < required %d", errTooOld, p.version, eth.ETH66)
}
mode := d.getMode()