Documentation
¶
Index ¶
- func CmdAndChangeDirToFile(commandName string, params []string)
- func GetChieExec(ChiaAppPath string) (ChiaExec string)
- func GetCurrentPath() (string, error)
- func IsDir(path string) bool
- func IsExist(path string) bool
- func PathExists(path string) (bool, error)
- type Config
- type Plot
- func (p *Plot) Bladebit(config *Config) error
- func (p *Plot) Chia(config *Config) error
- func (p *Plot) FastPos(config *Config) error
- func (p *Plot) FormatProgressShow(line string)
- func (p *Plot) MakeBladeBit(confYaml Config) []string
- func (p *Plot) MakeChiaPlots(confYaml Config) []string
- func (p *Plot) MakeChiaPos(confYaml Config) []string
- func (p *Plot) MakeFastPos(confYaml Config) []string
- func (p *Plot) Pos(config *Config) error
- func (p *Plot) RunExec(ChiaExec, plotnum string, args ...string) (b bool, e error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CmdAndChangeDirToFile ¶
func GetChieExec ¶
func GetCurrentPath ¶
func PathExists ¶
Types ¶
type Config ¶
type Config struct {
NumPlots int `yaml:"NumPlots"`
KSize int `yaml:"KSize"`
Stripes int `yaml:"Stripes"`
Buffer int `yaml:"Buffer"`
Threads int `yaml:"Threads"`
Rmulti2 int `yaml:"Rmulti2"`
Buckets int `yaml:"Buckets"`
NoBitfield bool `yaml:"NoBitfield"`
Progress bool `yaml:"Progress"`
TempPath string `yaml:"TempPath"`
Temp2Path string `yaml:"Temp2Path"`
FinalPath string `yaml:"FinalPath"`
Total int `yaml:"Total"`
Sleep int `yaml:"Sleep"`
LogPath string `yaml:"LogPath"`
FarmePublicKey string `yaml:"FarmePublicKey"`
PoolPublicKey string `yaml:"PoolPublicKey"`
PoolContractAddress string `yaml:"PoolContractAddress"`
LocalSk string `yaml:"LocalSk"`
}
type Plot ¶
type Plot struct {
LogPath string
PlotID string
LogFile string
Phase int
Len int
Buckets int
Table int
EndPhase int
PhaseTime [4]int64
// contains filtered or unexported fields
}
func (*Plot) FormatProgressShow ¶
func (*Plot) MakeBladeBit ¶
func (*Plot) MakeChiaPlots ¶
func (*Plot) MakeChiaPos ¶
func (*Plot) MakeFastPos ¶
Click to show internal directories.
Click to hide internal directories.