We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbc9337 commit c8a3666Copy full SHA for c8a3666
vindex/map.go
@@ -69,7 +69,9 @@ type InputLog interface {
69
// Parse unmarshals and verifies a checkpoint obtained from GetCheckpoint.
70
Parse(checkpoint []byte) (*log.Checkpoint, error)
71
// Leaves returns all the leaves in the range [start, end), outputting them via
72
- // the returned iterator.
+ // the returned iterator. The yielded bytes MUST be the leaf preimages,
73
+ // i.e. hashing these values should return the leaf hashes used to construct the
74
+ // Merkle tree.
75
Leaves(ctx context.Context, start, end uint64) iter.Seq2[[]byte, error]
76
}
77
0 commit comments