retrieval: Update some API comments

This commit is contained in:
Łukasz Magiera
2021-11-22 14:19:03 +01:00
parent 25e89d3a7a
commit bdac11ade7
+4 -3
View File
@@ -933,13 +933,14 @@ type MarketDeal struct {
}
type RetrievalOrder struct {
// TODO: make this less unixfs specific
Root cid.Cid
Piece *cid.Cid
DataSelector *Selector
Size uint64
Total types.BigInt
// todo: Size/Total are only used for calculating price per byte; we should let users just pass that
Size uint64
Total types.BigInt
UnsealPrice types.BigInt
PaymentInterval uint64
PaymentIntervalIncrease uint64