Files
zeekay abf99d05fc papers: reorganize into per-paper dirs, add Antje Worring as co-author
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.
2026-04-18 21:50:07 -07:00

178 lines
7.9 KiB
TeX

\section{Conclusion}
\label{sec:conclusion}
Lux Warp Messaging achieves trustless, efficient cross-appchain communication through five design choices:
\begin{enumerate}
\item BLS aggregate signatures over BLS12-381 yield 48-byte constant-size proofs.
\item A $2/3$ weighted-stake quorum inherits trust from appchain consensus with no external assumptions.
\item Domain-separated hash-to-curve and nonce-based replay protection ensure message integrity.
\item Optimistic delivery with economic bonds and fraud proofs reduces latency to sub-second for time-sensitive applications.
\item Native EVM precompiles reduce on-chain verification to 50,000 gas, enabling practical cross-chain composability.
\end{enumerate}
\subsection{Message Acknowledgment}
For reliable delivery with confirmation, LWM supports acknowledgment messages:
\begin{definition}[Acknowledged Message]
An acknowledged warp message triggers a return message from the destination to the source confirming execution:
\begin{equation}
\mathcal{M}_{\text{ack}} = (\mathsf{dst}, \mathsf{src}, \mathsf{ack\_nonce}, H(\mathsf{result}), \infty, 0)
\end{equation}
The source contract can wait for $\mathcal{M}_{\text{ack}}$ to confirm successful execution before finalizing state transitions.
\end{definition}
This enables two-phase commit protocols for atomic cross-appchain operations.
\subsection{Message Size Limits}
\begin{table}[H]
\centering
\caption{Maximum warp message sizes by component.}
\label{tab:sizelimits}
\begin{tabular}{lr}
\toprule
\textbf{Component} & \textbf{Maximum Size} \\
\midrule
Payload & 64 KB \\
Header (fixed) & 120 B \\
Proof (1000 validators) & 173 B \\
Total message & 65,573 B \\
\bottomrule
\end{tabular}
\end{table}
For payloads exceeding 64 KB, applications must implement their own chunking protocol over LWM.
\subsection{Replay Protection}
Every Warp message includes a monotonically increasing nonce per source appchain and a chain identifier, preventing replay attacks across appchains or after chain reorganizations:
\begin{definition}[Replay-Safe Message]
A message $m$ is replay-safe if and only if:
\begin{enumerate}
\item $m.\texttt{nonce} > \texttt{lastSeen}[\texttt{sourceAppchain}]$ at the destination.
\item $m.\texttt{chainID}$ matches the destination's expected source chain identifier.
\item $m.\texttt{expiry} > \texttt{currentTimestamp}$ (message has not expired).
\end{enumerate}
The destination chain maintains a per-source-appchain nonce watermark. Out-of-order delivery is permitted: the watermark advances to $\max(\texttt{lastSeen}, m.\texttt{nonce})$, and a bitmap tracks received nonces within a sliding window of size $W = 256$ to reject duplicates without requiring strict ordering.
\end{definition}
\begin{algorithm}
\caption{Nonce Verification with Bitmap}
\begin{algorithmic}[1]
\Require Message $m$, watermark $w$, bitmap $B[0..255]$
\If{$m.\texttt{nonce} \leq w - 256$}
\State \Return \textbf{reject} (too old)
\EndIf
\If{$m.\texttt{nonce} \leq w$}
\If{$B[m.\texttt{nonce} \bmod 256] = 1$}
\State \Return \textbf{reject} (duplicate)
\EndIf
\State $B[m.\texttt{nonce} \bmod 256] \gets 1$
\Else
\State Clear bits in $B$ for nonces in $(w, m.\texttt{nonce} - 256]$
\State $w \gets m.\texttt{nonce}$
\State $B[m.\texttt{nonce} \bmod 256] \gets 1$
\EndIf
\State \Return \textbf{accept}
\end{algorithmic}
\end{algorithm}
\subsection{Congestion Feedback}
The protocol includes a congestion signaling mechanism. Each destination appchain maintains a message ingestion rate counter $\lambda_{\text{in}}$ (messages per second). When $\lambda_{\text{in}}$ exceeds the processing capacity $\lambda_{\max}$, the destination emits a backpressure signal via Warp to the source appchain:
\begin{equation}
\texttt{backpressure}(t) = \max\!\left(0, \frac{\lambda_{\text{in}}(t) - \lambda_{\max}}{\lambda_{\max}}\right)
\end{equation}
Source appchains receiving a non-zero backpressure signal apply exponential backoff to their outbound message rate, reducing transmission by a factor of $2^{-k}$ after $k$ consecutive congestion signals. Normal transmission resumes after receiving a zero-backpressure acknowledgment.
The protocol is live on Lux Network mainnet and supports the growing appchain ecosystem. Future work includes recursive BLS aggregation for multi-hop routing, threshold signature schemes for enhanced privacy, and integration with zero-knowledge proofs for compressed state assertions.
\bibliographystyle{plain}
\begin{thebibliography}{30}
\bibitem{boneh2001bls}
D.~Boneh, B.~Lynn, and H.~Shacham, ``Short signatures from the Weil pairing,'' in \emph{ASIACRYPT}, 2001.
\bibitem{boneh2018compact}
D.~Boneh, M.~Drijvers, and G.~Neven, ``Compact multi-signatures for smaller blockchains,'' in \emph{ASIACRYPT}, 2018.
\bibitem{ristenpart2007power}
T.~Ristenpart and S.~Yilek, ``The power of proofs-of-possession: Securing multiparty signatures against rogue-key attacks,'' in \emph{EUROCRYPT}, 2007.
\bibitem{bowe2017bls12381}
S.~Bowe, ``BLS12-381: New zk-SNARK elliptic curve construction,'' \emph{Zcash Blog}, 2017.
\bibitem{kwon2016cosmos}
J.~Kwon and E.~Buchman, ``Cosmos: A network of distributed ledgers,'' 2016.
\bibitem{wood2016polkadot}
G.~Wood, ``Polkadot: Vision for a heterogeneous multi-chain framework,'' 2016.
\bibitem{zamyatin2021bridge}
A.~Zamyatin et al., ``SoK: Communication across distributed ledgers,'' in \emph{FC}, 2021.
\bibitem{kiayias2016proofs}
A.~Kiayias, A.~Miller, and D.~Zindros, ``Non-interactive proofs of proof-of-work,'' in \emph{FC}, 2020.
\bibitem{goes2020ibc}
C.~Goes, ``The interblockchain communication protocol,'' \emph{arXiv:2006.15918}, 2020.
\bibitem{robinson2022crosschain}
P.~Robinson and R.~Hyland-Wood, ``Atomic crosschain transactions for Ethereum private sidechains,'' \emph{Blockchain: Research and Applications}, 2022.
\bibitem{kalodner2018arbitrum}
H.~Kalodner et al., ``Arbitrum: Scalable, private smart contracts,'' in \emph{USENIX Security}, 2018.
\bibitem{buterin2020rollup}
V.~Buterin, ``An incomplete guide to rollups,'' \emph{Ethereum Blog}, 2021.
\bibitem{nakamoto2008bitcoin}
S.~Nakamoto, ``Bitcoin: A peer-to-peer electronic cash system,'' 2008.
\bibitem{buterin2014ethereum}
V.~Buterin, ``Ethereum: A next-generation smart contract and decentralized application platform,'' 2014.
\bibitem{castro1999practical}
M.~Castro and B.~Liskov, ``Practical Byzantine fault tolerance,'' in \emph{OSDI}, 1999.
\bibitem{yin2019hotstuff}
M.~Yin, D.~Malkhi, M.~K.~Reiter, G.~G.~Gueta, and I.~Abraham, ``HotStuff: BFT consensus with linearity and responsiveness,'' in \emph{PODC}, 2019.
\bibitem{boldyreva2003threshold}
A.~Boldyreva, ``Threshold signatures, multisignatures and blind signatures based on the gap-Diffie-Hellman-group signature scheme,'' in \emph{PKC}, 2003.
\bibitem{gentry2003aggregate}
C.~Gentry and Z.~Ramzan, ``Identity-based aggregate signatures,'' in \emph{PKC}, 2006.
\bibitem{buchman2016tendermint}
E.~Buchman, ``Tendermint: Byzantine fault tolerance in the age of blockchains,'' Master's thesis, 2016.
\bibitem{dwork1988consensus}
C.~Dwork, N.~Lynch, and L.~Stockmeyer, ``Consensus in the presence of partial synchrony,'' \emph{JACM}, 1988.
\bibitem{fischer1985impossibility}
M.~J.~Fischer, N.~A.~Lynch, and M.~S.~Paterson, ``Impossibility of distributed consensus with one faulty process,'' \emph{JACM}, 1985.
\bibitem{galbraith2012}
S.~D.~Galbraith, ``Mathematics of public key cryptography,'' Cambridge University Press, 2012.
\bibitem{gudgeon2020sok}
L.~Gudgeon et al., ``SoK: Layer-two blockchain protocols,'' in \emph{FC}, 2020.
\bibitem{schnorr1991efficient}
C.~P.~Schnorr, ``Efficient signature generation by smart cards,'' \emph{J.\ Cryptology}, 1991.
\bibitem{libert2016born}
B.~Libert et al., ``Signature schemes with efficient protocols and dynamic group signatures from lattice assumptions,'' in \emph{ASIACRYPT}, 2016.
\bibitem{baird2016swirlds}
L.~Baird, ``The Swirlds hashgraph consensus algorithm,'' 2016.
\end{thebibliography}