View Source MyspaceIPFS.Dht (Myspace IPFS v0.1.0)
MyspaceIPFS.Dht is where the dht commands of the IPFS API reside.
Link to this section Summary
Functions
Find the closest peers to a given key.
Link to this section Functions
@spec query(peer_id()) :: okresult()
Find the closest peers to a given key.
parameters
Parameters
peer_id
- The peer ID to find the closest peers to.
options
Options
https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-dht-query
[
`verbose` - <bool>, # Print extra information.
]