random

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0, MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RandomCmd = &cli.Command{
	Name:        "random",
	Usage:       "Show random multihashes from a random advertisement",
	Description: "For specified providers, choose an advertisement with undeleted content from a random depth between 1 and n in the chain and return m random multihashs from the first entries block.",
	Flags:       randomFlags,
	Action:      randomAction,
}

Functions

func RandomMultihashes

func RandomMultihashes(ctx context.Context, addrInfo peer.AddrInfo, topic string, adCount, mhsCount int, quiet bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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