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
The ForestProofs data structure currently has no equivalent piece in wnfs-wasm.
We can't expose it 1:1 as we do in rust, since we can't do traits in bindings.
My suggestion would be a wnfs-wasm PrivateForest struct that keeps track of whether to generate proofs or not, as well as exposing a function for retrieving all proofs so far & clearing them.
Verification may not be needed for now, since that's mostly going to happen on the server side. More important for the future when we do p2p write gossiping.
The text was updated successfully, but these errors were encountered:
Yeah ForestProofs is the data structure that keeps all of the cryptographic accumulator proofs for forest labels and the mapping between the label and which base ("access level"/access path/parents) they're proven against.
The
ForestProofs
data structure currently has no equivalent piece in wnfs-wasm.We can't expose it 1:1 as we do in rust, since we can't do traits in bindings.
My suggestion would be a wnfs-wasm
PrivateForest
struct that keeps track of whether to generate proofs or not, as well as exposing a function for retrieving all proofs so far & clearing them.Verification may not be needed for now, since that's mostly going to happen on the server side. More important for the future when we do p2p write gossiping.
The text was updated successfully, but these errors were encountered: