You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 28, 2021. It is now read-only.
When Aleth receives a NewBlockHashes packet which contains more hashes than c_maxIncomingNewHashes, Aleth disables the peer rather than processing the first c_maxIncomingNewHashes:
I think the Parity behavior makes sense since other clients can have different max hash counts and therefore we cannot count on them knowing what our limit is.
When Aleth receives a
NewBlockHashespacket which contains more hashes thanc_maxIncomingNewHashes, Aleth disables the peer rather than processing the firstc_maxIncomingNewHashes:aleth/libethereum/EthereumCapability.cpp
Lines 754 to 765 in 7fcf5e9
Note that Parity processes the first
MAX_NEW_HASHEShashes: https://github.com/paritytech/parity-ethereum/blob/master/ethcore/sync/src/chain/handler.rs#L219-L288I think the Parity behavior makes sense since other clients can have different max hash counts and therefore we cannot count on them knowing what our limit is.