Module sc_network::bitswap[][src]

Bitswap server for substrate.

Allows querying transactions by hash over standard bitswap protocol Only supports bitswap 1.2.0. CID is expected to reference 256-bit Blake2b transaction hash.

Structs

Bitswap

Network behaviour that handles sending and receiving IPFS blocks.

BitswapConfig

Bitswap protocol config

Enums

BitswapError

Bitswap protocol error.

HandlerEvent

Internal protocol handler event.