-
Notifications
You must be signed in to change notification settings - Fork 75
Bitswap protocol support & RPC endpoints #3140
Copy link
Copy link
Open
Description
For retrieving data from bulletin chain nodes using smoldot we need to support Bitswap protocol. Server-side support of Bitswap is already implemented in substrate, so we just need to implement client support on smoldot side. Additionally, we need to expose two RPC methods for data fetching via Bitswap:
bitswap_v1_get(cid)for synchronous download of a single CID.bitswap_v1_stream(cids)for requesting multiple CIDs. Chunks are returned (streamed) as they are downloaded from the peers.
The RPC endpoints will be defined in https://github.com/paritytech/json-rpc-interface-spec/.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels