-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLight Client.tex
More file actions
263 lines (212 loc) · 9.89 KB
/
Copy pathLight Client.tex
File metadata and controls
263 lines (212 loc) · 9.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
%\documentclass{llncs}
%\pagestyle{plain}
\documentclass[10pt]{article}
\usepackage[
type={CC},
modifier={by-nc-sa},
version={3.0},
]{doclicense}
\usepackage{authblk}
\usepackage[toc,page]{appendix}
\usepackage[utf8]{inputenc}
%%% page dimensions
\usepackage{geometry}
\geometry{margin=1.08in}
%\usepackage{numdef}
\usepackage{url}
%\usepackage[hyphen]{url}
\usepackage{xspace}
\usepackage{graphicx}
\usepackage{amsmath,amsthm}
\usepackage{amsfonts}
\usepackage{amssymb} %\therefore
\usepackage{hyperref}
\usepackage{cryptocode}
\usepackage{framed}
% \usepackage[parfill]{parskip} % activate to begin paragraphs with an empty line rather than an indent
%%% packages
\usepackage{booktabs}
\usepackage{array}
\usepackage{paralist}
\usepackage{verbatim}
\usepackage{subfig}
\usepackage{mathrsfs}
\usepackage[normalem]{ulem}
\usepackage{soul}
%%% headers & footers
\newcommand{\prove}{\ensuremath{\mathsf{Prove}}\xspace}
\newcommand{\group}{\ensuremath{\mathsf{group}}\xspace}
\newcommand{\ck}{\ensuremath{\mathsf{ck}}\xspace}
\newcommand{\key}[1]{\ensuremath{\mathsf{ck}_{#1}}\xspace}
\newcommand{\konefirst}{\ensuremath{\key{1,[:m']}}\xspace}
\newcommand{\konesecond}{\ensuremath{\key{1,[m':]}}\xspace}
\newcommand{\ktwofirst}{\ensuremath{\key{2,[:m']}}\xspace}
\newcommand{\ktwosecond}{\ensuremath{\key{2,[m':]}}\xspace}
\newcommand{\avec}{\ensuremath{\mathbf{\mathsf{a}}}\xspace}
\newcommand{\vvec}{\ensuremath{\mathbf{v}}\xspace}
\newcommand{\Avec}{\ensuremath{\mathbf{A}}\xspace}
\newcommand{\bvec}{\ensuremath{\mathbf{\mathsf{b}}}\xspace}
\newcommand{\zL}{\ensuremath{\mathit{z_L}}\xspace}
\newcommand{\zR}{\ensuremath{\mathit{z_R}}\xspace}
\newcommand{\afirst}{\ensuremath{\avec_{[:m']}}\xspace}
\newcommand{\asecond}{\ensuremath{\avec_{[m':]}}\xspace}
\newcommand{\Afirst}{\ensuremath{\Avec_{[:m']}}\xspace}
\newcommand{\Asecond}{\ensuremath{\Avec_{[m':]}}\xspace}
\newcommand{\vfirst}{\ensuremath{\vvec_{[:m']}}\xspace}
\newcommand{\vsecond}{\ensuremath{\vvec_{[m':]}}\xspace}
\newcommand{\bfirst}{\ensuremath{\bvec_{[:m']}}\xspace}
\newcommand{\bsecond}{\ensuremath{\bvec_{[m':]}}\xspace}
\newcommand{\CL}{\ensuremath{\mathit{C_L}}\xspace}
\newcommand{\CR}{\ensuremath{\mathit{C_R}}\xspace}
\newcommand{\TL}{\ensuremath{\mathit{T_L}}\xspace}
\newcommand{\TR}{\ensuremath{\mathit{T_R}}\xspace}
\newcommand{\negl}{\ensuremath{\mathit{negl}}\xspace}
\newcommand{\einn}{\ensuremath{\mathit{E}_{\mathit{inn}}}\xspace}
\newcommand{\eout}{\ensuremath{\mathit{E}_{\mathit{out}}}\xspace}
\newcommand{\ginn}[1]{\ensuremath{\mathbb{G}_{\mathit{#1,inn}}}\xspace}
\newcommand{\gout}[1]{\ensuremath{\mathbb{G}_{\mathit{#1,out}}}\xspace}
\newcommand{\gtinn}{\ensuremath{\mathbb{G}_{\mathit{T,inn}}}\xspace}
\newcommand{\gtout}{\ensuremath{\mathbb{G}_{\mathit{T,out}}}\xspace}
\newcommand{\sginn}[1]{\ensuremath{g_{\mathit{#1,inn}}}\xspace}
\newcommand{\sgout}[1]{\ensuremath{g_{\mathit{#1,out}}}\xspace}
\newcommand{\sgtinn}{\ensuremath{g_{\mathit{T,inn}}}\xspace}
\newcommand{\sgtout}{\ensuremath{g_{\mathit{T,out}}}\xspace}
\newcommand{\indexoneinn}{\ensuremath{\mathit{1,inn}}\xspace}
\newcommand{\indextwoinn}{\ensuremath{\mathit{2,inn}}\xspace}
\newcommand{\indexoneout}{\ensuremath{\mathit{1,out}}\xspace}
\newcommand{\indextwoout}{\ensuremath{\mathit{2,out}}\xspace}
\newcommand{\epinn}{\ensuremath{\mathit{e}_{\mathit{inn}}}\xspace}
\newcommand{\epout}{\ensuremath{\mathit{e}_{\mathit{out}}}\xspace}
\newcommand{\block}{\ensuremath{\mathsf{block}}\xspace}
\newcommand{\LCseed}{\ensuremath{\mathit{LC.seed}}\xspace}
%\usepackage{fancyhdr} % this should be set after setting up the page geometry
%\pagestyle{fancy} % options: empty , plain , fancy
%\renewcommand{\headrulewidth}{0pt}
%\lhead{}\chead{}\rhead{}
%\lfoot{}\cfoot{\thepage}\rfoot{}
%%% section title appearance
%\usepackage{sectsty}
%\allsectionsfont{\sffamily\mdseries\upshape}
%%% toc (table of contents) appearance
%\usepackage[nottoc,notlof,notlot]{tocbibind} % put the bibliography in the toc
%\usepackage[titles,subfigure]{tocloft} % alter the style of the table of contents
%\renewcommand{\cftsecfont}{\rmfamily\mdseries\upshape}
%\renewcommand{\cftsecpagefont}{\rmfamily\mdseries\upshape} % no bold!
%%% end article customizations
%\newcommand{\code}[1]{\texttt{#1}}
%\newcommand\tstrut{\rule{0pt}{2.6ex}} % = `top' strut
%\newcommand\bstrut{\rule[-0.9ex]{0pt}{0pt}} % = `bottom' strut
\newcommand{\bgamma}{\boldsymbol{\gamma}}
\newcommand{\bsigma}{\boldsymbol{\sigma}}
%\newcommand{\al}[2]{{\uline{#1}}\textcolor{cyan}{(#2)}}
%\newcommand{\sergey}[2]{{\uline{#1}}\textcolor{magenta}{(#2)}}
\newcommand{\GoneBLS}{\mathbb{G}_{1, \mathit{BLS}}\xspace}
\newcommand{\GtwoBLS}{\mathbb{G}_{2, \mathit{BLS}}\xspace}
\newcommand{\GTBLS}{\mathbb{G}_{T, \mathit{BLS}}\xspace}
\newcommand{\goneBLS}{\mathit{g}_{1, \mathit{BLS}}\xspace}
\newcommand{\gtwoBLS}{\mathit{g}_{2, \mathit{BLS}}\xspace}
\newcommand{\gTBLS}{\mathit{g}_{T, \mathit{BLS}}\xspace}
\newcommand{\eBLS}{\mathit{e}_{\mathit{BLS}}\xspace}
\newcommand{\HBLS}{\mathit{H}_{\mathit{BLS}}\xspace}
\newcommand{\HPoP}{\mathit{H}_{\mathit{PoP}}\xspace}
\newcommand{\Hinn}{\mathit{H}_{\mathit{inn}}\xspace}
\newcommand{\piinn}{\pi_{\mathit{inn}}\xspace}
\newcommand{\PoP}{\mathit{inn}\xspace}
\newcommand{\Rla}{\mathcal{R}^{\mathit{incl}}_{\mathsf{ba}}\xspace}
\newcommand{\Ra}{\mathcal{R}^{\mathit{incl}}_{\mathsf{pa}}\xspace}
\newcommand{\Rvt}{\mathcal{R}^{\mathit{incl}}_{\mathsf{c}}\xspace}
\newcommand{\Rlacom}{\mathcal{R}^{\mathit{incl}}_{\mathsf{ba},\mathit{com}}\xspace}
\newcommand{\Racom}{\mathcal{R}^{\mathit{incl}}_{\mathsf{pa},\mathit{com}}\xspace}
\newcommand{\Rvtcom}{\mathcal{R}^{\mathit{incl}}_{\mathsf{c},\mathit{com}}\xspace}
\newcommand{\Pla}{\mathscr{P}_{\mathsf{ba}}\xspace}
\newcommand{\Pa}{\mathscr{P}_{\mathsf{pa}}\xspace}
\newcommand{\Pvt}{\mathscr{P}_{\mathsf{c}}\xspace}
\newcommand{\Plastar}{\mathscr{P}_{\mathsf{ba}}^{\ast}\xspace}
\newcommand{\Pastar}{\mathscr{P}_{\mathsf{pa}}^{\ast}\xspace}
\newcommand{\Pvtstar}{\mathscr{P}_{\mathsf{c}}^{\ast}\xspace}
\newcommand{\Plah}{\mathscr{P}_{\mathsf{ba}}^{h}\xspace}
\newcommand{\Pah}{\mathscr{P}_{\mathsf{pa}}^{h}\xspace}
\newcommand{\Pvth}{\mathscr{P}_{\mathsf{c}}^{h}\xspace}
\newcommand{\kate}{\ensuremath{\mathsf{KZG}}\xspace}
\newcommand{\ewnp}{e.w.n.p.\ }
%%\spnewtheorem{construction}[theorem]{Instantiation}{\bfseries}{\itshape}
%%\spnewtheorem{assumption}[theorem]{Assumption}{\bfseries}{\itshape}
%%\spnewtheorem{test_claim}[theorem]{Claim}{\bfseries}{\itshape}
%%\newenvironment{sketch}{{\bfseries}{\itshape}\paragraph{Proof Sketch}}{\hfill$\square$}
%\spnewproof{sketch}{Proof Sketch}{\bfseries}{\itshape}
%\usepackage{amsthm}
\title{Accountable Light Client Systems for PoS Blockchains}
\author[1]{Oana Ciobotaru}
\author[2]{Fatemeh Shirazi}
\author[1]{Alistair Stewart}
\author[1]{Sergey Vasilyev}
\affil[1]{Web3 Foundation}
\affil[2]{Independent Researcher}
\date{ \today}
\newtheorem{lemma}{Lemma}
\newtheorem{theorem}[lemma]{Theorem}
\newtheorem{definition}[lemma]{Definition}
\newtheorem{claim}[lemma]{Claim}
\newtheorem{corollary}[lemma]{Corollary}
\newtheorem{remark}[lemma]{Remark}
\newtheorem{construction}[lemma]{Instantiation}
\newtheorem{assumption}[lemma]{Assumption}
\newtheorem{proposition}[lemma]{Proposition}
\newtheorem{test_claim}[lemma]{Claim}
\newtheorem{observation}[lemma]{Observation}
\begin{document}
\maketitle
\abstract{A major challenge for blockchain interoperability is having an on-chain light client protocol that is both efficient and
secure. We present a protocol that provides short proofs about the state of a decentralised consensus protocol while being
able to detect misbehaving parties. To do this naively, a verifier would need to maintain an updated list of all participants' public
keys which makes the corresponding proofs long. In general, existing solutions either lack accountability or are not efficient.
We define and design a committee key scheme with short proofs that do not include any of the individual participants' public
keys in plain. Our committee key scheme, in turn, uses a custom designed SNARK which has a fast prover time. Our committee
key scheme can be used in an accountable light client system as the main cryptographic core for building bridges between proof
of stake blockchains. Finally, we implement a prototype of our custom SNARK for which we provide benchmarks.}
\section{Introduction} \label{sec_intro}
%\input{intro.tex}
\input{introCCS23.tex}
\section{Preliminaries} \label{sec_prelims}
\input{preliminaries}
%\input{short_elliptic_curves_and_pairings}
\input{elliptic_curves_and_pairings}
%\input{short_multisignatures_def}
\input{multisignatures_def}
\input{committee_key_scheme}
\input{conditional_NP_relations}
\input{short_snarks_def}
%\input{snarks_def}
\input{poly_proto_poly_comm}
\input{lagrange_bases}
\section{Custom SNARKs for Public Keys Aggregation Proofs} \label{sec_apk_proofs}
\input{no_witness_relations.tex}
\section{An Accountable Light Client System} \label{sec_light_client_model}
\input{new_light_client_model_updated}
\input{light_client_instantiation}
%%!!!!!!! VERY IMPORTANT: FOR CONFERENCE SUBMISSION, USE ANONYMOUS IMPLEMENTATION !!!
\section{Implementation} \label{sec_implementation}
%\input{anon_implementation}
\input{implementation}
\section{Conclusions}\label{conclusions}
\input{conclusions}
%%!!!!!!! VERY IMPORTANT: REMOVE FOR CONFERENCE SUBMISSION!!!
\section{Acknowledgements} \label{sec_ack}
\input{acknowledgements}
\bibliography{bibliography}
\bibliographystyle{ieeetr}
%%\bibliography{bibliography}
%%\bibliographystyle{splncs04}
\appendix
%\input{multisignatures_def}
\input{alternative_choice_h.tex}
\input{bridge_for_ethereum}
\input{appendix_ranged_polynomial_protocols.tex}
\input{missing_proofs_custom_snarks.tex}
\input{appendix_CKS_proof.tex}
\input{appendix_soundness_proof.tex}
\input{appendix_accountability_proof.tex}
%\input{appendix_step_1_compiler.tex}
\input{apk_vs_plonk_comparison.tex}
\input{appendix_full_accountable.tex}
\end{document}