Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

sc-consensus-beefy: add peer reputation cost/benefit changes #13881

Merged
merged 6 commits into from
Apr 12, 2023

Conversation

acatangiu
Copy link
Contributor

@acatangiu acatangiu commented Apr 11, 2023

Added peer reputation reporting to BEEFY gossip and BEEFY on-demand-requests network protocols.

Fixes #12293
Fixes #12294

@acatangiu acatangiu self-assigned this Apr 11, 2023
@acatangiu acatangiu added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit. labels Apr 11, 2023
Copy link
Contributor

@svyatonik svyatonik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@acatangiu acatangiu merged commit f751d63 into paritytech:master Apr 12, 2023
@acatangiu acatangiu deleted the beefy-peer-reputation branch April 12, 2023 11:09
nathanwhit pushed a commit to nathanwhit/substrate that referenced this pull request Jul 19, 2023
…ech#13881)

* add cost/benefit to gossip messages
* report BEEFY gossip peer reputation changes
* drop WorkerParams helper struct
* add reputation costs to tests
* add peer reputation cost/benefit to on-demand-requests protocol
* include amount of signatures checked in invalid proof reputation cost

Signed-off-by: Adrian Catangiu <adrian@parity.io>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit.
Projects
None yet
3 participants