Documentation ¶
Index ¶
Constants ¶
View Source
const (
// maximum block we'll read is 4mb
MaxBlockSize = 1024 * 1024 * 4
)
Variables ¶
View Source
var ( // ProtocolBitswapNoVers is a legacy bitswap protocol id ProtocolBitswapNoVers protocol.ID = "/ipfs/bitswap" // ProtocolBitswapOneZero is the prefix for the legacy bitswap protocol ProtocolBitswapOneZero protocol.ID = "/ipfs/bitswap/1.0.0" // ProtocolBitswapOneOne is the the prefix for version 1.1.0 ProtocolBitswapOneOne protocol.ID = "/ipfs/bitswap/1.1.0" // ProtocolBitswap is the current version of the bitswap protocol: 1.2.0 ProtocolBitswap protocol.ID = "/ipfs/bitswap/1.2.0" )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.