Versions in this module Expand all Collapse all v0 v0.0.1 Jul 30, 2020 Changes in this version + var ResponseProtocolID core.ProtocolID = "/fil/secondary-retrieval/response/0.0.1" + var RetrievalProtocolID core.ProtocolID = "/fil/secondary-retrieval/0.0.1" + func StringToAddrInfo(s string) (peer.AddrInfo, error) + func StringsToAddrInfos(peers []string) ([]peer.AddrInfo, error) + type Params struct + PayloadCID cid.Cid + PieceCID *cid.Cid + func (p *Params) Marshal() ([]byte, error) + func (p *Params) MustString() string + type Query struct + ClientAddrs []string + Params Params + func (q *Query) Marshal() ([]byte, error) + func (q *Query) Unmarshal(bz []byte) error + type QueryResponse struct + Params Params + PaymentInterval uint64 + PaymentIntervalIncrease uint64 + PricePerByte abi.TokenAmount + Provider peer.ID + func (q *QueryResponse) Marshal() ([]byte, error) + func (q *QueryResponse) String() string + func (q *QueryResponse) Unmarshal(bz []byte) error