Documentation ¶
Index ¶
- type BoostAPI
- func (sm *BoostAPI) ActorSectorSize(ctx context.Context, addr address.Address) (abi.SectorSize, error)
- func (sm *BoostAPI) BlockstoreGet(ctx context.Context, c cid.Cid) ([]byte, error)
- func (sm *BoostAPI) BlockstoreGetSize(ctx context.Context, c cid.Cid) (int, error)
- func (sm *BoostAPI) BlockstoreHas(ctx context.Context, c cid.Cid) (bool, error)
- func (sm *BoostAPI) BoostDagstoreDestroyShard(ctx context.Context, key string) error
- func (sm *BoostAPI) BoostDagstoreGC(ctx context.Context) ([]api.DagstoreShardResult, error)
- func (sm *BoostAPI) BoostDagstoreInitializeAll(ctx context.Context, params api.DagstoreInitializeAllParams) (<-chan api.DagstoreInitializeAllEvent, error)
- func (sm *BoostAPI) BoostDagstoreInitializeShard(ctx context.Context, key string) error
- func (sm *BoostAPI) BoostDagstoreListShards(ctx context.Context) ([]api.DagstoreShardInfo, error)
- func (sm *BoostAPI) BoostDagstorePiecesContainingMultihash(ctx context.Context, mh multihash.Multihash) ([]cid.Cid, error)
- func (sm *BoostAPI) BoostDagstoreRecoverShard(ctx context.Context, key string) error
- func (sm *BoostAPI) BoostDagstoreRegisterShard(ctx context.Context, key string) error
- func (sm *BoostAPI) BoostDeal(ctx context.Context, dealUuid uuid.UUID) (*types.ProviderDealState, error)
- func (sm *BoostAPI) BoostDealBySignedProposalCid(ctx context.Context, proposalCid cid.Cid) (*types.ProviderDealState, error)
- func (sm *BoostAPI) BoostDummyDeal(ctx context.Context, params types.DealParams) (*api.ProviderDealRejectionInfo, error)
- func (sm *BoostAPI) BoostIndexerAnnounceAllDeals(ctx context.Context) error
- func (sm *BoostAPI) BoostOfflineDealWithData(ctx context.Context, dealUuid uuid.UUID, filePath string) (*api.ProviderDealRejectionInfo, error)
- func (sm *BoostAPI) DealsConsiderOfflineRetrievalDeals(ctx context.Context) (bool, error)
- func (sm *BoostAPI) DealsConsiderOfflineStorageDeals(ctx context.Context) (bool, error)
- func (sm *BoostAPI) DealsConsiderOnlineRetrievalDeals(ctx context.Context) (bool, error)
- func (sm *BoostAPI) DealsConsiderOnlineStorageDeals(ctx context.Context) (bool, error)
- func (sm *BoostAPI) DealsConsiderUnverifiedStorageDeals(ctx context.Context) (bool, error)
- func (sm *BoostAPI) DealsConsiderVerifiedStorageDeals(ctx context.Context) (bool, error)
- func (sm *BoostAPI) DealsGetExpectedSealDurationFunc(ctx context.Context) (time.Duration, error)
- func (sm *BoostAPI) DealsPieceCidBlocklist(ctx context.Context) ([]cid.Cid, error)
- func (sm *BoostAPI) DealsSetConsiderOfflineRetrievalDeals(ctx context.Context, b bool) error
- func (sm *BoostAPI) DealsSetConsiderOfflineStorageDeals(ctx context.Context, b bool) error
- func (sm *BoostAPI) DealsSetConsiderOnlineRetrievalDeals(ctx context.Context, b bool) error
- func (sm *BoostAPI) DealsSetConsiderOnlineStorageDeals(ctx context.Context, b bool) error
- func (sm *BoostAPI) DealsSetConsiderUnverifiedStorageDeals(ctx context.Context, b bool) error
- func (sm *BoostAPI) DealsSetConsiderVerifiedStorageDeals(ctx context.Context, b bool) error
- func (sm *BoostAPI) DealsSetExpectedSealDurationFunc(ctx context.Context, d time.Duration) error
- func (sm *BoostAPI) DealsSetPieceCidBlocklist(ctx context.Context, cids []cid.Cid) error
- func (sm *BoostAPI) MarketCancelDataTransfer(ctx context.Context, transferID datatransfer.TransferID, otherPeer peer.ID, ...) error
- func (sm *BoostAPI) MarketDataTransferUpdates(ctx context.Context) (<-chan lapi.DataTransferChannel, error)
- func (sm *BoostAPI) MarketGetAsk(ctx context.Context) (*storagemarket.SignedStorageAsk, error)
- func (sm *BoostAPI) MarketGetRetrievalAsk(ctx context.Context) (*retrievalmarket.Ask, error)
- func (sm *BoostAPI) MarketImportDealData(ctx context.Context, propCid cid.Cid, path string) error
- func (sm *BoostAPI) MarketListDataTransfers(ctx context.Context) ([]lapi.DataTransferChannel, error)
- func (sm *BoostAPI) MarketListIncompleteDeals(ctx context.Context) ([]storagemarket.MinerDeal, error)
- func (sm *BoostAPI) MarketListRetrievalDeals(ctx context.Context) ([]retrievalmarket.ProviderDealState, error)
- func (sm *BoostAPI) MarketPendingDeals(ctx context.Context) (lapi.PendingDealInfo, error)
- func (sm *BoostAPI) MarketRestartDataTransfer(ctx context.Context, transferID datatransfer.TransferID, otherPeer peer.ID, ...) error
- func (sm *BoostAPI) MarketSetAsk(ctx context.Context, price types.BigInt, verifiedPrice types.BigInt, ...) error
- func (sm *BoostAPI) MarketSetRetrievalAsk(ctx context.Context, rask *retrievalmarket.Ask) error
- func (sm *BoostAPI) PiecesGetCIDInfo(ctx context.Context, payloadCid cid.Cid) (*piecestore.CIDInfo, error)
- func (sm *BoostAPI) PiecesGetMaxOffset(ctx context.Context, pieceCid cid.Cid) (uint64, error)
- func (sm *BoostAPI) PiecesGetPieceInfo(ctx context.Context, pieceCid cid.Cid) (*piecestore.PieceInfo, error)
- func (sm *BoostAPI) PiecesListCidInfos(ctx context.Context) ([]cid.Cid, error)
- func (sm *BoostAPI) PiecesListPieces(ctx context.Context) ([]cid.Cid, error)
- func (sm *BoostAPI) RuntimeSubsystems(context.Context) (res lapi.MinerSubsystems, err error)
- func (sm *BoostAPI) SectorsRefs(ctx context.Context) (map[string][]lapi.SealedRef, error)
- func (sm *BoostAPI) ServeRemote(perm bool) func(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoostAPI ¶
type BoostAPI struct { fx.In api.Common api.Net Full lapi.FullNode Host host.Host DAGStore *dagstore.DAGStore DagStoreWrapper *mktsdagstore.Wrapper IndexBackedBlockstore dtypes.IndexBackedBlockstore // Boost StorageProvider *storagemarket.Provider IndexProvider *indexprovider.Wrapper // Legacy Lotus LegacyStorageProvider lotus_storagemarket.StorageProvider // Lotus Markets SectorBlocks *sectorblocks.SectorBlocks PieceStore lotus_dtypes.ProviderPieceStore DataTransfer lotus_dtypes.ProviderDataTransfer RetrievalProvider retrievalmarket.RetrievalProvider SectorAccessor retrievalmarket.SectorAccessor DealPublisher *storageadapter.DealPublisher // Sealing Pipeline API Sps sealingpipeline.API // GraphSQL server GraphqlServer *gql.Server // Tracing Tracing *tracing.Tracing DS lotus_dtypes.MetadataDS ConsiderOnlineStorageDealsConfigFunc lotus_dtypes.ConsiderOnlineStorageDealsConfigFunc `optional:"true"` SetConsiderOnlineStorageDealsConfigFunc lotus_dtypes.SetConsiderOnlineStorageDealsConfigFunc `optional:"true"` ConsiderOnlineRetrievalDealsConfigFunc lotus_dtypes.ConsiderOnlineRetrievalDealsConfigFunc `optional:"true"` SetConsiderOnlineRetrievalDealsConfigFunc lotus_dtypes.SetConsiderOnlineRetrievalDealsConfigFunc `optional:"true"` StorageDealPieceCidBlocklistConfigFunc lotus_dtypes.StorageDealPieceCidBlocklistConfigFunc `optional:"true"` SetStorageDealPieceCidBlocklistConfigFunc lotus_dtypes.SetStorageDealPieceCidBlocklistConfigFunc `optional:"true"` ConsiderOfflineStorageDealsConfigFunc lotus_dtypes.ConsiderOfflineStorageDealsConfigFunc `optional:"true"` SetConsiderOfflineStorageDealsConfigFunc lotus_dtypes.SetConsiderOfflineStorageDealsConfigFunc `optional:"true"` ConsiderOfflineRetrievalDealsConfigFunc lotus_dtypes.ConsiderOfflineRetrievalDealsConfigFunc `optional:"true"` SetConsiderOfflineRetrievalDealsConfigFunc lotus_dtypes.SetConsiderOfflineRetrievalDealsConfigFunc `optional:"true"` ConsiderVerifiedStorageDealsConfigFunc lotus_dtypes.ConsiderVerifiedStorageDealsConfigFunc `optional:"true"` SetConsiderVerifiedStorageDealsConfigFunc lotus_dtypes.SetConsiderVerifiedStorageDealsConfigFunc `optional:"true"` ConsiderUnverifiedStorageDealsConfigFunc lotus_dtypes.ConsiderUnverifiedStorageDealsConfigFunc `optional:"true"` SetConsiderUnverifiedStorageDealsConfigFunc lotus_dtypes.SetConsiderUnverifiedStorageDealsConfigFunc `optional:"true"` SetSealingConfigFunc lotus_dtypes.SetSealingConfigFunc `optional:"true"` GetSealingConfigFunc lotus_dtypes.GetSealingConfigFunc `optional:"true"` GetExpectedSealDurationFunc lotus_dtypes.GetExpectedSealDurationFunc `optional:"true"` SetExpectedSealDurationFunc lotus_dtypes.SetExpectedSealDurationFunc `optional:"true"` }
func (*BoostAPI) ActorSectorSize ¶
func (*BoostAPI) BlockstoreGet ¶ added in v1.5.0
func (*BoostAPI) BlockstoreGetSize ¶ added in v1.5.0
func (*BoostAPI) BlockstoreHas ¶ added in v1.5.0
func (*BoostAPI) BoostDagstoreDestroyShard ¶ added in v1.3.0
func (*BoostAPI) BoostDagstoreGC ¶
func (*BoostAPI) BoostDagstoreInitializeAll ¶
func (sm *BoostAPI) BoostDagstoreInitializeAll(ctx context.Context, params api.DagstoreInitializeAllParams) (<-chan api.DagstoreInitializeAllEvent, error)
func (*BoostAPI) BoostDagstoreInitializeShard ¶
func (*BoostAPI) BoostDagstoreListShards ¶
func (*BoostAPI) BoostDagstorePiecesContainingMultihash ¶ added in v1.1.0
func (*BoostAPI) BoostDagstoreRecoverShard ¶
func (*BoostAPI) BoostDagstoreRegisterShard ¶
func (*BoostAPI) BoostDealBySignedProposalCid ¶ added in v1.1.0
func (*BoostAPI) BoostDummyDeal ¶
func (sm *BoostAPI) BoostDummyDeal(ctx context.Context, params types.DealParams) (*api.ProviderDealRejectionInfo, error)
func (*BoostAPI) BoostIndexerAnnounceAllDeals ¶
func (*BoostAPI) BoostOfflineDealWithData ¶
func (*BoostAPI) DealsConsiderOfflineRetrievalDeals ¶
func (*BoostAPI) DealsConsiderOfflineStorageDeals ¶
func (*BoostAPI) DealsConsiderOnlineRetrievalDeals ¶
func (*BoostAPI) DealsConsiderOnlineStorageDeals ¶
func (*BoostAPI) DealsConsiderUnverifiedStorageDeals ¶
func (*BoostAPI) DealsConsiderVerifiedStorageDeals ¶
func (*BoostAPI) DealsGetExpectedSealDurationFunc ¶
func (*BoostAPI) DealsPieceCidBlocklist ¶
func (*BoostAPI) DealsSetConsiderOfflineRetrievalDeals ¶
func (*BoostAPI) DealsSetConsiderOfflineStorageDeals ¶
func (*BoostAPI) DealsSetConsiderOnlineRetrievalDeals ¶
func (*BoostAPI) DealsSetConsiderOnlineStorageDeals ¶
func (*BoostAPI) DealsSetConsiderUnverifiedStorageDeals ¶
func (*BoostAPI) DealsSetConsiderVerifiedStorageDeals ¶
func (*BoostAPI) DealsSetExpectedSealDurationFunc ¶
func (*BoostAPI) DealsSetPieceCidBlocklist ¶
func (*BoostAPI) MarketCancelDataTransfer ¶
func (sm *BoostAPI) MarketCancelDataTransfer(ctx context.Context, transferID datatransfer.TransferID, otherPeer peer.ID, isInitiator bool) error
func (*BoostAPI) MarketDataTransferUpdates ¶
func (*BoostAPI) MarketGetAsk ¶
func (sm *BoostAPI) MarketGetAsk(ctx context.Context) (*storagemarket.SignedStorageAsk, error)
func (*BoostAPI) MarketGetRetrievalAsk ¶
func (*BoostAPI) MarketImportDealData ¶
func (*BoostAPI) MarketListDataTransfers ¶
func (*BoostAPI) MarketListIncompleteDeals ¶
func (*BoostAPI) MarketListRetrievalDeals ¶
func (sm *BoostAPI) MarketListRetrievalDeals(ctx context.Context) ([]retrievalmarket.ProviderDealState, error)
func (*BoostAPI) MarketPendingDeals ¶ added in v1.5.0
func (*BoostAPI) MarketRestartDataTransfer ¶
func (sm *BoostAPI) MarketRestartDataTransfer(ctx context.Context, transferID datatransfer.TransferID, otherPeer peer.ID, isInitiator bool) error
func (*BoostAPI) MarketSetAsk ¶
func (sm *BoostAPI) MarketSetAsk(ctx context.Context, price types.BigInt, verifiedPrice types.BigInt, duration abi.ChainEpoch, minPieceSize abi.PaddedPieceSize, maxPieceSize abi.PaddedPieceSize) error
func (*BoostAPI) MarketSetRetrievalAsk ¶
func (*BoostAPI) PiecesGetCIDInfo ¶
func (*BoostAPI) PiecesGetMaxOffset ¶ added in v1.1.0
func (*BoostAPI) PiecesGetPieceInfo ¶
func (*BoostAPI) PiecesListCidInfos ¶
func (*BoostAPI) PiecesListPieces ¶
func (*BoostAPI) RuntimeSubsystems ¶
func (*BoostAPI) SectorsRefs ¶ added in v1.5.0
func (*BoostAPI) ServeRemote ¶
Click to show internal directories.
Click to hide internal directories.