Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Append some APIs for Managing Trusted peers #4701

Open
SimonSMH1015 opened this issue Sep 5, 2023 · 0 comments
Open

Append some APIs for Managing Trusted peers #4701

SimonSMH1015 opened this issue Sep 5, 2023 · 0 comments

Comments

@SimonSMH1015
Copy link

Description

Lighthouse may have some apis for managing trusted peers, like dynamic adding trusted peers; deleting trusted peers and listing trusted peers.

This is useful, especially after having
Maintain trusted peers
Add a flag to disable peer scoring

Currently we could establish a stable connection bewtween A and B, two nodes, where both of them consider other as 'trusted peer'. But If node C wants to join them, A and B should modify their lauch flags and restart. In some situaction, e.g. staking, it is not a good idea to restart nodes very often. Moreover, node wont pruning a trusted peer, even if it is offline forever. The only way now to drop that trusted peer is to restart node .

Version

Lighthouse 4.3.0

Present Behaviour

Have to resrat the client if we want to update trusted peer infos

Expected Behaviour

Have some Lighthouse APIs for updating trusted peer information
For example, /lighthouse/addTrustedpeer; /lighthouse/deleteTrustedpeer; /lighthouse/trustedPeers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant