lambdaclass / lambdaclass/lambda_ethereum_consensus

[Networking] Handle "no-peers" state

Open
#233 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs elaboration
Dominant language
Elixir
Stars
109
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Created from: https://github.com/lambdaclass/lambda_ethereum_consensus/pull/225#discussion_r1337571028

Currently, the Peerbook just waits for a second and retries, but maybe there's a better way to handle this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Peerbook handling for the "no-peers" state and trace the current one-second retry behavior. Determine what alternative handling is appropriate, then verify that the Peerbook no longer waits and retries incorrectly when no peers are available.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.