minpower

package
v0.0.0-...-c53eb01 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LookupPower

func LookupPower(ctx context.Context, miner string) (*lotusapi.MinerPower, error)

LookupPower gets the power for the miner from the Lotus API

func MinQualityPowerOk

func MinQualityPowerOk(ctx context.Context, miner string, min *big.Int) (bool, error)

MinQualityPowerOk compares the power from the API for miner against a minimum

Types

This section is empty.

Jump to

Keyboard shortcuts

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