celestiaorg / celestiaorg/go-header

header: On connect hello msg with current known head to eagerly push it

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
21
Forks
33
Avg merge
5d 20h
Merged PRs (30d)
7

Description

* Optimization to get heads as early as possible without requested msgs
* Allows analyzing rcvd heads and choosing the best as the sync target
* Helps with automatic subjective initialization(if the local head is expired) by choosing the most trustworthy head i.e. came from trusted peers or the majority of peers with high scores(served headers before) shared the same head. High scores here may help from an eclipse attack.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the connection handshake and header-sync paths, then define the protocol and tests for sending the current known head in the hello message and using received heads to select a sync target.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
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.