Documentation ¶
Index ¶
- type FullNodeAPI
- type StorageMinerAPI
- func (sm *StorageMinerAPI) ActorAddress(context.Context) (address.Address, error)
- func (sm *StorageMinerAPI) ActorSectorSize(ctx context.Context, addr address.Address) (abi.SectorSize, error)
- func (sm *StorageMinerAPI) DealsImportData(ctx context.Context, deal cid.Cid, fname string) error
- func (sm *StorageMinerAPI) DealsList(ctx context.Context) ([]storagemarket.StorageDeal, error)
- func (sm *StorageMinerAPI) MarketImportDealData(ctx context.Context, propCid cid.Cid, path string) error
- func (sm *StorageMinerAPI) MarketListDeals(ctx context.Context) ([]storagemarket.StorageDeal, error)
- func (sm *StorageMinerAPI) MarketListIncompleteDeals(ctx context.Context) ([]storagemarket.MinerDeal, error)
- func (sm *StorageMinerAPI) MarketSetPrice(ctx context.Context, p types.BigInt) error
- func (sm *StorageMinerAPI) MiningBase(ctx context.Context) (*types.TipSet, error)
- func (sm *StorageMinerAPI) PledgeSector(ctx context.Context) error
- func (sm *StorageMinerAPI) SectorsList(context.Context) ([]abi.SectorNumber, error)
- func (sm *StorageMinerAPI) SectorsRefs(context.Context) (map[string][]api.SealedRef, error)
- func (sm *StorageMinerAPI) SectorsStatus(ctx context.Context, sid abi.SectorNumber) (api.SectorInfo, error)
- func (sm *StorageMinerAPI) SectorsUpdate(ctx context.Context, id abi.SectorNumber, state api.SectorState) error
- func (sm *StorageMinerAPI) ServeRemote(w http.ResponseWriter, r *http.Request)
- func (sm *StorageMinerAPI) StorageAddLocal(ctx context.Context, path string) error
- func (sm *StorageMinerAPI) StorageLocal(ctx context.Context) (map[stores.ID]string, error)
- func (sm *StorageMinerAPI) StorageStat(ctx context.Context, id stores.ID) (stores.FsStat, error)
- func (sm *StorageMinerAPI) WorkerConnect(ctx context.Context, url string) error
- func (sm *StorageMinerAPI) WorkerStats(context.Context) (map[uint64]storiface.WorkerStats, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FullNodeAPI ¶
type StorageMinerAPI ¶
type StorageMinerAPI struct { common.CommonAPI ProofsConfig *ffiwrapper.Config SectorBlocks *sectorblocks.SectorBlocks StorageProvider storagemarket.StorageProvider Miner *storage.Miner BlockMiner *miner.Miner Full api.FullNode StorageMgr *sectorstorage.Manager `optional:"true"` *stores.Index }
func (*StorageMinerAPI) ActorAddress ¶
func (sm *StorageMinerAPI) ActorAddress(context.Context) (address.Address, error)
func (*StorageMinerAPI) ActorSectorSize ¶
func (sm *StorageMinerAPI) ActorSectorSize(ctx context.Context, addr address.Address) (abi.SectorSize, error)
func (*StorageMinerAPI) DealsImportData ¶ added in v0.3.0
func (sm *StorageMinerAPI) DealsImportData(ctx context.Context, deal cid.Cid, fname string) error
func (*StorageMinerAPI) DealsList ¶ added in v0.3.0
func (sm *StorageMinerAPI) DealsList(ctx context.Context) ([]storagemarket.StorageDeal, error)
func (*StorageMinerAPI) MarketImportDealData ¶ added in v0.3.0
func (sm *StorageMinerAPI) MarketImportDealData(ctx context.Context, propCid cid.Cid, path string) error
func (*StorageMinerAPI) MarketListDeals ¶ added in v0.3.0
func (sm *StorageMinerAPI) MarketListDeals(ctx context.Context) ([]storagemarket.StorageDeal, error)
func (*StorageMinerAPI) MarketListIncompleteDeals ¶ added in v0.3.0
func (sm *StorageMinerAPI) MarketListIncompleteDeals(ctx context.Context) ([]storagemarket.MinerDeal, error)
func (*StorageMinerAPI) MarketSetPrice ¶ added in v0.3.0
func (*StorageMinerAPI) MiningBase ¶ added in v0.3.0
func (*StorageMinerAPI) PledgeSector ¶
func (sm *StorageMinerAPI) PledgeSector(ctx context.Context) error
func (*StorageMinerAPI) SectorsList ¶
func (sm *StorageMinerAPI) SectorsList(context.Context) ([]abi.SectorNumber, error)
List all staged sectors
func (*StorageMinerAPI) SectorsRefs ¶
func (*StorageMinerAPI) SectorsStatus ¶
func (sm *StorageMinerAPI) SectorsStatus(ctx context.Context, sid abi.SectorNumber) (api.SectorInfo, error)
func (*StorageMinerAPI) SectorsUpdate ¶
func (sm *StorageMinerAPI) SectorsUpdate(ctx context.Context, id abi.SectorNumber, state api.SectorState) error
func (*StorageMinerAPI) ServeRemote ¶
func (sm *StorageMinerAPI) ServeRemote(w http.ResponseWriter, r *http.Request)
func (*StorageMinerAPI) StorageAddLocal ¶ added in v0.3.0
func (sm *StorageMinerAPI) StorageAddLocal(ctx context.Context, path string) error
func (*StorageMinerAPI) StorageLocal ¶ added in v0.3.0
func (*StorageMinerAPI) StorageStat ¶ added in v0.3.0
func (*StorageMinerAPI) WorkerConnect ¶ added in v0.3.0
func (sm *StorageMinerAPI) WorkerConnect(ctx context.Context, url string) error
func (*StorageMinerAPI) WorkerStats ¶
func (sm *StorageMinerAPI) WorkerStats(context.Context) (map[uint64]storiface.WorkerStats, error)
Click to show internal directories.
Click to hide internal directories.