Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxRequestTimeout = 30 * time.Second MaxSendMsgSize = 3 * 1024 * 1024 )
Variables ¶
View Source
var ( ErrNotHave = errors.New("no requested blocks available") ErrOverflow = errors.New("send queue overflow") )
Functions ¶
func AttachBitswapServer ¶
func AttachBitswapServer(h host.Host, bs Blockstore) error
Types ¶
Click to show internal directories.
Click to hide internal directories.