share: Extend Getter
to enable requesting proofs and adjust all the implementations
#1838
Labels
area:shares
Shares and samples
Overview
Current
Getter
's methodGetSharesByNamespace
always gets __data and proofs __ by namespace, and the goal is to extend the interface enabling getting only proofs without data.Motivation
This is required for the Available method of #1835, which checks whether some data blob is included in the main chain.
Details
The recommended way to achieve the goal is to extend
GetSharesByNamespace
with options defined next to the interface and make each implementation handle them. An alternative could be to make separateGetProofsByNamespace
Refs
Depends on #1837
The text was updated successfully, but these errors were encountered: