C# Class Ipfs.Commands.IpfsBitSwap

Inheritance: Ipfs.Json.IpfsCommand
Mostrar archivo Open project: TrekDev/net-ipfs-api

Public Methods

Method Description
Stat ( ) : Task

Show some diagnostic information on the bitswap agent

Unwant ( string key ) : Task

Remove a given block from your wantlist

Wantlist ( string peer = null ) : Task

Show blocks currently on the wantlist Print out all blocks currently on the bitswap wantlist for the local peer

Private Methods

Method Description
IpfsBitSwap ( Uri commandUri, HttpClient httpClient, IJsonSerializer jsonSerializer ) : System

Method Details

Stat() public method

Show some diagnostic information on the bitswap agent
public Stat ( ) : Task
return Task

Unwant() public method

Remove a given block from your wantlist
public Unwant ( string key ) : Task
key string key to remove from your wantlist
return Task

Wantlist() public method

Show blocks currently on the wantlist Print out all blocks currently on the bitswap wantlist for the local peer
public Wantlist ( string peer = null ) : Task
peer string specify which peer to show wantlist for (default self)
return Task