Files
pezkuwi-subxt/substrate/client
Dmitrii Markin b0b2b6799c Punish peers for duplicate GRANDPA neighbor messages (#12462)
* Decrease peer reputation for duplicate GRANDPA neighbor messages.

* Fix comparison

* Fix update_peer_state() validity condition

* Add negative test

* Rework update_peer_state() validity condition, add tests

* update_peer_state() validity condition: invert comparison

* Split InvalidViewChange and DuplicateNeighborMessage misbehaviors

* Enforce rate-limiting of duplicate GRANDPA neighbor packets

* Update client/finality-grandpa/src/communication/gossip.rs

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>

* Make rolling clock back in a test safer

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
2022-10-13 09:24:31 +00:00
..
2022-09-12 12:25:56 +02:00
2022-05-04 13:38:54 +00:00
2022-09-30 12:06:46 +02:00
2022-10-05 21:07:15 +00:00
2022-10-11 18:41:43 +00:00
2022-10-05 21:07:15 +00:00
2022-10-07 10:46:57 +00:00