arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.07996cs.CRecon.THmath.OC
收藏

针对权益证明中密码自选择的最优策略性挖矿

Optimal Strategic Mining Against Cryptographic Self-Selection in Proof-of-Stake

Matheus V. X. Ferreira, Ye Lin Sally Hahn, S. Matthew Weinberg, Catherine Yu

AI总结:

本文研究权益证明协议中密码自选择机制下的自私挖矿攻击,证明对手无论控制多少权益都能通过选择性广播凭证获益,并利用马尔可夫决策过程刻画了最优攻击策略。

摘要:

密码自选择是一种用于为现代权益证明共识协议(如 Algorand)选择领导者的子程序。在密码自选择中,每一轮 $r$ 都有一个种子 $Q_r$。在第 $r$ 轮,每个账户所有者被要求对 $Q_r$ 进行数字签名,对其数字签名进行哈希以生成凭证,然后将该凭证广播到整个网络。一个公开已知的函数对每个凭证进行评分,使得最低评分凭证的分布与每个账户所拥有的权益分布相同。广播最低评分凭证的用户成为第 $r$ 轮的领导者,其凭证成为种子 $Q_{r+1}$。此类协议留下了自私挖矿式攻击的可能性:一个拥有多个账户的用户,如果这些账户在第 $r$ 轮各自产生低评分凭证,就可以选择性地决定广播哪些凭证,从而影响第 $r+1$ 轮的种子。实际上,该用户可以针对每个潜在种子预先计算其第 $r+1$ 轮的凭证,并且只广播(在那些评分足够低以至于能成为领导者的凭证中)能产生最有利种子的那个凭证。我们考虑一个希望最大化其拥有的账户成为领导者的轮次期望比例的对手。我们证明,无论其控制的权益比例是多少,这样的对手总是能从偏离预定协议中获益。我们刻画了最优策略;首先证明了当对手拥有的权益少于 $38\%$ 时,最优正递归策略的存在性。然后,我们提供了一个马尔可夫决策过程公式来计算最优策略。

英文摘要:

Cryptographic Self-Selection is a subroutine used to select a leader for modern proof-of-stake consensus protocols, such as Algorand. In cryptographic self-selection, each round $r$ has a seed $Q_r$. In round $r$, each account owner is asked to digitally sign $Q_r$, hash their digital signature to produce a credential, and then broadcast this credential to the entire network. A publicly-known function scores each credential in a manner so that the distribution of the lowest scoring credential is identical to the distribution of stake owned by each account. The user who broadcasts the lowest-scoring credential is the leader for round $r$, and their credential becomes the seed $Q_{r+1}$. Such protocols leave open the possibility of a selfish-mining style attack: a user who owns multiple accounts that each produce low-scoring credentials in round $r$ can selectively choose which ones to broadcast in order to influence the seed for round $r+1$. Indeed, the user can pre-compute their credentials for round $r+1$ for each potential seed, and broadcast only the credential (among those with a low enough score to be the leader) that produces the most favorable seed. We consider an adversary who wishes to maximize the expected fraction of rounds in which an account they own is the leader. We show such an adversary always benefits from deviating from the intended protocol, regardless of the fraction of the stake controlled. We characterize the optimal strategy; first by proving the existence of optimal positive recurrent strategies whenever the adversary owns last than $38\%$ of the stake. Then, we provide a Markov Decision Process formulation to compute the optimal strategy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑