View Source MyspaceIPFS.Bootstrap (Myspace IPFS v0.1.0)

MyspaceIPFS.Bootstrap is where the bootstrap commands of the IPFS API reside.

Link to this section Summary

Functions

Add peers to the bootstrap list.

Add default peers to the bootstrap list.

List peers in bootstrap list.

Show peers in bootstrap list.

Remove peer to the bootstrap list.

Remove all peers from the bootstrap list.

Link to this section Functions

@spec add(binary()) :: okmapped()

Add peers to the bootstrap list.

parameters

Parameters

https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-bootstrap-add peer - The peer ID to add to the bootstrap list. The format is a multiaddr in the form of <multiaddr>/<peerID>

@spec add_default() :: okmapped()

Add default peers to the bootstrap list.

parameters

Parameters

https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-bootstrap-add-default

@spec bootstrap() :: okmapped()

List peers in bootstrap list.

@spec list() :: okmapped()

Show peers in bootstrap list.

parameters

Parameters

https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-bootstrap-list

@spec rm(binary()) :: okmapped()

Remove peer to the bootstrap list.

parameters

Parameters

https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-bootstrap-rm peer - The peer ID to remove from the bootstrap list. The format is a multiaddr in the form of <multiaddr>/<peerID>

@spec rm_all() :: okmapped()

Remove all peers from the bootstrap list.

parameters

Parameters

https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-bootstrap-rm-all