Show / Hide Table of Contents

Repository

The repository is a local persistent store for IPFS data. By default, it is located at $HOME/.csipfs. If not present, the IPFS Engine will create it with the factory defaults.

To change its name and/or location use the environment variables or the Repository Options.

The Block Repository API manages the blocks in the repository.

Creating

The repository will be automatically created if it does not already exist.

At creation time a cryptograhic key named self is created and is used to uniquely identify this node in the IPFS network. The keychain options are used to control the type of key that is generated; by default it is RSA with 2048 bits.

Contents

File/Folder Usage Description
config Config API The configuration information
blocks Block API A Block of data
keys Key API Cryptographic keys
pins Pin API A Block that is pinned to the local repository
swarm.key Swarmp API The key of the private network
version Repository API The version number of the repository
  • Improve this Doc
Back to top Generated by DocFX