Crate beetle_bitswap_next

Crate beetle_bitswap_next 

Source
Expand description

Implements handling of the bitswap protocol. Based on go-ipfs.

Supports the versions 1.0.0, 1.1.0 and 1.2.0.

Modules§

message
peer_task_queue
Based on https://github.com/ipfs/go-peertaskqueue.
session

Structs§

Bitswap
Block
A wrapper around bytes with their Cid.
Config
ProtocolConfig
Server
ServerConfig

Enums§

BitswapEvent
ProtocolId

Traits§

Store

Functions§

create_block_v0
create_block_v1
create_random_block_v1
verify_hash