bug(node): UDP gossip socket is never started by main.rs and NODE_BOOTSTRAP_PEERS is unimplemented
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- rust
- Domain
- distributed-systems
Research direction
Start by reading src/main.rs and src/udp_gossip.rs to trace daemon startup and the existing UDP transport; then inspect docs/CONFIGURATION.md for NODE_BOOTSTRAP_PEERS and NODE_P2P_PORT, plus the isolated tests in tests/milestone6_test.rs. The issue calls for a gossip loop, periodic and on-change STH announcements, bootstrap joining, and an end-to-end test with two daemons exchanging heads over UDP without HTTP.
Written by the indexing model from the issue text.
Description
Context
Full-ecosystem production-readiness audit (2026-11-18). The UDP gossip transport exists and is tested in isolation, but the production binary never starts it. Milestone 7 (#7, status::review) claims a "live UDP gossip socket".
Findings (evidence)
UdpGossipNodebinds a real non-blockingUdpSocket(src/udp_gossip.rs:24-68) — butmain.rsnever constructs or binds it (noUdpreference insrc/main.rs:1-31); the socket is only exercised by tests (tests/milestone6_test.rs:200-248).- There is no gossip loop/thread, no periodic STH broadcast, and no bootstrap join:
NODE_BOOTSTRAP_PEERSis documented (docs/CONFIGURATION.md:47-48) with zero matches insrc/;NODE_P2P_PORTlikewise. - In runtime, gossip only arrives via the manual HTTP endpoint
POST /v1/p2p/gossip(src/http_server.rs:178).
Impact
High: the decentralized mesh — a core product property — is pull-only and manual; nodes never announce or sync tree heads on their own.
Acceptance criteria
- The daemon starts a gossip thread bound to
NODE_P2P_LISTEN_ADDRon startup. - Periodic STH broadcast + on-change announcement, plus bootstrap join against
NODE_BOOTSTRAP_PEERS. - E2E test: two running daemon instances exchange heads over UDP without HTTP involvement.
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- Avg merge
- 4m
- Merged PRs (30d)
- 1
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from alfonsodg/sonaraim-node
-
bug(node): SigV4 presign date applies the epoch offset twice — media uploads can never validateOpenarea::node effort::s impact::medium priority::medium source::auto status::review type::bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
alfonsodg/sonaraim-node#29 · 1 comment ·
-
area::node effort::xs impact::low priority::low source::auto status::review type::docs
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
alfonsodg/sonaraim-node#28 · 1 comment ·
-
area::node effort::s impact::medium priority::low source::auto status::review type::docs
Difficulty 3/5 1-2 days Newbie friendliness 72/100
alfonsodg/sonaraim-node#27 · 1 comment ·
-
area::node effort::m impact::medium priority::medium source::user status::review type::refactor
Difficulty 1/5 Under an hour Newbie friendliness 20/100
alfonsodg/sonaraim-node#26 · 1 comment ·
-
area::node effort::m impact::high priority::medium source::auto status::review type::bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
alfonsodg/sonaraim-node#25 · 2 comments ·
All issues in alfonsodg/sonaraim-node
Similar issues
-
O-windows relnotes relnotes-needs-review relnotes-tracking-issue T-libs
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
marketing
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Maintainers usually reply within 1 day
-
num_ode_rk4_adaptive rejects atol = 0 while accepting rtol = 0 and while num_ode_dopri5 accepts bothOpenarea/ode-pde good first issue help wanted kind/contract severity/4-minor
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Apich-Organization/rssn#383 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 1 day
-
KT-2245 e2e specs that call the backend directly fall back to the developer's own Kronn on :3140Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day