wantlist

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package wantlist implements an object for bitswap that contains the keys that a given peer wants.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry = libipfs.Entry

Entry is an entry in a want list, consisting of a cid and its priority Deprecated: use github.com/ipfs/go-libipfs/bitswap/client/wantlist.Entry instead

func NewRefEntry

func NewRefEntry(c cid.Cid, p int32) Entry

NewRefEntry creates a new reference tracked wantlist entry. Deprecated: use github.com/ipfs/go-libipfs/bitswap/client/wantlist.NewRefEntry instead

type Wantlist

type Wantlist = libipfs.Wantlist

Wantlist is a raw list of wanted blocks and their priorities Deprecated: use github.com/ipfs/go-libipfs/bitswap/client/wantlist.Wantlist instead

func New

func New() *Wantlist

New generates a new raw Wantlist Deprecated: use github.com/ipfs/go-libipfs/bitswap/client/wantlist.New instead

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL