C# Class Ipfs.Commands.IpfsBitSwap

Inheritance: Ipfs.Json.IpfsCommand
Afficher le fichier Open project: TrekDev/net-ipfs-api

Méthodes publiques

Méthode 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

Méthode Description
IpfsBitSwap ( Uri commandUri, HttpClient httpClient, IJsonSerializer jsonSerializer ) : System

Method Details

Stat() public méthode

Show some diagnostic information on the bitswap agent
public Stat ( ) : Task
Résultat Task

Unwant() public méthode

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

Wantlist() public méthode

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)
Résultat Task