Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 5da55ee

Browse files
committed
feat: add bitswap.unwant javascript spec
1 parent 6e68a26 commit 5da55ee

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

SPEC/BITSWAP.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,18 @@ Bitswap API
33

44
#### `wantlist` (not spec'ed yet)
55

6-
#### `unwant` (not spec'ed yet)
6+
#### `unwant`
7+
8+
> Removes a given block from your wantlist
9+
10+
##### `Go` **WIP**
11+
12+
##### `JavaScript` - ipfs.bitswap.unwant(cid)
13+
14+
`cid` is a [cid][cid] which can be passed as:
15+
16+
- CID, a CID instance
17+
- String, the base58 encoded version of the multihash
718

819
#### `stat`
920

0 commit comments

Comments
 (0)