Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestMiner ¶
Types ¶
type ActorLookup ¶ added in v0.2.5
type MineReq ¶ added in v0.5.0
type MineReq struct { InjectNulls abi.ChainEpoch Done func(bool, abi.ChainEpoch, error) }
type Miner ¶
type Miner struct {
// contains filtered or unexported fields
}
func NewMiner ¶
func NewMiner(api api.FullNode, epp gen.WinningPoStProver, addr address.Address, sf *slashfilter.SlashFilter) *Miner
func (*Miner) GetBestMiningCandidate ¶
func (m *Miner) GetBestMiningCandidate(ctx context.Context) (*MiningBase, error)
type MiningBase ¶
type MiningBase struct { TipSet *types.TipSet NullRounds abi.ChainEpoch }
Click to show internal directories.
Click to hide internal directories.