Documentation
¶
Index ¶
- Constants
- func EpochToTime(epoch abi.ChainEpoch) time.Time
- func TimeToEpoch(t time.Time) abi.ChainEpoch
- type DealMaker
- func (d DealMaker) GetProtocols(ctx context.Context, minerInfo peer.AddrInfo) ([]protocol.ID, error)
- func (d DealMaker) GetProviderInfo(ctx context.Context, provider string) (MinerInfo, error)
- func (d DealMaker) MakeDeal(ctx context.Context, now time.Time, walletObj model.Wallet, car model.Car, ...) (string, error)
- type DealProviderCollateralBound
- type MinerInfo
- type WalletChooser
Constants ¶
View Source
const ( StorageProposalV120 = "/fil/storage/mk/1.2.0" StorageProposalV111 = "/fil/storage/mk/1.1.1" )
Variables ¶
This section is empty.
Functions ¶
func EpochToTime ¶
func EpochToTime(epoch abi.ChainEpoch) time.Time
func TimeToEpoch ¶
func TimeToEpoch(t time.Time) abi.ChainEpoch
Types ¶
type DealMaker ¶
type DealMaker struct {
// contains filtered or unexported fields
}
func NewDealMaker ¶
func (DealMaker) GetProtocols ¶
func (DealMaker) GetProviderInfo ¶
Click to show internal directories.
Click to hide internal directories.