package
1.4.5-hsc
Repository: https://github.com/mike76-dev/hostscore.git
Documentation: pkg.go.dev

# Functions

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.
RPCSettings returns the host's reported settings.
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.