Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2021 Changes in this version + type FullNodeAPI struct + DS dtypes.MetadataDS + func (n *FullNodeAPI) CreateBackup(ctx context.Context, fpath string) error + type StorageMinerAPI struct + AddrSel *storage.AddressSelector + BlockMiner *miner.Miner + ConsiderOfflineRetrievalDealsConfigFunc dtypes.ConsiderOfflineRetrievalDealsConfigFunc + ConsiderOfflineStorageDealsConfigFunc dtypes.ConsiderOfflineStorageDealsConfigFunc + ConsiderOnlineRetrievalDealsConfigFunc dtypes.ConsiderOnlineRetrievalDealsConfigFunc + ConsiderOnlineStorageDealsConfigFunc dtypes.ConsiderOnlineStorageDealsConfigFunc + DS dtypes.MetadataDS + DataTransfer dtypes.ProviderDataTransfer + DealPublisher *storageadapter.DealPublisher + Full api.FullNode + GetExpectedSealDurationFunc dtypes.GetExpectedSealDurationFunc + GetSealingConfigFunc dtypes.GetSealingConfigFunc + Host host.Host + IStorageMgr sectorstorage.SectorManager + Miner *storage.Miner + PieceStore dtypes.ProviderPieceStore + RetrievalProvider retrievalmarket.RetrievalProvider + SectorBlocks *sectorblocks.SectorBlocks + SetConsiderOfflineRetrievalDealsConfigFunc dtypes.SetConsiderOfflineRetrievalDealsConfigFunc + SetConsiderOfflineStorageDealsConfigFunc dtypes.SetConsiderOfflineStorageDealsConfigFunc + SetConsiderOnlineRetrievalDealsConfigFunc dtypes.SetConsiderOnlineRetrievalDealsConfigFunc + SetConsiderOnlineStorageDealsConfigFunc dtypes.SetConsiderOnlineStorageDealsConfigFunc + SetExpectedSealDurationFunc dtypes.SetExpectedSealDurationFunc + SetSealingConfigFunc dtypes.SetSealingConfigFunc + SetStorageDealPieceCidBlocklistConfigFunc dtypes.SetStorageDealPieceCidBlocklistConfigFunc + StorageDealPieceCidBlocklistConfigFunc dtypes.StorageDealPieceCidBlocklistConfigFunc + StorageMgr *sectorstorage.Manager + StorageProvider storagemarket.StorageProvider + func (sm *StorageMinerAPI) ActorAddress(context.Context) (address.Address, error) + func (sm *StorageMinerAPI) ActorAddressConfig(ctx context.Context) (api.AddressConfig, error) + func (sm *StorageMinerAPI) ActorSectorSize(ctx context.Context, addr address.Address) (abi.SectorSize, error) + func (sm *StorageMinerAPI) CheckProvable(ctx context.Context, pp abi.RegisteredPoStProof, sectors []sto.SectorRef, ...) (map[abi.SectorNumber]string, error) + func (sm *StorageMinerAPI) CreateBackup(ctx context.Context, fpath string) error + func (sm *StorageMinerAPI) DealsConsiderOfflineRetrievalDeals(ctx context.Context) (bool, error) + func (sm *StorageMinerAPI) DealsConsiderOfflineStorageDeals(ctx context.Context) (bool, error) + func (sm *StorageMinerAPI) DealsConsiderOnlineRetrievalDeals(ctx context.Context) (bool, error) + func (sm *StorageMinerAPI) DealsConsiderOnlineStorageDeals(ctx context.Context) (bool, error) + func (sm *StorageMinerAPI) DealsGetExpectedSealDurationFunc(ctx context.Context) (time.Duration, error) + func (sm *StorageMinerAPI) DealsImportData(ctx context.Context, deal cid.Cid, fname string) error + func (sm *StorageMinerAPI) DealsList(ctx context.Context) ([]api.MarketDeal, error) + func (sm *StorageMinerAPI) DealsPieceCidBlocklist(ctx context.Context) ([]cid.Cid, error) + func (sm *StorageMinerAPI) DealsSetConsiderOfflineRetrievalDeals(ctx context.Context, b bool) error + func (sm *StorageMinerAPI) DealsSetConsiderOfflineStorageDeals(ctx context.Context, b bool) error + func (sm *StorageMinerAPI) DealsSetConsiderOnlineRetrievalDeals(ctx context.Context, b bool) error + func (sm *StorageMinerAPI) DealsSetConsiderOnlineStorageDeals(ctx context.Context, b bool) error + func (sm *StorageMinerAPI) DealsSetExpectedSealDurationFunc(ctx context.Context, d time.Duration) error + func (sm *StorageMinerAPI) DealsSetPieceCidBlocklist(ctx context.Context, cids []cid.Cid) error + func (sm *StorageMinerAPI) MarketCancelDataTransfer(ctx context.Context, transferID datatransfer.TransferID, otherPeer peer.ID, ...) error + func (sm *StorageMinerAPI) MarketDataTransferUpdates(ctx context.Context) (<-chan api.DataTransferChannel, error) + func (sm *StorageMinerAPI) MarketGetAsk(ctx context.Context) (*storagemarket.SignedStorageAsk, error) + func (sm *StorageMinerAPI) MarketGetDealUpdates(ctx context.Context) (<-chan storagemarket.MinerDeal, error) + func (sm *StorageMinerAPI) MarketGetRetrievalAsk(ctx context.Context) (*retrievalmarket.Ask, error) + func (sm *StorageMinerAPI) MarketImportDealData(ctx context.Context, propCid cid.Cid, path string) error + func (sm *StorageMinerAPI) MarketListDataTransfers(ctx context.Context) ([]api.DataTransferChannel, error) + func (sm *StorageMinerAPI) MarketListDeals(ctx context.Context) ([]api.MarketDeal, error) + func (sm *StorageMinerAPI) MarketListIncompleteDeals(ctx context.Context) ([]storagemarket.MinerDeal, error) + func (sm *StorageMinerAPI) MarketListRetrievalDeals(ctx context.Context) ([]retrievalmarket.ProviderDealState, error) + func (sm *StorageMinerAPI) MarketPendingDeals(ctx context.Context) (api.PendingDealInfo, error) + func (sm *StorageMinerAPI) MarketPublishPendingDeals(ctx context.Context) error + func (sm *StorageMinerAPI) MarketRestartDataTransfer(ctx context.Context, transferID datatransfer.TransferID, otherPeer peer.ID, ...) error + func (sm *StorageMinerAPI) MarketSetAsk(ctx context.Context, price types.BigInt, verifiedPrice types.BigInt, ...) error + func (sm *StorageMinerAPI) MarketSetRetrievalAsk(ctx context.Context, rask *retrievalmarket.Ask) error + func (sm *StorageMinerAPI) MiningBase(ctx context.Context) (*types.TipSet, error) + func (sm *StorageMinerAPI) PiecesGetCIDInfo(ctx context.Context, payloadCid cid.Cid) (*piecestore.CIDInfo, error) + func (sm *StorageMinerAPI) PiecesGetPieceInfo(ctx context.Context, pieceCid cid.Cid) (*piecestore.PieceInfo, error) + func (sm *StorageMinerAPI) PiecesListCidInfos(ctx context.Context) ([]cid.Cid, error) + func (sm *StorageMinerAPI) PiecesListPieces(ctx context.Context) ([]cid.Cid, error) + func (sm *StorageMinerAPI) PledgeSector(ctx context.Context) (abi.SectorID, error) + func (sm *StorageMinerAPI) RetrievalDealsList(ctx context.Context) (map[retrievalmarket.ProviderDealIdentifier]retrievalmarket.ProviderDealState, ...) + func (sm *StorageMinerAPI) SealingAbort(ctx context.Context, call storiface.CallID) error + func (sm *StorageMinerAPI) SealingSchedDiag(ctx context.Context, doSched bool) (interface{}, error) + func (sm *StorageMinerAPI) SectorGetExpectedSealDuration(ctx context.Context) (time.Duration, error) + func (sm *StorageMinerAPI) SectorGetSealDelay(ctx context.Context) (time.Duration, error) + func (sm *StorageMinerAPI) SectorRemove(ctx context.Context, id abi.SectorNumber) error + func (sm *StorageMinerAPI) SectorSetExpectedSealDuration(ctx context.Context, delay time.Duration) error + func (sm *StorageMinerAPI) SectorSetSealDelay(ctx context.Context, delay time.Duration) error + func (sm *StorageMinerAPI) SectorStartSealing(ctx context.Context, number abi.SectorNumber) error + func (sm *StorageMinerAPI) SectorTerminate(ctx context.Context, id abi.SectorNumber) error + func (sm *StorageMinerAPI) SectorTerminateFlush(ctx context.Context) (*cid.Cid, error) + func (sm *StorageMinerAPI) SectorTerminatePending(ctx context.Context) ([]abi.SectorID, error) + func (sm *StorageMinerAPI) SectorsList(context.Context) ([]abi.SectorNumber, error) + func (sm *StorageMinerAPI) SectorsListInStates(ctx context.Context, states []api.SectorState) ([]abi.SectorNumber, error) + func (sm *StorageMinerAPI) SectorsRefs(context.Context) (map[string][]api.SealedRef, error) + func (sm *StorageMinerAPI) SectorsStatus(ctx context.Context, sid abi.SectorNumber, showOnChainInfo bool) (api.SectorInfo, error) + func (sm *StorageMinerAPI) SectorsSummary(ctx context.Context) (map[api.SectorState]int, 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) (fsutil.FsStat, error) + func (sm *StorageMinerAPI) WorkerConnect(ctx context.Context, url string) error + func (sm *StorageMinerAPI) WorkerJobs(ctx context.Context) (map[uuid.UUID][]storiface.WorkerJob, error) + func (sm *StorageMinerAPI) WorkerStats(context.Context) (map[uuid.UUID]storiface.WorkerStats, error)