Versions in this module Expand all Collapse all v0 v0.1.1 Sep 19, 2023 v0.1.0 Sep 18, 2023 Changes in this version + type ChainManager interface + TipState func() consensus.State + type Manager struct + func New(privKey types.PrivateKey, cm ChainManager, tp TPool, w Wallet, log *zap.Logger) *Manager + func (m *Manager) BenchmarkHost(ctx context.Context, hostAddr string, hostKey types.PublicKey, sectors uint64) (res Result, _ error) + func (m *Manager) ScanHost(ctx context.Context, hostAddr string, hostKey types.PublicKey) (Settings, error) + type Result struct + AppendP99 time.Duration + Download time.Duration + DownloadCost types.Currency + Error error + Handshake time.Duration + ReadP99 time.Duration + Sectors uint64 + Upload time.Duration + UploadCost types.Currency + type Settings struct + PriceTable rhp3.HostPriceTable + Settings rhp2.HostSettings + type TPool interface + RecommendedFee func() types.Currency + type Wallet interface + Address func() types.Address + FundTransaction func(txn *types.Transaction, amount types.Currency) ([]types.Hash256, func(), error) + SignTransaction func(cs consensus.State, txn *types.Transaction, toSign []types.Hash256, ...) error