MCPcopy Create free account
hub / github.com/ethstorage/es-node / NewDownloaderConfig

Function NewDownloaderConfig

cmd/es-node/config.go:269–275  ·  view source on GitHub ↗
(ctx *cli.Context)

Source from the content-addressed store, hash-verified

267}
268
269func NewDownloaderConfig(ctx *cli.Context) *downloader.Config {
270 return &downloader.Config{
271 DownloadStart: ctx.GlobalInt64(flags.DownloadStart.Name),
272 DownloadDump: ctx.GlobalString(flags.DownloadDump.Name),
273 DownloadThreadNum: ctx.GlobalInt(flags.DownloadThreadNum.Name),
274 }
275}

Callers 1

NewConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected