Documentation ¶
Index ¶
- Constants
- Variables
- func APISecret(keystore types.KeyStore, lr repo.LockedRepo) (*dtypes.APIAlg, error)
- func BuiltinBootstrap() (dtypes.BootstrapPeers, error)
- func BuiltinDrandConfig() dtypes.DrandConfig
- func ChainBlockservice(bs dtypes.ChainBlockstore, rem dtypes.ChainExchange) dtypes.ChainBlockService
- func ChainBlockstore(lc fx.Lifecycle, mctx helpers.MetricsCtx, r repo.LockedRepo) (dtypes.ChainBlockstore, error)
- func ChainExchange(mctx helpers.MetricsCtx, lc fx.Lifecycle, host host.Host, rt routing.Routing, ...) dtypes.ChainExchange
- func ChainGCBlockstore(bs dtypes.ChainBlockstore, gcl dtypes.ChainGCLocker) dtypes.ChainGCBlockstore
- func ChainStore(lc fx.Lifecycle, bs dtypes.ChainBlockstore, ds dtypes.MetadataDS, ...) *store.ChainStore
- func ClientBlockstore(fstore dtypes.ClientFilestore) dtypes.ClientBlockstore
- func ClientDAG(mctx helpers.MetricsCtx, lc fx.Lifecycle, ibs dtypes.ClientBlockstore, ...) dtypes.ClientDAG
- func ClientFstore(r repo.LockedRepo) (dtypes.ClientFilestore, error)
- func ConfigBootstrap(peers []string) func() (dtypes.BootstrapPeers, error)
- func Datastore(r repo.LockedRepo) (dtypes.MetadataDS, error)
- func DoSetGenesis(_ dtypes.AfterGenesisSet)
- func DrandBootstrap() (dtypes.DrandBootstrap, error)
- func GetParams(sbc *ffiwrapper.Config) error
- func Graphsync(mctx helpers.MetricsCtx, lc fx.Lifecycle, clientBs dtypes.ClientBlockstore, ...) (dtypes.Graphsync, error)
- func HandleDeals(mctx helpers.MetricsCtx, lc fx.Lifecycle, host host.Host, ...)
- func HandleIncomingBlocks(mctx helpers.MetricsCtx, lc fx.Lifecycle, ps *pubsub.PubSub, s *chain.Syncer, ...)
- func HandleIncomingMessages(mctx helpers.MetricsCtx, lc fx.Lifecycle, ps *pubsub.PubSub, ...)
- func HandleRetrieval(host host.Host, lc fx.Lifecycle, m retrievalmarket.RetrievalProvider)
- func IpfsClientBlockstore(ipfsMaddr string, useForRetrieval bool) ...
- func KeyStore(lr repo.LockedRepo) (types.KeyStore, error)
- func LoadGenesis(genBytes []byte) func(dtypes.ChainBlockstore) Genesis
- func LockedRepo(lr repo.LockedRepo) func(lc fx.Lifecycle) repo.LockedRepo
- func MessagePool(lc fx.Lifecycle, sm *stmgr.StateManager, ps *pubsub.PubSub, ...) (*messagepool.MessagePool, error)
- func MinerAddress(ds dtypes.MetadataDS) (dtypes.MinerAddress, error)
- func MinerID(ma dtypes.MinerAddress) (dtypes.MinerID, error)
- func NetworkName(mctx helpers.MetricsCtx, lc fx.Lifecycle, cs *store.ChainStore, ...) (dtypes.NetworkName, error)
- func NewClientDatastore(ds dtypes.MetadataDS) dtypes.ClientDatastore
- func NewClientDealStore(ds dtypes.ClientDatastore) dtypes.ClientDealStore
- func NewClientGraphsyncDataTransfer(h host.Host, gs dtypes.Graphsync, ds dtypes.MetadataDS) dtypes.ClientDataTransfer
- func NewClientRequestValidator(deals dtypes.ClientDealStore) dtypes.ClientRequestValidator
- func NewConsiderOfflineRetrievalDealsConfigFunc(r repo.LockedRepo) (dtypes.ConsiderOfflineRetrievalDealsConfigFunc, error)
- func NewConsiderOfflineStorageDealsConfigFunc(r repo.LockedRepo) (dtypes.ConsiderOfflineStorageDealsConfigFunc, error)
- func NewConsiderOnlineRetrievalDealsConfigFunc(r repo.LockedRepo) (dtypes.ConsiderOnlineRetrievalDealsConfigFunc, error)
- func NewConsiderOnlineStorageDealsConfigFunc(r repo.LockedRepo) (dtypes.ConsiderOnlineStorageDealsConfigFunc, error)
- func NewLocalDiscovery(ds dtypes.MetadataDS) *discovery.Local
- func NewProviderDAGServiceDataTransfer(h host.Host, gs dtypes.StagingGraphsync, ds dtypes.MetadataDS) dtypes.ProviderDataTransfer
- func NewProviderDealStore(ds dtypes.MetadataDS) dtypes.ProviderDealStore
- func NewProviderPieceStore(ds dtypes.MetadataDS) dtypes.ProviderPieceStore
- func NewProviderRequestValidator(deals dtypes.ProviderDealStore) dtypes.ProviderRequestValidator
- func NewSetConsiderOfflineRetrievalDealsConfigFunc(r repo.LockedRepo) (dtypes.SetConsiderOfflineRetrievalDealsConfigFunc, error)
- func NewSetConsiderOnlineRetrievalDealsConfigFunc(r repo.LockedRepo) (dtypes.SetConsiderOnlineRetrievalDealsConfigFunc, error)
- func NewSetConsideringOfflineStorageDealsFunc(r repo.LockedRepo) (dtypes.SetConsiderOfflineStorageDealsConfigFunc, error)
- func NewSetConsideringOnlineStorageDealsFunc(r repo.LockedRepo) (dtypes.SetConsiderOnlineStorageDealsConfigFunc, error)
- func NewSetStorageDealPieceCidBlocklistConfigFunc(r repo.LockedRepo) (dtypes.SetStorageDealPieceCidBlocklistConfigFunc, error)
- func NewStorageAsk(ctx helpers.MetricsCtx, fapi lapi.FullNode, ds dtypes.MetadataDS, ...) (*storedask.StoredAsk, error)
- func NewStorageDealPieceCidBlocklistConfigFunc(r repo.LockedRepo) (dtypes.StorageDealPieceCidBlocklistConfigFunc, error)
- func NewSyncer(lc fx.Lifecycle, sm *stmgr.StateManager, bsync *blocksync.BlockSync, ...) (*chain.Syncer, error)
- func ProofsConfig(maddr dtypes.MinerAddress, fnapi lapi.FullNode) (*ffiwrapper.Config, error)
- func RandomBeacon(p RandomBeaconParams, _ dtypes.AfterGenesisSet) (beacon.RandomBeacon, error)
- func RecordValidator(ps peerstore.Peerstore) record.Validator
- func RegisterClientValidator(crv dtypes.ClientRequestValidator, dtm dtypes.ClientDataTransfer)
- func RegisterProviderValidator(mrv dtypes.ProviderRequestValidator, dtm dtypes.ProviderDataTransfer)
- func RetrievalClient(h host.Host, bs dtypes.ClientBlockstore, pmgr *paychmgr.Manager, ...) (retrievalmarket.RetrievalClient, error)
- func RetrievalProvider(h host.Host, miner *storage.Miner, sealer sectorstorage.SectorManager, ...) (retrievalmarket.RetrievalProvider, error)
- func RetrievalResolver(l *discovery.Local) retrievalmarket.PeerResolver
- func RunBlockSync(h host.Host, svc *blocksync.BlockSyncService)
- func RunHello(mctx helpers.MetricsCtx, lc fx.Lifecycle, h host.Host, svc *hello.Service) error
- func RunPeerMgr(mctx helpers.MetricsCtx, lc fx.Lifecycle, pmgr *peermgr.PeerMgr)
- func SectorIDCounter(ds dtypes.MetadataDS) sealing.SectorIDCounter
- func SectorStorage(mctx helpers.MetricsCtx, lc fx.Lifecycle, ls stores.LocalStorage, ...) (*sectorstorage.Manager, error)
- func SetGenesis(cs *store.ChainStore, g Genesis) (dtypes.AfterGenesisSet, error)
- func SetupBlockProducer(lc fx.Lifecycle, ds dtypes.MetadataDS, api lapi.FullNode, ...) (*miner.Miner, error)
- func StagingBlockstore(r repo.LockedRepo) (dtypes.StagingBlockstore, error)
- func StagingDAG(mctx helpers.MetricsCtx, lc fx.Lifecycle, ibs dtypes.StagingBlockstore, ...) (dtypes.StagingDAG, error)
- func StagingGraphsync(mctx helpers.MetricsCtx, lc fx.Lifecycle, ibs dtypes.StagingBlockstore, ...) dtypes.StagingGraphsync
- func StorageAuth(ctx helpers.MetricsCtx, ca lapi.Common) (sectorstorage.StorageAuth, error)
- func StorageClient(lc fx.Lifecycle, h host.Host, ibs dtypes.ClientBlockstore, r repo.LockedRepo, ...) (storagemarket.StorageClient, error)
- func StorageMiner(mctx helpers.MetricsCtx, lc fx.Lifecycle, api lapi.FullNode, h host.Host, ...) (*storage.Miner, error)
- func StorageNetworkName(ctx helpers.MetricsCtx, a lapi.FullNode) (dtypes.NetworkName, error)
- func StorageProvider(minerAddress dtypes.MinerAddress, ffiConfig *ffiwrapper.Config, ...) (storagemarket.StorageProvider, error)
- type Genesis
- type RandomBeaconParams
Constants ¶
const JWTSecretName = "auth-jwt-private" //nolint:gosec
Variables ¶
var StorageCounterDSPrefix = "/storage/nextid"
Functions ¶
func BuiltinBootstrap ¶
func BuiltinBootstrap() (dtypes.BootstrapPeers, error)
func BuiltinDrandConfig ¶ added in v0.4.1
func BuiltinDrandConfig() dtypes.DrandConfig
func ChainBlockservice ¶
func ChainBlockservice(bs dtypes.ChainBlockstore, rem dtypes.ChainExchange) dtypes.ChainBlockService
func ChainBlockstore ¶
func ChainBlockstore(lc fx.Lifecycle, mctx helpers.MetricsCtx, r repo.LockedRepo) (dtypes.ChainBlockstore, error)
func ChainExchange ¶
func ChainExchange(mctx helpers.MetricsCtx, lc fx.Lifecycle, host host.Host, rt routing.Routing, bs dtypes.ChainGCBlockstore) dtypes.ChainExchange
func ChainGCBlockstore ¶
func ChainGCBlockstore(bs dtypes.ChainBlockstore, gcl dtypes.ChainGCLocker) dtypes.ChainGCBlockstore
func ChainStore ¶
func ChainStore(lc fx.Lifecycle, bs dtypes.ChainBlockstore, ds dtypes.MetadataDS, syscalls runtime.Syscalls) *store.ChainStore
func ClientBlockstore ¶
func ClientBlockstore(fstore dtypes.ClientFilestore) dtypes.ClientBlockstore
func ClientDAG ¶
func ClientDAG(mctx helpers.MetricsCtx, lc fx.Lifecycle, ibs dtypes.ClientBlockstore, rt routing.Routing, h host.Host) dtypes.ClientDAG
ClientDAG is a DAGService for the ClientBlockstore
func ClientFstore ¶
func ClientFstore(r repo.LockedRepo) (dtypes.ClientFilestore, error)
func ConfigBootstrap ¶
func ConfigBootstrap(peers []string) func() (dtypes.BootstrapPeers, error)
func Datastore ¶
func Datastore(r repo.LockedRepo) (dtypes.MetadataDS, error)
func DoSetGenesis ¶ added in v0.3.0
func DoSetGenesis(_ dtypes.AfterGenesisSet)
func DrandBootstrap ¶ added in v0.4.0
func DrandBootstrap() (dtypes.DrandBootstrap, error)
func GetParams ¶
func GetParams(sbc *ffiwrapper.Config) error
func Graphsync ¶ added in v0.3.0
func Graphsync(mctx helpers.MetricsCtx, lc fx.Lifecycle, clientBs dtypes.ClientBlockstore, chainBs dtypes.ChainBlockstore, h host.Host) (dtypes.Graphsync, error)
Graphsync creates a graphsync instance from the given loader and storer
func HandleDeals ¶
func HandleDeals(mctx helpers.MetricsCtx, lc fx.Lifecycle, host host.Host, h storagemarket.StorageProvider)
func HandleIncomingBlocks ¶
func HandleIncomingBlocks(mctx helpers.MetricsCtx, lc fx.Lifecycle, ps *pubsub.PubSub, s *chain.Syncer, chain *store.ChainStore, stmgr *stmgr.StateManager, h host.Host, nn dtypes.NetworkName)
func HandleIncomingMessages ¶
func HandleIncomingMessages(mctx helpers.MetricsCtx, lc fx.Lifecycle, ps *pubsub.PubSub, mpool *messagepool.MessagePool, nn dtypes.NetworkName)
func HandleRetrieval ¶
func HandleRetrieval(host host.Host, lc fx.Lifecycle, m retrievalmarket.RetrievalProvider)
func IpfsClientBlockstore ¶ added in v0.3.0
func IpfsClientBlockstore(ipfsMaddr string, useForRetrieval bool) func(helpers.MetricsCtx, fx.Lifecycle, dtypes.ClientFilestore) (dtypes.ClientBlockstore, error)
IpfsClientBlockstore returns a ClientBlockstore implementation backed by an IPFS node. If ipfsMaddr is empty, a local IPFS node is assumed considering IPFS_PATH configuration. If ipfsMaddr is not empty, it will connect to the remote IPFS node with the provided multiaddress. The flag useForRetrieval indicates if the IPFS node will also be used for storing retrieving deals.
func LoadGenesis ¶
func LoadGenesis(genBytes []byte) func(dtypes.ChainBlockstore) Genesis
func LockedRepo ¶
func LockedRepo(lr repo.LockedRepo) func(lc fx.Lifecycle) repo.LockedRepo
func MessagePool ¶
func MessagePool(lc fx.Lifecycle, sm *stmgr.StateManager, ps *pubsub.PubSub, ds dtypes.MetadataDS, nn dtypes.NetworkName) (*messagepool.MessagePool, error)
func MinerAddress ¶ added in v0.3.0
func MinerAddress(ds dtypes.MetadataDS) (dtypes.MinerAddress, error)
func NetworkName ¶ added in v0.3.0
func NetworkName(mctx helpers.MetricsCtx, lc fx.Lifecycle, cs *store.ChainStore, _ dtypes.AfterGenesisSet) (dtypes.NetworkName, error)
func NewClientDatastore ¶ added in v0.3.0
func NewClientDatastore(ds dtypes.MetadataDS) dtypes.ClientDatastore
NewClientDatastore creates a datastore for the client to store its deals
func NewClientDealStore ¶
func NewClientDealStore(ds dtypes.ClientDatastore) dtypes.ClientDealStore
NewClientDealStore creates a statestore for the client to store its deals
func NewClientGraphsyncDataTransfer ¶ added in v0.3.0
func NewClientGraphsyncDataTransfer(h host.Host, gs dtypes.Graphsync, ds dtypes.MetadataDS) dtypes.ClientDataTransfer
NewClientGraphsyncDataTransfer returns a data transfer manager that just uses the clients's Client DAG service for transfers
func NewClientRequestValidator ¶ added in v0.2.1
func NewClientRequestValidator(deals dtypes.ClientDealStore) dtypes.ClientRequestValidator
func NewConsiderOfflineRetrievalDealsConfigFunc ¶ added in v0.4.1
func NewConsiderOfflineRetrievalDealsConfigFunc(r repo.LockedRepo) (dtypes.ConsiderOfflineRetrievalDealsConfigFunc, error)
func NewConsiderOfflineStorageDealsConfigFunc ¶ added in v0.4.1
func NewConsiderOfflineStorageDealsConfigFunc(r repo.LockedRepo) (dtypes.ConsiderOfflineStorageDealsConfigFunc, error)
func NewConsiderOnlineRetrievalDealsConfigFunc ¶ added in v0.4.1
func NewConsiderOnlineRetrievalDealsConfigFunc(r repo.LockedRepo) (dtypes.ConsiderOnlineRetrievalDealsConfigFunc, error)
func NewConsiderOnlineStorageDealsConfigFunc ¶ added in v0.4.1
func NewConsiderOnlineStorageDealsConfigFunc(r repo.LockedRepo) (dtypes.ConsiderOnlineStorageDealsConfigFunc, error)
func NewLocalDiscovery ¶ added in v0.2.1
func NewLocalDiscovery(ds dtypes.MetadataDS) *discovery.Local
func NewProviderDAGServiceDataTransfer ¶
func NewProviderDAGServiceDataTransfer(h host.Host, gs dtypes.StagingGraphsync, ds dtypes.MetadataDS) dtypes.ProviderDataTransfer
NewProviderDAGServiceDataTransfer returns a data transfer manager that just uses the provider's Staging DAG service for transfers
func NewProviderDealStore ¶
func NewProviderDealStore(ds dtypes.MetadataDS) dtypes.ProviderDealStore
NewProviderDealStore creates a statestore for the client to store its deals
func NewProviderPieceStore ¶ added in v0.3.0
func NewProviderPieceStore(ds dtypes.MetadataDS) dtypes.ProviderPieceStore
NewProviderPieceStore creates a statestore for storing metadata about pieces shared by the storage and retrieval providers
func NewProviderRequestValidator ¶ added in v0.2.1
func NewProviderRequestValidator(deals dtypes.ProviderDealStore) dtypes.ProviderRequestValidator
func NewSetConsiderOfflineRetrievalDealsConfigFunc ¶ added in v0.4.1
func NewSetConsiderOfflineRetrievalDealsConfigFunc(r repo.LockedRepo) (dtypes.SetConsiderOfflineRetrievalDealsConfigFunc, error)
func NewSetConsiderOnlineRetrievalDealsConfigFunc ¶ added in v0.4.1
func NewSetConsiderOnlineRetrievalDealsConfigFunc(r repo.LockedRepo) (dtypes.SetConsiderOnlineRetrievalDealsConfigFunc, error)
func NewSetConsideringOfflineStorageDealsFunc ¶ added in v0.4.1
func NewSetConsideringOfflineStorageDealsFunc(r repo.LockedRepo) (dtypes.SetConsiderOfflineStorageDealsConfigFunc, error)
func NewSetConsideringOnlineStorageDealsFunc ¶ added in v0.4.1
func NewSetConsideringOnlineStorageDealsFunc(r repo.LockedRepo) (dtypes.SetConsiderOnlineStorageDealsConfigFunc, error)
func NewSetStorageDealPieceCidBlocklistConfigFunc ¶ added in v0.4.1
func NewSetStorageDealPieceCidBlocklistConfigFunc(r repo.LockedRepo) (dtypes.SetStorageDealPieceCidBlocklistConfigFunc, error)
func NewStorageAsk ¶ added in v0.3.1
func NewStorageAsk(ctx helpers.MetricsCtx, fapi lapi.FullNode, ds dtypes.MetadataDS, minerAddress dtypes.MinerAddress, spn storagemarket.StorageProviderNode) (*storedask.StoredAsk, error)
func NewStorageDealPieceCidBlocklistConfigFunc ¶ added in v0.4.1
func NewStorageDealPieceCidBlocklistConfigFunc(r repo.LockedRepo) (dtypes.StorageDealPieceCidBlocklistConfigFunc, error)
func NewSyncer ¶
func NewSyncer(lc fx.Lifecycle, sm *stmgr.StateManager, bsync *blocksync.BlockSync, h host.Host, beacon beacon.RandomBeacon, verifier ffiwrapper.Verifier) (*chain.Syncer, error)
func ProofsConfig ¶ added in v0.3.0
func ProofsConfig(maddr dtypes.MinerAddress, fnapi lapi.FullNode) (*ffiwrapper.Config, error)
func RandomBeacon ¶ added in v0.3.0
func RandomBeacon(p RandomBeaconParams, _ dtypes.AfterGenesisSet) (beacon.RandomBeacon, error)
func RecordValidator ¶
RecordValidator provides namesys compatible routing record validator
func RegisterClientValidator ¶
func RegisterClientValidator(crv dtypes.ClientRequestValidator, dtm dtypes.ClientDataTransfer)
RegisterClientValidator is an initialization hook that registers the client request validator with the data transfer module as the validator for StorageDataTransferVoucher types
func RegisterProviderValidator ¶
func RegisterProviderValidator(mrv dtypes.ProviderRequestValidator, dtm dtypes.ProviderDataTransfer)
RegisterProviderValidator is an initialization hook that registers the provider request validator with the data transfer module as the validator for StorageDataTransferVoucher types
func RetrievalClient ¶ added in v0.2.1
func RetrievalClient(h host.Host, bs dtypes.ClientBlockstore, pmgr *paychmgr.Manager, payapi payapi.PaychAPI, resolver retrievalmarket.PeerResolver, ds dtypes.MetadataDS, chainapi full.ChainAPI) (retrievalmarket.RetrievalClient, error)
RetrievalClient creates a new retrieval client attached to the client blockstore
func RetrievalProvider ¶ added in v0.2.1
func RetrievalProvider(h host.Host, miner *storage.Miner, sealer sectorstorage.SectorManager, full lapi.FullNode, ds dtypes.MetadataDS, pieceStore dtypes.ProviderPieceStore, ibs dtypes.StagingBlockstore, onlineOk dtypes.ConsiderOnlineRetrievalDealsConfigFunc, offlineOk dtypes.ConsiderOfflineRetrievalDealsConfigFunc) (retrievalmarket.RetrievalProvider, error)
RetrievalProvider creates a new retrieval provider attached to the provider blockstore
func RetrievalResolver ¶
func RetrievalResolver(l *discovery.Local) retrievalmarket.PeerResolver
func RunBlockSync ¶
func RunBlockSync(h host.Host, svc *blocksync.BlockSyncService)
func RunPeerMgr ¶
func SectorIDCounter ¶ added in v0.3.0
func SectorIDCounter(ds dtypes.MetadataDS) sealing.SectorIDCounter
func SectorStorage ¶ added in v0.3.0
func SectorStorage(mctx helpers.MetricsCtx, lc fx.Lifecycle, ls stores.LocalStorage, si stores.SectorIndex, cfg *ffiwrapper.Config, sc sectorstorage.SealerConfig, urls sectorstorage.URLs, sa sectorstorage.StorageAuth) (*sectorstorage.Manager, error)
func SetGenesis ¶
func SetGenesis(cs *store.ChainStore, g Genesis) (dtypes.AfterGenesisSet, error)
func SetupBlockProducer ¶
func StagingBlockstore ¶ added in v0.2.1
func StagingBlockstore(r repo.LockedRepo) (dtypes.StagingBlockstore, error)
StagingBlockstore creates a blockstore for staging blocks for a miner in a storage deal, prior to sealing
func StagingDAG ¶
func StagingDAG(mctx helpers.MetricsCtx, lc fx.Lifecycle, ibs dtypes.StagingBlockstore, rt routing.Routing, h host.Host) (dtypes.StagingDAG, error)
StagingDAG is a DAGService for the StagingBlockstore
func StagingGraphsync ¶ added in v0.2.1
func StagingGraphsync(mctx helpers.MetricsCtx, lc fx.Lifecycle, ibs dtypes.StagingBlockstore, h host.Host) dtypes.StagingGraphsync
StagingGraphsync creates a graphsync instance which reads and writes blocks to the StagingBlockstore
func StorageAuth ¶ added in v0.3.0
func StorageAuth(ctx helpers.MetricsCtx, ca lapi.Common) (sectorstorage.StorageAuth, error)
func StorageClient ¶ added in v0.2.1
func StorageClient(lc fx.Lifecycle, h host.Host, ibs dtypes.ClientBlockstore, r repo.LockedRepo, dataTransfer dtypes.ClientDataTransfer, discovery *discovery.Local, deals dtypes.ClientDatastore, scn storagemarket.StorageClientNode) (storagemarket.StorageClient, error)
func StorageMiner ¶
func StorageMiner(mctx helpers.MetricsCtx, lc fx.Lifecycle, api lapi.FullNode, h host.Host, ds dtypes.MetadataDS, sealer sectorstorage.SectorManager, sc sealing.SectorIDCounter, verif ffiwrapper.Verifier) (*storage.Miner, error)
func StorageNetworkName ¶ added in v0.3.0
func StorageNetworkName(ctx helpers.MetricsCtx, a lapi.FullNode) (dtypes.NetworkName, error)
func StorageProvider ¶ added in v0.2.1
func StorageProvider(minerAddress dtypes.MinerAddress, ffiConfig *ffiwrapper.Config, storedAsk *storedask.StoredAsk, h host.Host, ds dtypes.MetadataDS, ibs dtypes.StagingBlockstore, r repo.LockedRepo, pieceStore dtypes.ProviderPieceStore, dataTransfer dtypes.ProviderDataTransfer, spn storagemarket.StorageProviderNode, onlineOk dtypes.ConsiderOnlineStorageDealsConfigFunc, offlineOk dtypes.ConsiderOfflineStorageDealsConfigFunc, blocklistFunc dtypes.StorageDealPieceCidBlocklistConfigFunc) (storagemarket.StorageProvider, error)
Types ¶
type Genesis ¶
type Genesis func() (*types.BlockHeader, error)
func ErrorGenesis ¶
func ErrorGenesis() Genesis
type RandomBeaconParams ¶ added in v0.3.1
type RandomBeaconParams struct { fx.In PubSub *pubsub.PubSub `optional:"true"` Cs *store.ChainStore DrandConfig dtypes.DrandConfig }