hiero-ledger / hiero-ledger/hiero-consensus-node

CLPR-1.6: Endpoint roster update via state proof — OBSOLETE

Open
#24,512 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

## ⚠️ This issue is OBSOLETE

The `updateEndpointRoster` transaction and on-chain peer endpoint rosters have been removed from the CLPR specification.

**Why:** Propagating endpoint roster changes across N connections via on-chain state is prohibitively expensive. On Ethereum with 1000 endpoints and 1000 connections, a single endpoint change would cost ~$25K in gas.

**New design:** Peer endpoint discovery is handled entirely off-chain via gossip between endpoints:
- Seed endpoints (up to 10) are included in `ClprLedgerConfiguration` and propagated via `ConfigUpdate`
- Endpoints discover additional peers via the `discoverEndpoints` gRPC RPC
- Peer endpoint data is NOT stored in on-ledger state
- No `verifyEndpoints()` on the verifier interface
- No `EndpointJoin`/`EndpointLeave` control messages

See cross-platform spec §5.4 for the new endpoint discovery model.

Contributor guide

Open the contributing guide

Research direction

The issue is explicitly marked OBSOLETE, and the former updateEndpointRoster transaction and endpoint-roster state were removed from the specification. Read cross-platform spec §5.4 only to understand the replacement discovery model; there is no implementation change or completion test identified here.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc
Domain
distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
1/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.