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.
Click to show internal directories.
Click to hide internal directories.