diff --git a/blockset.go b/blockset.go index 6cdc91d..4dd1760 100644 --- a/blockset.go +++ b/blockset.go @@ -24,6 +24,12 @@ type Blockset interface { String() string } +// BlockReconstructor can reconstruct a block in a Blockset. +type BlockReconstructor interface { + // ReconstructBlock reconstructs the ith block in the Blockset. + ReconstructBlock(ctx context.Context, inde INodeRef, i int) error +} + type BlockLayerKind int type BlockLayer struct {