package
0.11.5
Repository: https://github.com/mike76-dev/sia-satellite.git
Documentation: pkg.go.dev

# Functions

HostPriceTable retrieves the price table from the host.
HostSettings uses the Settings RPC to retrieve the host's settings.
ReadSectorCost returns an overestimate for the cost of reading a sector from a host.
RPCAccountBalance fetches the balance of an ephemeral account.
RPCAppendSector calls the ExecuteProgram RPC with an AppendSector instruction.
RPCFormContract forms a contract with the host.
RPCFundAccount funds an ephemeral account.
RPCLatestRevision fetches the latest revision from the host.
RPCPriceTable negotiates a price table with the host.
RPCReadSector calls the ExecuteProgram RPC with a ReadSector instruction.
RPCRenewContract negotiates a contract renewal with the host.
RPCSettings returns the host's reported settings.
RPCTrustlessFormContract forms a contract with the host using the new Renter-Satellite protocol.
RPCTrustlessRenewContract negotiates a contract renewal with the host using the new Renter-Satellite protocol.
UploadSectorCost returns an overestimate for the cost of uploading a sector to a host.
WithTransportV2 creates a transport and calls an RHP2 RPC.
WithTransportV3 creates a transport and calls an RHP3 RPC.

# Type aliases

PriceTablePaymentFunc is a function that can be passed in to RPCPriceTable.