web3-0.9.1.0: Web3 API for Haskell.

CopyrightAlexander Krupenkin 2016
LicenseBSD3
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.