Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2021 Changes in this version + const GenesisPreseals + var FullNodeWithActorsV3At = func(upgradeHeight abi.ChainEpoch) FullNodeOpts + var MineNext = miner.MineReq + var OneFull = DefaultFullOpts(1) + var OneMiner = []StorageMiner + var PresealGenesis = -1 + var TwoFull = DefaultFullOpts(2) + func CreateClientFile(ctx context.Context, client api.FullNode, rseed int) (*api.ImportRes, []byte, error) + func MakeDeal(t *testing.T, ctx context.Context, rseed int, client api.FullNode, ...) + func MineUntilBlock(ctx context.Context, t *testing.T, fn TestNode, sn TestStorageNode, ...) + func SendFunds(ctx context.Context, t *testing.T, sender TestNode, addr address.Address, ...) + func TestApis(t *testing.T, b APIBuilder) + func TestDealFlow(t *testing.T, b APIBuilder, blocktime time.Duration, carExport, fastRet bool, ...) + func TestDealMining(t *testing.T, b APIBuilder, blocktime time.Duration, carExport bool) + func TestDoubleDealFlow(t *testing.T, b APIBuilder, blocktime time.Duration, startEpoch abi.ChainEpoch) + func TestFastRetrievalDealFlow(t *testing.T, b APIBuilder, blocktime time.Duration, startEpoch abi.ChainEpoch) + func TestPaymentChannels(t *testing.T, b APIBuilder, blocktime time.Duration) + func TestPledgeSector(t *testing.T, b APIBuilder, blocktime time.Duration, nSectors int) + func TestPublishDealsBatching(t *testing.T, b APIBuilder, blocktime time.Duration, startEpoch abi.ChainEpoch) + func TestSecondDealRetrieval(t *testing.T, b APIBuilder, blocktime time.Duration) + func TestTerminate(t *testing.T, b APIBuilder, blocktime time.Duration) + func TestWindowPost(t *testing.T, b APIBuilder, blocktime time.Duration, nSectors int) + func TestWindowPostDispute(t *testing.T, b APIBuilder, blocktime time.Duration) + func TestWindowPostDisputeFails(t *testing.T, b APIBuilder, blocktime time.Duration) + func TestZeroPricePerByteRetrievalDealFlow(t *testing.T, b APIBuilder, blocktime time.Duration, startEpoch abi.ChainEpoch) + type APIBuilder func(t *testing.T, full []FullNodeOpts, storage []StorageMiner) ([]TestNode, []TestStorageNode) + type BlockMiner struct + func NewBlockMiner(ctx context.Context, t *testing.T, miner TestStorageNode, ...) *BlockMiner + func (bm *BlockMiner) MineBlocks() + func (bm *BlockMiner) Stop() + type FullNodeOpts struct + Lite bool + Opts OptionGenerator + func DefaultFullOpts(nFull int) []FullNodeOpts + type OptionGenerator func([]TestNode) node.Option + type StorageMiner struct + Full int + Opts node.Option + Preseal int + type TestNode struct + ListenAddr multiaddr.Multiaddr + type TestStorageNode struct + ListenAddr multiaddr.Multiaddr + MineOne func(context.Context, miner.MineReq) error + Stop func(context.Context) error