From 7fc179ffde51f3aa834fe4063232c4c62ae9d951 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 2 Jan 2021 20:56:30 +0100 Subject: Add example graphic of blockchain with metadata blocks Signed-off-by: Matthias Beyer --- doc/paper/gen/blockchain_meta.bob | 32 ++++++++++++++++++++++++++++++++ doc/paper/main.tex | 15 ++++++++++++++- 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 doc/paper/gen/blockchain_meta.bob diff --git a/doc/paper/gen/blockchain_meta.bob b/doc/paper/gen/blockchain_meta.bob new file mode 100644 index 0000000..ee17975 --- /dev/null +++ b/doc/paper/gen/blockchain_meta.bob @@ -0,0 +1,32 @@ + +-----+ +-----+ +-----+ + | | | | | | + | Am | | Bm | | Em | + | | | | | | + +--+--+ +--+--+ +--+--+ + ^ ^ ^ + | | | + | | | ++---+---+ +---+---+ +---+---+ +---+---+ +| | | | | | | | +| | | | | | | | +| A +<---+ B +<---+ D +<---+ E | +| | | | | | | | +| | | | | | | | ++---+---+ +-------+ +---+---+ +-------+ + ^ | + | +-------+ | + | | | | + | | | | + +--------------+ C +<-+ + | | + | | + +---+---+ + | + | + v + +--+--+ + | | + | Cm | + | | + +-----+ + diff --git a/doc/paper/main.tex b/doc/paper/main.tex index 9f3cdad..0d800c0 100644 --- a/doc/paper/main.tex +++ b/doc/paper/main.tex @@ -230,6 +230,20 @@ As its name tells, it holds the metadata of the post, that is Because of its size, this object type might not be replicated as much as the "block" object type. +\begin{figure}[ht] + \centering + \includegraphics[width=0.45\textwidth]{gen/blockchain_meta.png} + \caption{A chain of blocks with pointers to their corrosponding meta block} + \label{pic:blockchain:meta} +\end{figure} + +In the chain of blocks from \ref{pic:blockchain}, each block (except $D$) would +point to another metadata block, resulting in \ref{pic:blockchain:meta}. + +In \ref{pic:blockchain:meta}, the metadata objects $Am$, $Bm$, $Cm$ and $Em$ +would then point to content objects (assuming these are posts, not "profile" +objects or a "ref" object). + \subsection{Content}\label{sec:datatypecontent} % What a "content" object is (and what it is not) @@ -267,7 +281,6 @@ This enables several other possibilities and use-cases: these files, deduplication applies. \end{itemize} - \subsection{Data format} % Short note about possible data formats -- cgit v1.2.3