Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MiningAPI ¶
type MiningAPI struct {
Ming *MiningModule
}
func (*MiningAPI) MinerCreateBlock ¶
func (*MiningAPI) MinerGetBaseInfo ¶
func (miningAPI *MiningAPI) MinerGetBaseInfo(ctx context.Context, maddr address.Address, round abi.ChainEpoch, tsk types.TipSetKey) (*apitypes.MiningBaseInfo, error)
type MiningModule ¶
type MiningModule struct { Config miningConfig ChainModule *chain2.ChainSubmodule BlockStore *blockstore.BlockstoreSubmodule NetworkModule *network.NetworkSubmodule SyncModule *syncer.SyncerSubmodule Wallet wallet.WalletSubmodule // contains filtered or unexported fields }
func NewMiningModule ¶
func NewMiningModule( conf miningConfig, chainModule *chain2.ChainSubmodule, blockStore *blockstore.BlockstoreSubmodule, networkModule *network.NetworkSubmodule, syncModule *syncer.SyncerSubmodule, wallet wallet.WalletSubmodule, proofVerifier ffiwrapper.Verifier, ) *MiningModule
func (*MiningModule) API ¶
func (miningModule *MiningModule) API() apiface.IMining
func (*MiningModule) V0API ¶ added in v0.9.7
func (miningModule *MiningModule) V0API() apiface.IMining
Click to show internal directories.
Click to hide internal directories.