Revert "Revert "eth: drop eth/65, the last non-reqid protocol version" (#23426)"

This reverts commit c368f728c1.
This commit is contained in:
Péter Szilágyi
2021-08-24 21:13:04 +03:00
committed by GitHub
parent 5cee33eb72
commit ea80c3942f
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()