Pins root document of identity instead of storing a payload
Which issue(s) this PR fixes 🔨
Special notes for reviewers 🗒️
Additional comments 🎤
Previously we would store a encrypted payload blob of the root document, however this may pose as a small problem when expanding into storing messages on the same document since the messages would need to be resolved. Same with the constellation index information. This PR simplifies it by pinning the root document directly, with specific fields containing encrypted blobs directly (eg friends list, request, blocks list), while other fields may only pin down to a specific depth in the graph.
Constellation index may only go down to a specific depth per document to prevent pinning the files directly since a separate protocol will handle files verification and pinning that will point back to the associated peer of said file (not apart of this PR but will be done separately).
What this PR does 📖
Which issue(s) this PR fixes 🔨
Special notes for reviewers 🗒️
Additional comments 🎤