Documentation ¶
Index ¶
- type MinerAPI
- func (m *MinerAPI) CountWinners(ctx context.Context, addrs []address.Address, start abi.ChainEpoch, ...) ([]types.CountWinners, error)
- func (m *MinerAPI) ListAddress(ctx context.Context) ([]types.MinerInfo, error)
- func (m *MinerAPI) ListBlocks(ctx context.Context, params *types.BlocksQueryParams) ([]types.MinedBlock, error)
- func (m *MinerAPI) QueryRecord(ctx context.Context, params *types.QueryRecordParams) ([]map[string]string, error)
- func (m *MinerAPI) Start(ctx context.Context, addrs []address.Address) error
- func (m *MinerAPI) StatesForMining(ctx context.Context, addrs []address.Address) ([]types.MinerState, error)
- func (m *MinerAPI) Stop(ctx context.Context, addrs []address.Address) error
- func (m *MinerAPI) UpdateAddress(ctx context.Context, skip int64, limit int64) ([]types.MinerInfo, error)
- func (m *MinerAPI) WarmupForMiner(ctx context.Context, maddr address.Address) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinerAPI ¶
func (*MinerAPI) CountWinners ¶
func (m *MinerAPI) CountWinners(ctx context.Context, addrs []address.Address, start abi.ChainEpoch, end abi.ChainEpoch) ([]types.CountWinners, error)
func (*MinerAPI) ListAddress ¶
func (*MinerAPI) ListBlocks ¶ added in v1.13.0
func (m *MinerAPI) ListBlocks(ctx context.Context, params *types.BlocksQueryParams) ([]types.MinedBlock, error)
func (*MinerAPI) QueryRecord ¶ added in v1.13.0
func (*MinerAPI) StatesForMining ¶
func (*MinerAPI) UpdateAddress ¶
Click to show internal directories.
Click to hide internal directories.