protocol: req: use TipSetKey comment
This commit is contained in:
parent
65512193cc
commit
8e044be7c2
@ -37,8 +37,8 @@ const WRITE_RES_DEADLINE = 60 * time.Second
|
|||||||
type Request struct {
|
type Request struct {
|
||||||
// List of ordered CIDs comprising a `TipSetKey` from where to start
|
// List of ordered CIDs comprising a `TipSetKey` from where to start
|
||||||
// fetching backwards.
|
// fetching backwards.
|
||||||
// FIXME: Why don't we send a `TipSetKey` instead of converting back
|
// FIXME: Consider using `TipSetKey` now (introduced after the creation
|
||||||
// and forth?
|
// of this protocol) instead of converting back and forth.
|
||||||
Head []cid.Cid
|
Head []cid.Cid
|
||||||
// Number of block sets to fetch from `Head` (inclusive, should always
|
// Number of block sets to fetch from `Head` (inclusive, should always
|
||||||
// be in the range `[1, MaxRequestLength]`).
|
// be in the range `[1, MaxRequestLength]`).
|
||||||
|
Loading…
Reference in New Issue
Block a user