ipni-minimal-publisher

command module
v0.0.0-...-12f0740 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2023 License: Apache-2.0, MIT Imports: 28 Imported by: 0

README

Minimal IPNI Publisher

This is a small stand-alone service. It exposes a webserver interface, and is a libp2p bitswap peer. Requests to the web serve will cause the publisher to take the following steps:

  1. A random 1kb of data will be created into a 'block' of data.
  2. The block of data will be added to a local data store, and will be made available over bitswap.
  3. The CID of the block will be advertised as available by this publisher to the IPNI network indexers
  4. The CID of the block will be returned to the caller.

This provides a simple way to get a new, unique CID that is available over the IPNI network.

License

SPDX-License-Identifier: Apache-2.0 OR MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL