eradl

package
v1.16.48 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2025 License: GPL-3.0, BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package eradl implements downloading of era1 files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

type Loader struct {
	// contains filtered or unexported fields
}

func New

func New(baseURL string, network string) (*Loader, error)

New creates an era1 loader for the given server URL and network name.

func (*Loader) DownloadAll

func (l *Loader) DownloadAll(destDir string) error

DownloadAll downloads all known era1 files to the given directory.

func (*Loader) DownloadBlockRange

func (l *Loader) DownloadBlockRange(start, end uint64, destDir string) error

DownloadBlockRange fetches the era1 files for the given block range.

func (*Loader) DownloadEpochRange

func (l *Loader) DownloadEpochRange(start, end uint64, destDir string) error

DownloadEpochRange fetches the era1 files in the given epoch range.

Jump to

Keyboard shortcuts

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