Root
The WNFS root is a specialized structure that keeps the disparate segments together.
1
data RootNode = RootNode
2
{ pretty :: BareIPFS
3
, public :: PublicNode
4
, private :: McTrie
5
, revoked :: McTrie
6
}
Copied!
Since this layer is completely controlled by WebNative, we don't need to worry about metadata elements conflicting with userland.

Pretty

The pretty tree (public reduction) is represented as simply /p/ to be unobtrusive in URLs. If this becomes corrupted, it can always be deleted and reconstructed from the source of truth: the public DAG.
Export as PDF
Copy link
Contents
Pretty