Show / Hide Table of Contents

Interface IDhtApi

Manages the Distributed Hash Table.

Inherited Members
IPeerRouting.FindPeerAsync(MultiHash, CancellationToken)
IContentRouting.ProvideAsync(Cid, Boolean, CancellationToken)
IContentRouting.FindProvidersAsync(Cid, Int32, Action<Peer>, CancellationToken)
IValueStore.GetAsync(Byte[], CancellationToken)
IValueStore.TryGetAsync(Byte[], Byte[], CancellationToken)
IValueStore.PutAsync(Byte[], Byte[], CancellationToken)
Namespace: Ipfs.CoreApi
Assembly: Ipfs.Core.dll
Syntax
public interface IDhtApi : IPeerRouting, IContentRouting, IValueStore
Remarks

The DHT is a place to store, not the value, but pointers to peers who have the actual value.

See the ongoing DHT specification at https://github.com/libp2p/specs/pull/108

See Also

DHT API spec
  • Improve this Doc
  • View Source
Back to top Generated by DocFX