CIP to introduce authored blobs
This CIP is in reference to this issue: https://github.com/celestiaorg/celestia-app/issues/3316
Note that there is a diagram so when changing the name of the file and folders, make sure to change the name of the folder in the assets directory and update this CIP that references it
Maybe we should add the fact that you need versioning for the CreateCommitment function. As we might be adding other things in the future which will change the shares and therefore the share commitment.
Create commitment will now have to be aware of the signer.
Maybe we should add the fact that you need versioning for the CreateCommitment function. As we might be adding other things in the future which will change the shares and therefore the share commitment.
Create commitment will now have to be aware of the signer.
The CreateCommitment function has the following signature:
func CreateCommitment(blob *blob.Blob, merkleRootFn MerkleRootFn, subtreeRootThreshold int) ([]byte, error)
As it includes the blob, which has the signer as well as the share version, I don't think anything will need to change to the function signature. Of course within the function, the commitment construction will depend on whether the signer is present in the blob or not
@jcstein all comments should be resolved now
Assigned this CIP-21. FYI @jcstein