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 Session struct + func NewSession(ctx context.Context, hostKey types.PublicKey, hostAddr string, cm ChainManager, ...) (*Session, error) + func (s *Session) Close() error + func (s *Session) FormContract(hostAddr types.Address, renterKey types.PrivateKey, ...) (rhp2.ContractRevision, []types.Transaction, error) + func (s *Session) ScanSettings() (settings rhp2.HostSettings, err error) + 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