lighthouse/beacon_node/eth2_libp2p
Age Manning c6abc56113 Prevent large step-size parameters (#1583)
## Issue Addressed

Malicious users could request very large block ranges, more than we expect. Although technically legal, we are now quadraticaly weighting large step sizes in the filter. Therefore users may request large skips, but not a large number of blocks, to prevent requests forcing us to do long chain lookups. 

## Proposed Changes

Weight the step parameter in the RPC filter and prevent any overflows that effect us in the step parameter.

## Additional Info
2020-09-11 02:33:36 +00:00
..
src Prevent large step-size parameters (#1583) 2020-09-11 02:33:36 +00:00
tests Use Gossipsub 1.1 (#1516) 2020-08-30 13:06:50 +00:00
Cargo.toml Prevent printing binary in RPC errors (#1604) 2020-09-10 04:43:22 +00:00