Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

share: implement getShareByRange #2304

Open
vgonkivs opened this issue Jun 2, 2023 · 2 comments
Open

share: implement getShareByRange #2304

vgonkivs opened this issue Jun 2, 2023 · 2 comments
Labels
area:shares Shares and samples

Comments

@vgonkivs
Copy link
Member

vgonkivs commented Jun 2, 2023

Blob module should be extended with:

// GetSharesByRange returns the Shares in the range of [start; end) and their respective proofs, 
// where start and end are the positions of the Shares inside the data square
GetSharesByRange(start, end int) ([]Shares, []Proof, error)
@vgonkivs vgonkivs changed the title implement getShareByIndex blob: implement getShareByIndex Jun 2, 2023
@vgonkivs vgonkivs changed the title blob: implement getShareByIndex blob: implement getShareByRange Jun 2, 2023
@vgonkivs vgonkivs added area:blob area:shares Shares and samples and removed needs:triage labels Jun 2, 2023
@Wondertan
Copy link
Member

I would keep it in ShareGetter, let's not mix shares in blobs

@vgonkivs vgonkivs changed the title blob: implement getShareByRange share: implement getShareByRange Jun 2, 2023
@vgonkivs vgonkivs removed the area:blob label Jun 2, 2023
@vgonkivs
Copy link
Member Author

vgonkivs commented Jun 2, 2023

Agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:shares Shares and samples
Projects
None yet
Development

No branches or pull requests

2 participants