data

package
v0.0.0-...-3f068a8 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlotDrive

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

func NewPlotDrive

func NewPlotDrive(directory string, plotFilePaths []string) *PlotDrive

func (*PlotDrive) CollectStartNonceMap

func (pd *PlotDrive) CollectStartNonceMap() map[uint64]uint64

func (*PlotDrive) GetDirectory

func (pd *PlotDrive) GetDirectory() string

func (*PlotDrive) GetPlotFiles

func (pd *PlotDrive) GetPlotFiles() []*PlotFile

func (*PlotDrive) GetSize

func (pd *PlotDrive) GetSize() uint64

type PlotFile

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

func NewPlotFile

func NewPlotFile(path string) *PlotFile

func (*PlotFile) GetFileName

func (pf *PlotFile) GetFileName() string

func (*PlotFile) GetFilePath

func (pf *PlotFile) GetFilePath() string

func (*PlotFile) GetSize

func (pf *PlotFile) GetSize() uint64

func (*PlotFile) GetStartNonce

func (pf *PlotFile) GetStartNonce() uint64

type Plots

type Plots struct {
	PlotPaths []string
	Seed      string
	// contains filtered or unexported fields
}

func NewPlots

func NewPlots(plotPaths []string, address string) *Plots

func (*Plots) GetPlotDrives

func (ps *Plots) GetPlotDrives() []*PlotDrive

func (*Plots) GetPlotFileByStartNonce

func (ps *Plots) GetPlotFileByStartNonce(startNonce uint64) *PlotFile

func (*Plots) GetSize

func (ps *Plots) GetSize() uint64

func (*Plots) GetStartNonceMap

func (ps *Plots) GetStartNonceMap() map[uint64]uint64

func (*Plots) PrintPlotFiles

func (ps *Plots) PrintPlotFiles()

Jump to

Keyboard shortcuts

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