You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE:Registering on the DAGStore populates the top-level index with shares/proofs accessible from stored EDS, which is
out of the scope of the document.
// Put stores the given data square with DataRoot's hash as a key.//// The square is verified on the Exchange level, and Put only stores the square trusting it.// The resulting file stores all the shares and NMT Merkle Proofs of the EDS.// Additionally, the file gets indexed s.t. Store.Blockstore can access them. func (s*EDSStore) Put(context.Context, DataRoot, *rsmt2d.ExtendedDataSquare) error
Context
To write an entire EDS
Put
method is introduced on theEDSStore
Implementation Details
Internally it:
Store.Path/DataRoot.Hash
pathshare.WriteEDS
DAGStore
's FileMountDataRoot
's hash into theshard.Key
Mount
as aShard
on theDAGStore
NOTE: Registering on the DAGStore populates the top-level index with shares/proofs accessible from stored EDS, which is
out of the scope of the document.
Refs
Depends on #1105
Depends on #1107
The text was updated successfully, but these errors were encountered: