Skip to content

Commit

Permalink
docs: document end exclusive to leaf range
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed Jun 26, 2024
1 parent a68a69f commit 9d92a94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proof.go
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ func (proof Proof) VerifySubtreeRootInclusion(nth *NmtHasher, subtreeRoots [][]b
}

// ToLeafRanges returns the leaf ranges corresponding to the provided subtree roots.
// The proof range defined by proofStart and proofEnd is end exclusive.
// It uses the subtree root width to calculate the maximum number of leaves a subtree root can
// commit to.
// The subtree root width is defined as per ADR-013:
Expand Down

0 comments on commit 9d92a94

Please sign in to comment.