verify

package
v3.0.0-alpha5.0...-c974331 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SrcFlag = cli.StringFlag{
		Name:     "src",
		Usage:    `Source location for verification files (torrent,hash,manifest)`,
		Required: false,
	}
	DstFlag = cli.StringFlag{
		Name:     "dst",
		Usage:    `Destination location containiong copies to be verified`,
		Required: true,
	}
	ChainFlag = cli.StringFlag{
		Name:     "chain",
		Usage:    `The chain being validated, required if not included src or dst naming`,
		Required: false,
	}
	TorrentsFlag = cli.BoolFlag{
		Name:     "torrents",
		Usage:    `Verify against torrent files`,
		Required: false,
	}

	HashesFlag = cli.BoolFlag{
		Name:     "hashes",
		Usage:    `Verify against hash .toml contents`,
		Required: false,
	}

	ManifestFlag = cli.BoolFlag{
		Name:     "manifest",
		Usage:    `Verify against manifest .txt contents`,
		Required: false,
	}
)
View Source
var Command = cli.Command{
	Action:    verify,
	Name:      "verify",
	Usage:     "verify snapshot segments against hashes and torrents",
	ArgsUsage: "<start block> <end block>",
	Flags: []cli.Flag{
		&SrcFlag,
		&DstFlag,
		&ChainFlag,
		&flags.SegTypes,
		&TorrentsFlag,
		&HashesFlag,
		&ManifestFlag,
		&utils.WebSeedsFlag,
		&utils.NATFlag,
		&utils.DisableIPV6,
		&utils.DisableIPV4,
		&utils.TorrentDownloadRateFlag,
		&utils.TorrentUploadRateFlag,
		&utils.TorrentVerbosityFlag,
		&utils.TorrentPortFlag,
		&utils.TorrentMaxPeersFlag,
		&utils.TorrentConnsPerFileFlag,
	},
	Description: ``,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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