This repository has been archived by the owner on Oct 4, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: headers is changed in FilterHeaders, so the if statement is …
…not necessarily always true See ethereum/go-ethereum#14848 for an explanation of why the line `len(headers) > 0 || !filter` is added back. I still don't think we should check total difficulty of the peer with the fork header like ETH does. It might break light clients that only keep the last 256 blocks and does not prevent network attacks. See #313 for an explanation.
- Loading branch information