casper-network / casper-network/roadmap

JSON RPC 2.0

Open
#56 1 comment 3 reactions 1 assignee Claimed by @goral09 View on GitHub
downstream ecosystem Epic P2
Dominant language
No language data
Stars
12
Forks
2
PR merge metrics
No merged PRs in 30d

Description

## Required node endpoints

1. **GET** `/peers` – returns IPs of peers that the node knows of. Light clients need to be able to find new nodes they can ask for data.
2. **GET** `/blocks/signatures/{blockhash}` – returns collection of signatures for the block identifiable by the `blockhash`. Light clients need to verify that the block headers were signed by enough validators.
3. **GET** `/blocks/headers/switchblocks?era_id={eraid}` – returns a header of a switch block that era. Light client uses that to synchronize by eras, instead of every block individually.
4. **GET** `/blocks/headers?height={height}` – returns a block header of the block identifiable by the `height`.
5. **GET** `/blocks/headers?hash={hash}` – returns a block header of the block identifiable by the `blockhash`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.