From a670e5dffb0db1ce416c20347cbfde2c5dc04c84 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 1 Jan 2021 19:31:09 +0100 Subject: Add content for metadata block type chapter Signed-off-by: Matthias Beyer --- doc/paper/main.tex | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/doc/paper/main.tex b/doc/paper/main.tex index 976f2fc..eeb0b15 100644 --- a/doc/paper/main.tex +++ b/doc/paper/main.tex @@ -165,8 +165,47 @@ could hold more than 10 Million blocks. % - content pointer % - references to other blocks +A "metadata" block would hold the actual profile post data, although not the +actual content of the post to the profile. +As its name tells, it holds the metadata of the post, that is -\subsection{Content} +\begin{itemize} + \item A format version number + \item Date and Time when the block was created + \item A list of public keys that post to the profile + \item a sub-object that is either + \begin{itemize} + \item Empty + + \item A "post" object, holding + \begin{itemize} + \item A pointer to the content "blob" (see \ref{sec:datatypecontent}) + \item A mimetype for the content + \item An (optional) "In-Reply-To" reference + \item A (optional) list of references to other (metadata) blocks + \item possibly more (to be defined) + \end{itemize} + + \item A "profile" object, holding for example + \begin{itemize} + \item a Profile name + \item a Profile picture + \item a Profile description/text + \item possibly more (to be defined) + \end{itemize} + + \item A ref object, holding a reference to another block or metadata + block that is referenced (see \ref{sec:postreplies}) + + \item or something else (to be defined) + \end{itemize} +\end{itemize} + +Because of its size, this object type might not be replicated as much as the +"block" object type. + + +\subsection{Content}\label{sec:datatypecontent} % What a "content" object is (and what it is not) \subsection{Data format} @@ -193,7 +232,7 @@ could hold more than 10 Million blocks. \subsection{Post types} % What kinds of posts exist -\subsection{Comments} +\subsection{Replies}\label{sec:postreplies} % How comments on posts could be implemented -- cgit v1.2.3