dependencies

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2020 License: Apache-2.0, MIT Imports: 27 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageDependencies

type StorageDependencies struct {
	Ctx                               context.Context
	Epoch                             abi.ChainEpoch
	ProviderAddr                      address.Address
	ClientAddr                        address.Address
	ClientNode                        *testnodes.FakeClientNode
	ProviderNode                      *testnodes.FakeProviderNode
	SMState                           *testnodes.StorageMarketState
	TempFilePath                      string
	ProviderInfo                      storagemarket.StorageProviderInfo
	TestData                          *shared_testutil.Libp2pTestData
	PieceStore                        piecestore.PieceStore
	DTClient                          datatransfer.Manager
	DTProvider                        datatransfer.Manager
	PeerResolver                      *discoveryimpl.Local
	ClientDelayFakeCommonNode         testnodes.DelayFakeCommonNode
	ProviderClientDelayFakeCommonNode testnodes.DelayFakeCommonNode
	Fs                                filestore.FileStore
	ClientDealFunds                   funds.DealFunds
	StoredAsk                         *storedask.StoredAsk
	ProviderDealFunds                 funds.DealFunds
}

StorageDependencies are the dependencies required to initialize a storage client/provider

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL