mirror of
https://github.com/lux-apps/papers.git
synced 2026-10-30 18:15:21 +00:00
Restructured from flat .tex/.pdf files into per-paper subdirectories. Added Antje Worring as co-author on all papers. Synced PDFs to pdfs/ for download site.
89 lines
2.0 KiB
TeX
89 lines
2.0 KiB
TeX
\section{Data Availability Solutions}
|
|
|
|
|
|
Data availability is crucial for fraud proof security, with various approaches offering different trade-offs.
|
|
|
|
\subsection{Full On-chain Data}
|
|
|
|
Posting all data on-chain provides maximum security:
|
|
|
|
\begin{equation}
|
|
\text{Security}_{\text{on-chain}} = \text{Security}_{\text{L1}}
|
|
\end{equation}
|
|
|
|
However, costs scale linearly with data size:
|
|
|
|
\begin{equation}
|
|
\text{Cost}_{\text{on-chain}} = \text{DataSize} \times \text{GasPrice}
|
|
\end{equation}
|
|
|
|
\subsection{Data Availability Committees}
|
|
|
|
DACs reduce costs through trusted committees:
|
|
|
|
\begin{definition}[DAC Security]
|
|
A DAC with $n$ members and threshold $t$ provides security:
|
|
\begin{equation}
|
|
P(\text{data available}) = \sum_{k=t}^{n} \binom{n}{k} p^k (1-p)^{n-k}
|
|
\end{equation}
|
|
where $p$ is the probability each member is honest.
|
|
\end{definition}
|
|
|
|
\subsection{Lux Appchains as DA Layer}
|
|
|
|
Lux appchains can serve as specialized DA layers:
|
|
|
|
\begin{enumerate}
|
|
\item \textbf{Dedicated Storage}: Appchain validators store rollup data
|
|
\item \textbf{Sampling Verification}: Light clients sample availability
|
|
\item \textbf{Economic Security}: Validators stake LUX tokens
|
|
\item \textbf{Cross-appchain Verification}: Multiple appchains for redundancy
|
|
\end{enumerate}
|
|
|
|
\subsection{Cost-Security Trade-offs}
|
|
|
|
Different DA solutions offer varying trade-offs:
|
|
|
|
\begin{figure}[h]
|
|
\centering
|
|
\begin{tikzpicture}
|
|
\begin{axis}[
|
|
xlabel={Security Level},
|
|
ylabel={Cost per MB},
|
|
xmin=0, xmax=100,
|
|
ymin=0, ymax=1000,
|
|
legend pos=north west,
|
|
grid=major
|
|
]
|
|
\addplot[color=blue, mark=*] coordinates {
|
|
(100, 1000)
|
|
(95, 500)
|
|
(90, 250)
|
|
(80, 100)
|
|
(70, 50)
|
|
};
|
|
\addlegendentry{On-chain}
|
|
|
|
\addplot[color=red, mark=square*] coordinates {
|
|
(90, 100)
|
|
(85, 80)
|
|
(80, 60)
|
|
(70, 40)
|
|
(60, 20)
|
|
};
|
|
\addlegendentry{DAC}
|
|
|
|
\addplot[color=green, mark=triangle*] coordinates {
|
|
(95, 200)
|
|
(90, 150)
|
|
(85, 100)
|
|
(75, 70)
|
|
(65, 40)
|
|
};
|
|
\addlegendentry{Lux Appchain}
|
|
\end{axis}
|
|
\end{tikzpicture}
|
|
\caption{Cost vs Security for different DA solutions}
|
|
\end{figure}
|
|
|