add info method to miner state API

This commit is contained in:
Steven Allen 2020-09-14 15:45:00 -07:00
parent cc4d5306eb
commit 7fa6c1e8d0

View File

@ -35,6 +35,7 @@ type State interface {
LoadDeadline(idx uint64) (Deadline, error) LoadDeadline(idx uint64) (Deadline, error)
ForEachDeadline(cb func(idx uint64, dl Deadline) error) error ForEachDeadline(cb func(idx uint64, dl Deadline) error) error
NumDeadlines() (uint64, error) NumDeadlines() (uint64, error)
Info() (MinerInfo, error)
} }
type Deadline interface { type Deadline interface {