You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: report/src/sections/06-results.tex
+19-16Lines changed: 19 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,8 @@ \subsection{Proving and Verifying Times}\label{subsec:results:provingverifying}
12
12
\label{fig:resulttimes}%
13
13
\end{figure*}
14
14
15
-
As mentioned in \autoref{sec:CAAUrdleproof-experiment}, CAAUrdleproofs was run with a shuffle size $\ell$ of $\{8,9,\dots,256\}$.
16
-
Curdleproofs was only run with a shuffle size $\ell$ of $\{8,16,32,64,128,256\}$, as it is only able to run in powers of 2.
15
+
As mentioned in \autoref{sec:CAAUrdleproof-experiment}, CAAUrdleproofs was run with a shuffle size $\ell=\{8,9,\dots,256\}$.
16
+
Curdleproofs was only run with a shuffle size $\ell = 2^N$ of $N = \{3,4,5,6,7,8\}$, as it is only able to run in powers of 2.
17
17
This is why the results for Curdleproofs show the shuffle size,~$\ell$, instantly going up to the next power of 2, because it theoretically would have to pad the input set until it reached the next power of 2.
18
18
19
19
From the results, we can see that CAAUrdleproofs and Curdleproofs have similar proving and verifying times when~$\ell$ is a power of 2.
\caption{The results of the shuffle security experiment showing the spread of nessecary shuffle need for the shuffle to be secure}%
74
-
\label{fig:shufflesecurityviolin}%
75
-
\end{figure*}
75
+
76
76
77
77
The results in \autoref{fig:shufflesecurityviolin} show that for all three $\alpha$ values, the spread of the necessary honest shuffles tightens the larger the shuffle size $\ell$ gets.
78
78
Like the results in \autoref{fig:shufflesecurity}, \autoref{fig:shufflesecurityviolin} also shows that the bigger a shuffle size $\ell$, the less honest shuffles on average are necessary to make the shuffle secure.
79
79
80
+
We can also see that the widest point of the violin plot is below the mean.
81
+
This means that the outliers are a lot more significant above the mean than below it.
82
+
80
83
It is worth noting that there is a spike in the distribution of the necessary honest shuffles at $\ell=32$ for $\alpha=4096$.
81
84
This spike is not present for the other two $\alpha$ values, and is due to the probabilistic nature of the shuffling method.
When looking at the results of the shuffle security experiment in \autoref{fig:shufflesecurity} and \autoref{fig:shufflesecurityviolin}, we can see that when taking into account the standard deviation, the shuffle can still be secure with an~$\ell$ as low as 32 within the 8192 shuffles available.
41
-
Even when taking into account the worst case scenario from our experiment, the shuffle will still be secure with an~$\ell$ as low as 42 within the 8192 shuffles available.
42
-
43
-
We would however not recommend using an~$\ell$ lower than 80, as the worst case scenario uses a little under half the available shuffles, and you would only need one third to get within the standard deviation.
44
-
This would still lead to the size of the block overhead and the speed of the protocol being significantly reduced.
41
+
Even when taking into account the worst case scenario from our experiment, the shuffle will still be secure with an~$\ell$ as low as 42 within the 8192 shuffles available with an $\alpha$ of 8192.
45
42
43
+
We would however not recommend using an~$\ell$ lower than 80, as here the worst case scenario needs a little under half the available shuffles to be honest in order to be secure.
44
+
As seen in~\autoref{fig:shufflesecurity} you would also only need a third of the 8192 shuffles to be honest to get within the one standard deviation.
45
+
This would still lead to a reduction of the proving time of 62.69ms, which is 74.25\% of the current Curdleproofs time and a reduction in the verifying time of 0.89ms, which is 96.11\% of the current Curdleproofs time.
46
+
It would also reduce the size of the block overhead from 16.656KB to 12.048KB.
47
+
Only 72.33\% of the currently calculated size for Curdleproofs.
48
+
This would result in saving $\sim12.11GB$ of space on the blockchain each year.
49
+
Some other things to keep in mind when deciding on how many honest shuffles should be necessary to make the shuffle secure is that there are other factors that can affect the security of the blockchain.
50
+
One of such factors is some of the know attacks that takes advantage of controlling a large number of validators.
51
+
Attacks like the $>-50\%$ stake attack and the $33\%$ finality attack~\cite{EthereumAttackDefense2024} takes advantage of controlling a large number of validators in order to negatively effect the blockchain system.
52
+
Because of attacks like these, which rely on controlling a large number of validators, we would recommend that when evaluating how many honest shuffles should be necessary to make the shuffle secure, one should also take into account how many honest validators are necessary to make the blockchain secure.
46
53
54
+
Another thing to keep in mind is that within the Ethereum system not every validator is owned by a different person.
55
+
Some nodes contain multiple validators, and this means that during the shuffling phase, when selecting the 16384 possible proposers, there is a chance that a single node controls multiple of the chosen validators.
56
+
This is also possible during the selecting of the shufflers.
47
57
58
+
From the results we see that the mean starts higher and ends lower for the experiments with a higher $\alpha$.
59
+
One of the reasons for this could be the relationship between the number of adversarial tracked cups and the threshold necessary before the shuffle is secure.
60
+
Since the threshold is $2/(n-\alpha)$, the higher $\alpha$ is, the higher the threshold for the amount of water allowed in any cup.
61
+
Therefore, the higher $\alpha$ is, the harder it is to get the water divided into the honest cups.
62
+
The reason being, that the distribution only happens in honest cups.
63
+
More adversarial cups means less honest cups to distribute the water into.
64
+
Hence, there potentially is a higher amount of water in the chosen cups after a shuffle when $\alpha$ is higher.
0 commit comments