web3-ipfs-1.0.0.0: IPFS support for Haskell Web3 library.
CopyrightAleksandr Krupenkin 2016-2021
LicenseApache-2.0
Maintainermail@akru.me
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Network.Ipfs.Api.Dht

Description

Api calls with dht prefix.

Synopsis

Documentation

findPeer :: MonadIO m => Text -> m () Source #

Find the multiaddresses associated with the given peerId.

findProvs :: MonadIO m => Text -> m () Source #

Find peers that can provide a specific value, given a key.

get :: MonadIO m => Text -> m () Source #

Given a key, query the routing system for its best value.

provide :: MonadIO m => Text -> m () Source #

Announce to the network that you are providing given values.

query :: MonadIO m => Text -> m () Source #

Find the closest Peer IDs to a given peerID by querying the DHT.