summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-01-02 20:56:30 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-01-02 20:56:30 +0100
commit7fc179ffde51f3aa834fe4063232c4c62ae9d951 (patch)
tree3abec270e4fea516e628d17c219aaec6d5134c5a
parent48120cbcbfbad849a50eebe365004ec3eaf3bb83 (diff)
Add example graphic of blockchain with metadata blocks
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--doc/paper/gen/blockchain_meta.bob32
-rw-r--r--doc/paper/main.tex15
2 files changed, 46 insertions, 1 deletions
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