archethic-foundation / archethic-foundation/archethic-node

Using DNS for P2P's bootstraping seeds

Open
#1,647 0 comments 0 reactions 0 assignees View on GitHub
bootstrap feature
Dominant language
Elixir
Stars
82
Forks
24
PR merge metrics
No merged PRs in 30d

Description

### Is your feature request related to a problem?

Right now, to join the network, you need to have a specific list of peers to contact in order to join the network.
This requires a custom configuration, which should not be in order to open the network.

### Describe the solution you'd like

I propose to use a DNS lookup to fetch the bootstrapping seeds when a node joins the network. This way the network opened to everyone would be easier to extend as it will not require a custom / configuration based to fetch the initial nodes to connect at the first place.
We could still use some hardcoded endpoints for backup of the DNS provided seeds list.

### Additional context

_No response_

### Epic

_No response_

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by tracing how the node currently obtains its bootstrap peers and where hardcoded endpoints are configured, then investigate how DNS-provided seeds and fallback endpoints should be represented and validated. Done means a node can join using DNS seeds while retaining the proposed backup behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
blockchain, distributed-systems, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.