अल्गोरंड: क्रिप्टोकरेंसी के लिए बीजान्टिन समझौतों का विस्तार

Algorand: Scaling Byzantine Agreements for Cryptocurrencies

Tác giả Jing Chen and Silvio Micali · 2017

Abstract

Abstract

A public ledger is a tamperproof sequence of data that can be read and augmented by everyone. Public ledgers have innumerable and compelling uses. They can secure, in plain sight, all kinds of transactions —such as titles, sales, and payments— in the exact order in which they occur. Public ledgers not only curb corruption, but also enable very sophisticated applications —such as cryptocurrencies and smart contracts. They stand to revolutionize the way a democratic society operates. As currently implemented, however, they scale poorly and cannot achieve their potential. Algorand is a truly democratic and efficient way to implement a public ledger. Unlike prior implementations based on proof of work, it requires a negligible amount of computation, and generates a transaction history that will not "fork" with overwhelmingly high probability. Algorand is based on (a novel and super fast) message-passing Byzantine agreement. For concreteness, we shall describe Algorand only as a money platform.

सारांश

सार्वजनिक बही-खाता डेटा का एक छेड़छाड़-रोधी अनुक्रम है जिसे हर कोई पढ़ सकता है और बढ़ा सकता है। सार्वजनिक बहीखातों के असंख्य और आकर्षक उपयोग हैं। वे स्पष्ट दृष्टि से सभी प्रकार की सुरक्षा कर सकते हैं लेन-देन - जैसे शीर्षक, बिक्री और भुगतान - ठीक उसी क्रम में जिसमें वे घटित होते हैं। सार्वजनिक बहीखाता न केवल भ्रष्टाचार पर अंकुश लगाता है, बल्कि बहुत परिष्कृत अनुप्रयोगों को भी सक्षम बनाता है - जैसे क्रिप्टोकरेंसी और smart contracts। वे एक लोकतांत्रिक समाज में क्रांति लाने के लिए खड़े हैं संचालित होता है. हालाँकि, जैसा कि वर्तमान में लागू किया गया है, वे खराब पैमाने पर हैं और अपनी क्षमता हासिल नहीं कर सकते हैं। Algorand सार्वजनिक बहीखाता को लागू करने का वास्तव में लोकतांत्रिक और कुशल तरीका है। पहले के विपरीत कार्य के प्रमाण के आधार पर कार्यान्वयन के लिए नगण्य मात्रा में गणना की आवश्यकता होती है, और एक लेन-देन इतिहास उत्पन्न करता है जो अत्यधिक संभावना के साथ "कांटा" नहीं करेगा। Algorand (एक उपन्यास और सुपर फास्ट) संदेश-पासिंग बीजान्टिन समझौते पर आधारित है। संक्षिप्तता के लिए, हम Algorand को केवल एक धन मंच के रूप में वर्णित करेंगे।

Introduction

Introduction

Money is becoming increasingly virtual. It has been estimated that about 80% of United States dollars today only exist as ledger entries [5]. Other financial instruments are following suit. In an ideal world, in which we could count on a universally trusted central entity, immune to all possible cyber attacks, money and other financial transactions could be solely electronic. Unfortunately, we do not live in such a world. Accordingly, decentralized cryptocurrencies, such as Bitcoin [29], and "smart contract" systems, such as Ethereum, have been proposed [4]. At the heart of these systems is a shared ledger that reliably records a sequence of transactions, ∗This is the more formal (and asynchronous) version of the ArXiv paper by the second author [24], a paper itself based on that of Gorbunov and Micali [18]. Algorand's technologies are the object of the following patent applications: US62/117,138 US62/120,916 US62/142,318 US62/218,817 US62/314,601 PCT/US2016/018300 US62/326,865 62/331,654 US62/333,340 US62/343,369 US62/344,667 US62/346,775 US62/351,011 US62/653,482 US62/352,195 US62/363,970 US62/369,447 US62/378,753 US62/383,299 US62/394,091 US62/400,361 US62/403,403 US62/410,721 US62/416,959 US62/422,883 US62/455,444 US62/458,746 US62/459,652 US62/460,928 US62/465,931

as varied as payments and contracts, in a tamperproof way. The technology of choice to guarantee such tamperproofness is the blockchain. Blockchains are behind applications such as cryptocurrencies [29], financial applications [4], and the Internet of Things [3]. Several techniques to manage blockchain-based ledgers have been proposed: proof of work [29], proof of stake [2], practical Byzantine fault-tolerance [8], or some combination. Currently, however, ledgers can be inefficient to manage. For example, Bitcoin's proof-of-work approach (based on the original concept of [14]) requires a vast amount of computation, is wasteful and scales poorly [1]. In addition, it de facto concentrates power in very few hands. We therefore wish to put forward a new method to implement a public ledger that offers the convenience and efficiency of a centralized system run by a trusted and inviolable authority, without the inefficiencies and weaknesses of current decentralized implementations. We call our approach Algorand, because we use algorithmic randomness to select, based on the ledger constructed so far, a set of verifiers who are in charge of constructing the next block of valid transactions. Naturally, we ensure that such selections are provably immune from manipulations and unpredictable until the last minute, but also that they ultimately are universally clear. Algorand's approach is quite democratic, in the sense that neither in principle nor de facto it creates different classes of users (as "miners" and "ordinary users" in Bitcoin). In Algorand "all power resides with the set of all users". One notable property of Algorand is that its transaction history may fork only with very small probability (e.g., one in a trillion, that is, or even \(10^{-18}\)). Algorand can also address some legal and political concerns. The Algorand approach applies to blockchains and, more generally, to any method of generating a tamperproof sequence of blocks. We actually put forward a new method —alternative to, and more efficient than, blockchains— that may be of independent interest. 1.1 Bitcoin's Assumption and Technical Problems Bitcoin is a very ingenious system and has inspired a great amount of subsequent research. Yet, it is also problematic. Let us summarize its underlying assumption and technical problems —which are actually shared by essentially all cryptocurrencies that, like Bitcoin, are based on proof-of-work. For this summary, it suffices to recall that, in Bitcoin, a user may own multiple public keys of a digital signature scheme, that money is associated with public keys, and that a payment is a digital signature that transfers some amount of money from one public key to another. Essentially, Bitcoin organizes all processed payments in a chain of blocks, \(B_1, B_2, \ldots\), each consisting of multiple payments, such that, all payments of \(B_1\), taken in any order, followed by those of \(B_2\), in any order, etc., constitute a sequence of valid payments. Each block is generated, on average, every 10 minutes. This sequence of blocks is a chain, because it is structured so as to ensure that any change, even in a single block, percolates into all subsequent blocks, making it easier to spot any alteration of the payment history. (As we shall see, this is achieved by including in each block a cryptographic hash of the previous one.) Such block structure is referred to as a blockchain. Assumption: Honest Majority of Computational Power Bitcoin assumes that no malicious entity (nor a coalition of coordinated malicious entities) controls the majority of the computational power devoted to block generation. Such an entity, in fact, would be able to modify the blockchain,

and thus re-write the payment history, as it pleases. In particular, it could make a payment \(\wp\), obtain the benefits paid for, and then "erase" any trace of \(\wp\). Technical Problem 1: Computational Waste Bitcoin's proof-of-work approach to block generation requires an extraordinary amount of computation. Currently, with just a few hundred thousands public keys in the system, the top 500 most powerful supercomputers can only muster a mere 12.8% percent of the total computational power required from the Bitcoin players. This amount of computation would greatly increase, should significantly more users join the system. Technical Problem 2: Concentration of Power Today, due to the exorbitant amount of computation required, a user, trying to generate a new block using an ordinary desktop (let alone a cell phone), expects to lose money. Indeed, for computing a new block with an ordinary computer, the expected cost of the necessary electricity to power the computation exceeds the expected reward. Only using pools of specially built computers (that do nothing other than "mine new blocks"), one might expect to make a profit by generating new blocks. Accordingly, today there are, de facto, two disjoint classes of users: ordinary users, who only make payments, and specialized mining pools, that only search for new blocks. It should therefore not be a surprise that, as of recently, the total computing power for block generation lies within just five pools. In such conditions, the assumption that a majority of the computational power is honest becomes less credible. Technical Problem 3: Ambiguity In Bitcoin, the blockchain is not necessarily unique. Indeed its latest portion often forks: the blockchain may be —say— \(B_1, \ldots, B_k, B'_{k+1}, B'_{k+2}\), according to one user, and \(B_1, \ldots, B_k, B''_{k+1}, B''_{k+2}, B''_{k+3}\) according another user. Only after several blocks have been added to the chain, can one be reasonably sure that the first \(k + 3\) blocks will be the same for all users. Thus, one cannot rely right away on the payments contained in the last block of the chain. It is more prudent to wait and see whether the block becomes sufficiently deep in the blockchain and thus sufficiently stable. Separately, law-enforcement and monetary-policy concerns have also been raised about Bitcoin.1 1.2 Algorand, in a Nutshell Setting Algorand works in a very tough setting. Briefly, (a) Permissionless and Permissioned Environments. Algorand works efficiently and securely even in a totally permissionless environment, where arbitrarily many users are allowed to join the system at any time, without any vetting or permission of any kind. Of course, Algorand works even better in a permissioned environment. 1The (pseudo) anonymity offered by Bitcoin payments may be misused for money laundering and/or the financing of criminal individuals or terrorist organizations. Traditional banknotes or gold bars, that in principle offer perfect anonymity, should pose the same challenge, but the physicality of these currencies substantially slows down money transfers, so as to permit some degree of monitoring by law-enforcement agencies. The ability to "print money" is one of the very basic powers of a nation state. In principle, therefore, the massive adoption of an independently floating currency may curtail this power. Currently, however, Bitcoin is far from being a threat to governmental monetary policies, and, due to its scalability problems, may never be.

(b) Very Adversarial Environments. Algorand withstands a very powerful Adversary, who can (1) instantaneously corrupt any user he wants, at any time he wants, provided that, in a permissionless environment, 2/3 of the money in the system belongs to honest user. (In a permissioned environment, irrespective of money, it suffices that 2/3 of the users are honest.) (2) totally control and perfectly coordinate all corrupted users; and (3) schedule the delivery of all messages, provided that each message \(m\) sent by a honest user reaches 95% of the honest users within a time \(\lambda_m\), which solely depends on the size of \(m\). Main Properties Despite the presence of our powerful adversary, in Algorand • The amount of computation required is minimal. Essentially, no matter how many users are present in the system, each of fifteen hundred users must perform at most a few seconds of computation. • A New Block is Generated in less than 10 minutes, and will de facto never leave the blockchain. For instance, in expectation, the time to generate a block in the first embodiment is less than \(\Lambda + 12.4\lambda\), where \(\Lambda\) is the time necessary to propagate a block, in a peer-to-peer gossip fashion, no matter what block size one may choose, and \(\lambda\) is the time to propagate 1,500 200B-long messages. (Since in a truly decentralized system, \(\Lambda\) essentially is an intrinsic latency, in Algorand the limiting factor in block generation is network speed.) The second embodiment has actually been tested experimentally ( by ?), indicating that a block is generated in less than 40 seconds. In addition, Algorand's blockchain may fork only with negligible probability (i.e., less than one in a trillion), and thus users can relay on the payments contained in a new block as soon as the block appears. • All power resides with the users themselves. Algorand is a truy distributed system. In particular, there are no exogenous entities (as the "miners" in Bitcoin), who can control which transactions are recognized. Algorand's Techniques. 1. A New and Fast Byzantine Agreement Protocol. Algorand generates a new block via a new cryptographic, message-passing, binary Byzantine agreement (BA) protocol, BA⋆. Protocol BA⋆not only satisfies some additional properties (that we shall soon discuss), but is also very fast. Roughly said, its binary-input version consists of a 3-step loop, in which a player \(i\) sends a single message \(m_i\) to all other players. Executed in a complete and synchronous network, with more than 2/3 of the players being honest, with probability > 1/3, after each loop the protocol ends in agreement. (We stress that protocol BA⋆satisfies the original definition of Byzantine agreement of Pease, Shostak, and Lamport [31], without any weakenings.) Algorand leverages this binary BA protocol to reach agreement, in our different communication model, on each new block. The agreed upon block is then certified, via a prescribed number of digital signature of the proper verifiers, and propagated through the network. 2. Cryptographic Sortition. Although very fast, protocol BA⋆would benefit from further speed when played by millions of users. Accordingly, Algorand chooses the players of BA⋆to be

a much smaller subset of the set of all users. To avoid a different kind of concentration-of-power problem, each new block \(B^r\) will be constructed and agreed upon, via a new execution of BA⋆, by a separate set of selected verifiers, \(SV^r\). In principle, selecting such a set might be as hard as selecting \(B^r\) directly. We traverse this potential problem by an approach that we term, embracing the insightful suggestion of Maurice Herlihy, cryptographic sortition. Sortition is the practice of selecting officials at random from a large set of eligible individuals [6]. (Sortition was practiced across centuries: for instance, by the republics of Athens, Florence, and Venice. In modern judicial systems, random selection is often used to choose juries. Random sampling has also been recently advocated for elections by David Chaum [9].) In a decentralized system, of course, choosing the random coins necessary to randomly select the members of each verifier set \(SV^r\) is problematic. We thus resort to cryptography in order to select each verifier set, from the population of all users, in a way that is guaranteed to be automatic (i.e., requiring no message exchange) and random. In essence, we use a cryptographic function to automatically determine, from the previous block \(B^{r-1}\), a user, the leader, in charge of proposing the new block \(B^r\), and the verifier set \(SV^r\), in charge to reach agreement on the block proposed by the leader. Since malicious users can affect the composition of \(B^{r-1}\) (e.g., by choosing some of its payments), we specially construct and use additional inputs so as to prove that the leader for the \(r\)th block and the verifier set \(SV^r\) are indeed randomly chosen. 3. The Quantity (Seed) \(Q^r\). We use the the last block \(B^{r-1}\) in the blockchain in order to automatically determine the next verifier set and leader in charge of constructing the new block \(B^r\). The challenge with this approach is that, by just choosing a slightly different payment in the previous round, our powerful Adversary gains a tremendous control over the next leader. Even if he only controlled only 1/1000 of the players/money in the system, he could ensure that all leaders are malicious. (See the Intuition Section 4.1.) This challenge is central to all proof-of-stake approaches, and, to the best of our knowledge, it has not, up to now, been satisfactorily solved. To meet this challenge, we purposely construct, and continually update, a separate and carefully defined quantity, \(Q^r\), which provably is, not only unpredictable, but also not influentiable, by our powerful Adversary. We may refer to \(Q^r\) as the \(r\)th seed, as it is from \(Q^r\) that Algorand selects, via secret cryptographic sortition, all the users that will play a special role in the generation of the \(r\)th block. 4. Secret Crytographic Sortition and Secret Credentials. Randomly and unambiguously using the current last block, \(B^{r-1}\), in order to choose the verifier set and the leader in charge of constructing the new block, \(B^r\), is not enough. Since \(B^{r-1}\) must be known before generating \(B^r\), the last non-influentiable quantity \(Q^{r-1}\) contained in \(B^{r-1}\) must be known too. Accordingly, so are the verifiers and the leader in charge to compute the block \(B^r\). Thus, our powerful Adversary might immediately corrupt all of them, before they engage in any discussion about \(B^r\), so as to get full control over the block they certify. To prevent this problem, leaders (and actually verifiers too) secretly learn of their role, but can compute a proper credential, capable of proving to everyone that indeed have that role. When a user privately realizes that he is the leader for the next block, first he secretly assembles his own proposed new block, and then disseminates it (so that can be certified) together with his own credential. This way, though the Adversary will immediately realize who the leader of the next block is, and although he can corrupt him right away, it will be too late for the Adversary to influence the choice of a new block. Indeed, he cannot "call back" the leader's message no more

than a powerful government can put back into the bottle a message virally spread by WikiLeaks. As we shall see, we cannot guarantee leader uniqueness, nor that everyone is sure who the leader is, including the leader himself! But, in Algorand, unambiguous progress will be guaranteed. 5. Player Replaceability. After he proposes a new block, the leader might as well "die" (or be corrupted by the Adversary), because his job is done. But, for the verifiers in \(SV^r\), things are less simple. Indeed, being in charge of certifying the new block \(B^r\) with sufficiently many signatures, they must first run Byzantine agreement on the block proposed by the leader. The problem is that, no matter how efficient it is, BA⋆requires multiple steps and the honesty of > 2/3 of its players. This is a problem, because, for efficiency reasons, the player set of BA⋆consists the small set \(SV^r\) randomly selected among the set of all users. Thus, our powerful Adversary, although unable to corrupt 1/3 of all the users, can certainly corrupt all members of \(SV^r\)! Fortunately we'll prove that protocol BA⋆, executed by propagating messages in a peer-topeer fashion, is player-replaceable. This novel requirement means that the protocol correctly and efficiently reaches consensus even if each of its step is executed by a totally new, and randomly and independently selected, set of players. Thus, with millions of users, each small set of players associated to a step of BA⋆most probably has empty intersection with the next set. In addition, the sets of players of different steps of BA⋆will probably have totally different cardinalities. Furthermore, the members of each set do not know who the next set of players will be, and do not secretly pass any internal state. The replaceable-player property is actually crucial to defeat the dynamic and very powerful Adversary we envisage. We believe that replaceable-player protocols will prove crucial in lots of contexts and applications. In particular, they will be crucial to execute securely small sub-protocols embedded in a larger universe of players with a dynamic adversary, who, being able to corrupt even a small fraction of the total players, has no difficulty in corrupting all the players in the smaller sub-protocol. An Additional Property/Technique: Lazy Honesty A honest user follows his prescribed instructions, which include being online and run the protocol. Since, Algorand has only modest computation and communication requirement, being online and running the protocol "in the background" is not a major sacrifice. Of course, a few "absences" among honest players, as those due to sudden loss of connectivity or the need of rebooting, are automatically tolerated (because we can always consider such few players to be temporarily malicious). Let us point out, however, that Algorand can be simply adapted so as to work in a new model, in which honest users to be offline most of the time. Our new model can be informally introduced as follows. Lazy Honesty. Roughly speaking, a user \(i\) is lazy-but-honest if (1) he follows all his prescribed instructions, when he is asked to participate to the protocol, and (2) he is asked to participate to the protocol only rarely, and with a suitable advance notice. With such a relaxed notion of honesty, we may be even more confident that honest people will be at hand when we need them, and Algorand guarantee that, when this is the case, The system operates securely even if, at a given point in time, the majority of the participating players are malicious.

1.3 Closely Related work Proof-of-work approaches (like the cited [29] and [4]) are quite orthogonal to our ours. So are the approaches based on message-passing Byzantine agreement or practical Byzantine fault tolerance (like the cited [8]). Indeed, these protocols cannot be run among the set of all users and cannot, in our model, be restricted to a suitably small set of users. In fact, our powerful adversary my immediately corrupt all the users involved in a small set charged to actually running a BA protocol. Our approach could be considered related to proof of stake [2], in the sense that users' "power" in block building is proportional to the money they own in the system (as opposed to —say— to the money they have put in "escrow"). The paper closest to ours is the Sleepy Consensus Model of Pass and Shi [30]. To avoid the heavy computation required in the proof-of-work approach, their paper relies upon (and kindly credits) Algorand's secret cryptographic sortition. With this crucial aspect in common, several significant differences exist between our papers. In particular, (1) Their setting is only permissioned. By contrast, Algorand is also a permissionless system. (2) They use a Nakamoto-style protocol, and thus their blockchain forks frequently. Although dispensing with proof-of-work, in their protocol a secretly selected leader is asked to elongate the longest valid (in a richer sense) blockchain. Thus, forks are unavoidable and one has to wait that the block is sufficiently "deep" in the chain. Indeed, to achieve their goals with an adversary capable of adaptive corruptions, they require a block to be \(\text{poly}(N)\) deep, where \(N\) represents the total number of users in the system. Notice that, even assuming that a block could be produced in a minute, if there were \(N = 1M\) users, then one would have to wait for about 2M years for a block to become \(N^2\)-deep, and for about 2 years for a block to become \(N\)-deep. By contrast, Algorand's blockchain forks only with negligible probability, even though the Adversary corrupt users immediately and adaptively, and its new blocks can immediately be relied upon. (3) They do not handle individual Byzantine agreements. In a sense, they only guarantee "eventual consensus on a growing sequence of values". Theirs is a state replication protocol, rather than a BA one, and cannot be used to reach Byzantine agreement on an individual value of interest. By contrast, Algorand can also be used only once, if so wanted, to enable millions of users to quickly reach Byzantine agreement on a specific value of interest. (4) They require weakly synchronized clocks. That is, all users' clocks are offset by a small time \(\delta\). By contrast, in Algorand, clocks need only have (essentially) the same "speed". (5) Their protocol works with lazy-but-honest users or with honest majority of online users. They kindly credit Algorand for raising the issue of honest users going offline en masse, and for putting forward the lazy honesty model in response. Their protocol not only works in the lazy honesty model, but also in their adversarial sleepy model, where an adversary chooses which users are online and which are offline, provided that, at all times, the majority of online users are honest.2 2The original version of their paper actually considered only security in their adversarial sleepy model. The original version of Algorand, which precedes theirs, also explicitly envisaged assuming that a given majority of the online players is always honest, but explicitly excluded it from consideration, in favor of the lazy honesty model. (For instance, if at some point in time half of the honest users choose to go off-line, then the majority of the users on-line may very well be malicious. Thus, to prevent this from happening, the Adversary should force most of his corrupted players to go off-line too, which clearly is against his own interest.) Notice that a protocol with a majority of lazy-but-honest players works just fine if the majority of the users on-line are always malicious. This is so, because a sufficient number of honest players, knowing that they are going to be crucial at some rare point in time, will elect not to go off-line in those moments, nor can they be forced off-line by the Adversary, since he does not know who the crucial honest players might be.

(6) They require a simple honest majority. By contrast, the current version of Algorand requires a 2/3 honest majority. Another paper close to us is Ouroboros: A Provably Secure Proof-of-Stake Blockchain Protocol, by Kiayias, Russell, David, and Oliynykov [20]. Also their system appeared after ours. It also uses crytpographic sortition to dispense with proof of work in a provable manner. However, their system is, again, a Nakamoto-style protocol, in which forks are both unavoidable and frequent. (However, in their model, blocks need not as deep as the sleepy-consensus model.) Moreover, their system relies on the following assumptions: in the words of the authors themselves, "(1) the network is highly synchronous, (2) the majority of the selected stakeholders is available as needed to participate in each epoch, (3) the stakeholders do not remain offline for long periods of time, (4) the adaptivity of corruptions is subject to a small delay that is measured in rounds linear in the security parameter." By contrast, Algorand is, with overwhelming probability, fork-free, and does not rely on any of these 4 assumptions. In particular, in Algorand, the Adversary is able to instantaneously corrupt the users he wants to control.

परिचय

पैसा तेजी से आभासी होता जा रहा है। यह अनुमान लगाया गया है कि संयुक्त राज्य अमेरिका का लगभग 80% डॉलर आज केवल बही प्रविष्टियों [5] के रूप में मौजूद हैं। अन्य वित्तीय साधन भी इसका अनुसरण कर रहे हैं। एक आदर्श दुनिया में, जिसमें हम सार्वभौमिक रूप से भरोसेमंद केंद्रीय इकाई, प्रतिरक्षा पर भरोसा कर सकते हैं सभी संभावित साइबर हमलों के लिए, धन और अन्य वित्तीय लेनदेन पूरी तरह से इलेक्ट्रॉनिक हो सकते हैं। दुर्भाग्य से, हम ऐसी दुनिया में नहीं रहते हैं। तदनुसार, विकेंद्रीकृत क्रिप्टोकरेंसी, जैसे जैसे Bitcoin [29], और "smart contract" सिस्टम, जैसे Ethereum, प्रस्तावित किए गए हैं [4]। पर इन प्रणालियों का हृदय एक साझा खाता बही है जो लेन-देन के क्रम को विश्वसनीय रूप से रिकॉर्ड करता है, ∗यह दूसरे लेखक [24], एक पेपर द्वारा ArXiv पेपर का अधिक औपचारिक (और अतुल्यकालिक) संस्करण है स्वयं गोर्बुनोव और मिकाली [18] पर आधारित है। Algorand की प्रौद्योगिकियाँ निम्नलिखित का उद्देश्य हैं पेटेंट आवेदन: US62/117,138 US62/120,916 US62/142,318 US62/218,817 US62/314,601 PCT/US2016/018300 यूएस62/326,865 62/331,654 यूएस62/333,340 यूएस62/343,369 यूएस62/344,667 यूएस62/346,775 यूएस62/351,011 यूएस62/653,482 US62/352,195 US62/363,970 US62/369,447 US62/378,753 US62/383,299 US62/394,091 US62/400,361 US62/403,403 US62/410,721 US62/416,959 US62/422,883 US62/455,444 US62/458,746 US62/459,652 US62/460,928 US62/465,931भुगतान और अनुबंधों के रूप में विविध, छेड़छाड़ रहित तरीके से। पसंद की तकनीक ऐसी छेड़छाड़रोधी गारंटी blockchain है। ब्लॉकचेन जैसे अनुप्रयोगों के पीछे हैं क्रिप्टोकरेंसी [29], वित्तीय अनुप्रयोग [4], और इंटरनेट ऑफ थिंग्स [3]। कई तकनीकें blockchain-आधारित बही-खातों को प्रबंधित करने के लिए प्रस्तावित किया गया है: कार्य का प्रमाण [29], हिस्सेदारी का प्रमाण [2], व्यावहारिक बीजान्टिन दोष-सहिष्णुता [8], या कुछ संयोजन। हालाँकि, वर्तमान में, बही-खाता प्रबंधन करने में अक्षम हो सकते हैं। उदाहरण के लिए, Bitcoin का proof-of-work दृष्टिकोण ([14] की मूल अवधारणा पर आधारित) के लिए बड़ी मात्रा में गणना की आवश्यकता होती है, यह बेकार है और स्केल ख़राब [1]। इसके अलावा, यह वास्तव में बहुत कम हाथों में शक्ति केंद्रित करता है। इसलिए हम सार्वजनिक बही-खाता को लागू करने के लिए एक नई विधि सामने रखना चाहते हैं जो प्रदान करता है एक विश्वसनीय और अनुल्लंघनीय प्राधिकारी द्वारा संचालित केंद्रीकृत प्रणाली की सुविधा और दक्षता, बिना वर्तमान विकेंद्रीकृत कार्यान्वयन की अक्षमताएं और कमजोरियां। हम अपना दृष्टिकोण कहते हैं Algorand, क्योंकि हम अब तक बनाए गए बहीखाते के आधार पर चयन करने के लिए एल्गोरिथम यादृच्छिकता का उपयोग करते हैं, सत्यापनकर्ताओं का एक समूह जो वैध लेनदेन के अगले ब्लॉक के निर्माण के प्रभारी हैं। स्वाभाविक रूप से, हम यह सुनिश्चित करते हैं कि इस तरह के चयन हेरफेर से सुरक्षित और अप्रत्याशित हों अंतिम मिनट, लेकिन यह भी कि वे अंततः सार्वभौमिक रूप से स्पष्ट हैं। Algorand का दृष्टिकोण काफी लोकतांत्रिक है, इस अर्थ में कि यह न तो सैद्धांतिक रूप से और न ही वास्तव में उपयोगकर्ताओं के विभिन्न वर्ग बनाता है (Bitcoin में "खनिक" और "सामान्य उपयोगकर्ता" के रूप में)। Algorand में “सभी शक्ति सभी उपयोगकर्ताओं के समूह के पास रहती है।” Algorand की एक उल्लेखनीय संपत्ति यह है कि इसका लेनदेन इतिहास केवल बहुत छोटे से ही कांटा जा सकता है संभाव्यता (उदाहरण के लिए, ट्रिलियन में से एक, यानी, या यहां तक कि 10−18)। Algorand कुछ कानूनी समाधान भी दे सकता है और राजनीतिक चिंताएँ। Algorand दृष्टिकोण blockchain पर लागू होता है और, अधिक सामान्यतः, उत्पादन की किसी भी विधि पर लागू होता है ब्लॉकों का छेड़छाड़रोधी अनुक्रम। हमने वास्तव में एक नई विधि सामने रखी है - और का विकल्प blockchains से अधिक कुशल - जो स्वतंत्र हित का हो सकता है। 1.1 Bitcoin की धारणा और तकनीकी समस्याएं Bitcoin एक बहुत ही सरल प्रणाली है और इसने बाद के कई शोधों को प्रेरित किया है। फिर भी, यह समस्याग्रस्त भी है. आइए हम इसकी अंतर्निहित धारणा और तकनीकी समस्याओं को संक्षेप में प्रस्तुत करें-जो वास्तव में अनिवार्य रूप से सभी क्रिप्टोकरेंसी द्वारा साझा किए जाते हैं, जो Bitcoin की तरह, proof-of-work पर आधारित होते हैं। इस सारांश के लिए, यह याद रखना पर्याप्त है कि, Bitcoin में, एक उपयोगकर्ता के पास एकाधिक सार्वजनिक कुंजियाँ हो सकती हैं एक डिजिटल हस्ताक्षर योजना में, वह पैसा सार्वजनिक कुंजी से जुड़ा होता है, और वह एक भुगतान है डिजिटल हस्ताक्षर जो कुछ धनराशि को एक सार्वजनिक कुंजी से दूसरे में स्थानांतरित करता है। मूलतः, Bitcoin सभी संसाधित भुगतानों को ब्लॉक, B1, B2, की श्रृंखला में व्यवस्थित करता है। . ., प्रत्येक में एकाधिक शामिल हैं भुगतान, जैसे कि, B1 के सभी भुगतान, किसी भी क्रम में लिए गए, उसके बाद B2 के सभी भुगतान, किसी भी क्रम में, आदि, वैध भुगतानों का एक क्रम बनाते हैं। प्रत्येक ब्लॉक औसतन हर 10 मिनट में उत्पन्न होता है। ब्लॉकों का यह क्रम एक श्रृंखला है, क्योंकि इसे इस तरह से संरचित किया गया है कि यह सुनिश्चित किया जा सके कि कोई भी बदलाव हो एक ही ब्लॉक में, बाद के सभी ब्लॉकों में फैल जाता है, जिससे किसी भी बदलाव को पहचानना आसान हो जाता है भुगतान इतिहास. (जैसा कि हम देखेंगे, यह प्रत्येक ब्लॉक में एक क्रिप्टोग्राफ़िक को शामिल करके हासिल किया जाता है पिछले वाले का hash।) ऐसी ब्लॉक संरचना को blockchain कहा जाता है। धारणा: कम्प्यूटेशनल शक्ति का ईमानदार बहुमत Bitcoin मानता है कि कोई दुर्भावनापूर्ण नहीं है इकाई (न ही समन्वित दुर्भावनापूर्ण संस्थाओं का गठबंधन) अधिकांश कम्प्यूटेशनल को नियंत्रित करती है ब्लॉक उत्पादन के लिए समर्पित शक्ति। ऐसी इकाई, वास्तव में, blockchain को संशोधित करने में सक्षम होगी,और इस प्रकार भुगतान इतिहास को फिर से लिखें, जैसा वह चाहे। विशेष रूप से, यह भुगतान कर सकता है \(\wp\), भुगतान किए गए लाभ प्राप्त करें, और फिर \(\wp\) का कोई भी निशान "मिटा" दें। तकनीकी समस्या 1: कम्प्यूटेशनल अपशिष्ट ब्लॉक करने के लिए Bitcoin का proof-of-work दृष्टिकोण पीढ़ी को असाधारण मात्रा में गणना की आवश्यकता होती है। वर्तमान में, केवल कुछ सौ के साथ सिस्टम में हजारों सार्वजनिक कुंजियाँ, शीर्ष 500 सबसे शक्तिशाली सुपर कंप्यूटर ही जुटा सकते हैं Bitcoin खिलाड़ियों से आवश्यक कुल कम्प्यूटेशनल शक्ति का मात्र 12.8% प्रतिशत। यह गणना की मात्रा बहुत बढ़ जाएगी, यदि अधिक उपयोगकर्ता सिस्टम में शामिल हो जाएं। तकनीकी समस्या 2: शक्ति का संकेन्द्रण आज अत्यधिक मात्रा के कारण गणना की आवश्यकता है, एक उपयोगकर्ता, एक साधारण डेस्कटॉप का उपयोग करके एक नया ब्लॉक उत्पन्न करने का प्रयास कर रहा है (अकेले एक को छोड़ दें)। सेल फोन), पैसे खोने की उम्मीद है। दरअसल, एक साधारण कंप्यूटर के साथ एक नए ब्लॉक की गणना करने के लिए, गणना को बिजली देने के लिए आवश्यक बिजली की अपेक्षित लागत अपेक्षित इनाम से अधिक है। केवल विशेष रूप से निर्मित कंप्यूटरों के पूल का उपयोग करना (जो "नए ब्लॉकों को माइन करने" के अलावा कुछ नहीं करते हैं), एक नए ब्लॉक उत्पन्न करके लाभ कमाने की उम्मीद कर सकते हैं। तदनुसार, आज वस्तुतः दो हैं उपयोगकर्ताओं के असंयुक्त वर्ग: सामान्य उपयोगकर्ता, जो केवल भुगतान करते हैं, और विशेष खनन पूल, वह केवल नए ब्लॉक की खोज करता है। इसलिए यह आश्चर्य की बात नहीं होनी चाहिए कि, हाल ही में, ब्लॉक के लिए कुल कंप्यूटिंग शक्ति पीढ़ी केवल पाँच पूलों के भीतर है। ऐसी स्थितियों में, यह धारणा कि अधिकांश कम्प्यूटेशनल शक्ति ईमानदार है कम विश्वसनीय हो जाता है। तकनीकी समस्या 3: अस्पष्टता Bitcoin में, blockchain आवश्यक रूप से अद्वितीय नहीं है। सचमुच इसका नवीनतम भाग अक्सर द्विभाजित होता है: blockchain हो सकता है - मान लीजिए- B1,। . . , बीके, बी' के+1, बी' k+2, के अनुसार एक उपयोगकर्ता, और B1, . . . , बीके, बी'' के+1, बी'' के+2, बी'' एक अन्य उपयोगकर्ता के अनुसार k+3। कई ब्लॉक होने के बाद ही श्रृंखला में जोड़ा गया है, क्या कोई यथोचित रूप से आश्वस्त हो सकता है कि पहले k + 3 ब्लॉक समान होंगे सभी उपयोगकर्ताओं के लिए. इस प्रकार, कोई भी अंतिम ब्लॉक में शामिल भुगतानों पर तुरंत भरोसा नहीं कर सकता है श्रृंखला. यह इंतजार करना और देखना अधिक विवेकपूर्ण है कि क्या ब्लॉक पर्याप्त गहराई तक जाता है blockchain और इस प्रकार पर्याप्त रूप से स्थिर। अलग से, कानून-प्रवर्तन और मौद्रिक-नीति संबंधी चिंताओं को भी Bitcoin.1 के बारे में उठाया गया है 1.2 Algorand, संक्षेप में सेटिंग Algorand बहुत कठिन सेटिंग में काम करता है। संक्षेप में, (ए) अनुमति रहित और अनुमति प्राप्त वातावरण। Algorand कुशलतापूर्वक और सुरक्षित रूप से भी काम करता है पूरी तरह से अनुमति रहित वातावरण में, जहां मनमाने ढंग से कई उपयोगकर्ताओं को इसमें शामिल होने की अनुमति दी जाती है सिस्टम को किसी भी समय, बिना किसी जाँच या किसी भी प्रकार की अनुमति के। बेशक, Algorand काम करता है अनुमति प्राप्त वातावरण में और भी बेहतर। 1Bitcoin भुगतान द्वारा दी गई (छद्म) गुमनामी का दुरुपयोग मनी लॉन्ड्रिंग और/या वित्तपोषण के लिए किया जा सकता है आपराधिक व्यक्तियों या आतंकवादी संगठनों का. पारंपरिक बैंकनोट या सोने की छड़ें, जो सिद्धांत रूप में उत्तम हैं गुमनामी को भी वही चुनौती पेश करनी चाहिए, लेकिन इन मुद्राओं की भौतिकता पैसे को काफी हद तक धीमा कर देती है स्थानांतरण, ताकि कानून-प्रवर्तन एजेंसियों द्वारा कुछ हद तक निगरानी की अनुमति दी जा सके। "पैसा छापने" की क्षमता किसी राष्ट्र राज्य की सबसे बुनियादी शक्तियों में से एक है। सिद्धांत रूप में, इसलिए, बड़े पैमाने पर स्वतंत्र रूप से चलने वाली मुद्रा को अपनाने से इस शक्ति में कमी आ सकती है। हालाँकि, वर्तमान में, Bitcoin होने से बहुत दूर है यह सरकारी मौद्रिक नीतियों के लिए ख़तरा है, और, इसकी स्केलेबिलिटी समस्याओं के कारण, यह कभी नहीं हो सकता है।(बी) बहुत प्रतिकूल वातावरण। Algorand एक बहुत शक्तिशाली प्रतिद्वंद्वी का सामना कर सकता है, जो कर सकता है (1) किसी भी उपयोगकर्ता को जब चाहे, तुरंत भ्रष्ट कर सकता है, बशर्ते कि, ए में अनुमति रहित वातावरण, सिस्टम में 2/3 पैसा ईमानदार उपयोगकर्ता का है। (ए में अनुमति प्राप्त वातावरण, पैसे की परवाह किए बिना, यह पर्याप्त है कि 2/3 उपयोगकर्ता ईमानदार हैं।) (2) सभी भ्रष्ट उपयोगकर्ताओं को पूरी तरह से नियंत्रित और समन्वयित करना; और (3) सभी संदेशों की डिलीवरी शेड्यूल करें, बशर्ते कि प्रत्येक संदेश एक ईमानदार उपयोगकर्ता द्वारा भेजा गया हो एक समय \(\lambda\)m के भीतर 95% ईमानदार उपयोगकर्ताओं तक पहुँच जाता है, जो पूरी तरह से m के आकार पर निर्भर करता है। मुख्य गुण हमारे शक्तिशाली प्रतिद्वंद्वी की उपस्थिति के बावजूद, Algorand में • आवश्यक गणना की मात्रा न्यूनतम है. मूलतः, इससे कोई फर्क नहीं पड़ता कि कितने उपयोगकर्ता हैं सिस्टम में मौजूद, पंद्रह सौ उपयोगकर्ताओं में से प्रत्येक को अधिकतम कुछ सेकंड का प्रदर्शन करना होगा गणना. • एक नया ब्लॉक 10 मिनट से भी कम समय में तैयार हो जाता है, और वास्तव में यह blockchain को कभी नहीं छोड़ेगा। उदाहरण के लिए, अपेक्षा में, पहले अवतार में ब्लॉक उत्पन्न करने का समय कम है Λ + 12.4\(\lambda\) से, जहां Λ एक सहकर्मी से सहकर्मी गपशप में एक ब्लॉक को प्रचारित करने के लिए आवश्यक समय है फैशन, इससे कोई फर्क नहीं पड़ता कि कोई कौन सा ब्लॉक आकार चुन सकता है, और \(\lambda\) 1,500 200Blong संदेशों को प्रसारित करने का समय है। (चूंकि वास्तव में विकेन्द्रीकृत प्रणाली में, Λ अनिवार्य रूप से एक आंतरिक विलंबता है Algorand ब्लॉक जेनरेशन में सीमित कारक नेटवर्क स्पीड है।) दूसरे अवतार में है वास्तव में प्रयोगात्मक रूप से परीक्षण किया गया (? द्वारा), यह दर्शाता है कि एक ब्लॉक 40 से कम में उत्पन्न होता है सेकंड. इसके अलावा, Algorand का blockchain केवल नगण्य संभावना (यानी, एक से कम) के साथ कांटा जा सकता है एक ट्रिलियन में), और इस प्रकार उपयोगकर्ता जितनी जल्दी हो सके एक नए ब्लॉक में निहित भुगतान पर रिले कर सकते हैं ब्लॉक प्रकट होता है. • सारी शक्ति स्वयं उपयोगकर्ताओं के पास रहती है। Algorand एक वास्तविक वितरित प्रणाली है। विशेष रूप से, कोई बहिर्जात संस्थाएं नहीं हैं (Bitcoin में "खनिक" के रूप में), जो लेनदेन को नियंत्रित कर सकें पहचाने जाते हैं. Algorand की तकनीकें। 1. एक नया और तेज़ बीजान्टिन समझौता प्रोटोकॉल। Algorand के माध्यम से एक नया ब्लॉक उत्पन्न करता है एक नया क्रिप्टोग्राफ़िक, संदेश-पासिंग, बाइनरी बीजान्टिन समझौता (बीए) प्रोटोकॉल, बीए⋆। प्रोटोकॉल BA⋆न केवल कुछ अतिरिक्त गुणों को संतुष्ट करता है (जिन पर हम जल्द ही चर्चा करेंगे), बल्कि यह बहुत तेज़ भी है। मोटे तौर पर कहा जाए तो, इसके बाइनरी-इनपुट संस्करण में 3-स्टेप लूप होता है, जिसमें मैं एक प्लेयर को सिंगल भेजता हूं अन्य सभी खिलाड़ियों को संदेश भेजें। अधिक के साथ पूर्ण और समकालिक नेटवर्क में निष्पादित 2/3 से अधिक खिलाड़ी ईमानदार हैं, संभावना > 1/3 के साथ, प्रत्येक लूप के बाद प्रोटोकॉल समाप्त होता है समझौता. (हम इस बात पर जोर देते हैं कि प्रोटोकॉल बीजान्टिन समझौते की मूल परिभाषा को संतुष्ट करता है) पीज़, शोस्ताक और लामपोर्ट [31], बिना किसी कमज़ोरी के।) Algorand हमारे विभिन्न संचार में सहमति तक पहुंचने के लिए इस बाइनरी बीए प्रोटोकॉल का लाभ उठाता है मॉडल, प्रत्येक नए ब्लॉक पर। इसके बाद सहमत ब्लॉक को एक निर्धारित संख्या के माध्यम से प्रमाणित किया जाता है उचित सत्यापनकर्ताओं के डिजिटल हस्ताक्षर, और नेटवर्क के माध्यम से प्रचारित। 2. क्रिप्टोग्राफ़िक सॉर्टिशन। हालाँकि बहुत तेज़, प्रोटोकॉल BA⋆ को आगे से फ़ायदा होगा लाखों उपयोगकर्ताओं द्वारा खेले जाने पर गति। तदनुसार, Algorand BA⋆के खिलाड़ियों को चुनता हैसभी उपयोगकर्ताओं के समूह का एक बहुत छोटा उपसमूह। एक अलग प्रकार की शक्ति की एकाग्रता से बचने के लिए समस्या, प्रत्येक नए ब्लॉक Br का निर्माण और सहमति BA⋆ के एक नए निष्पादन के माध्यम से की जाएगी, चयनित सत्यापनकर्ताओं के एक अलग सेट द्वारा, एसवी आर। सिद्धांत रूप में, ऐसे सेट का चयन करना उतना ही कठिन हो सकता है सीधे Br का चयन करना। हम इस संभावित समस्या का समाधान उस दृष्टिकोण से करते हैं जिसे हम गले लगाना कहते हैं मौरिस हर्लिही का व्यावहारिक सुझाव, क्रिप्टोग्राफ़िक सॉर्टिशन। वर्गीकरण का अभ्यास है पात्र व्यक्तियों के एक बड़े समूह में से यादृच्छिक रूप से अधिकारियों का चयन करना [6]। (सॉर्टिशन का अभ्यास किया गया था सदियों से: उदाहरण के लिए, एथेंस, फ़्लोरेंस और वेनिस के गणराज्यों द्वारा। आधुनिक न्यायिक में सिस्टम में, जूरी को चुनने के लिए अक्सर यादृच्छिक चयन का उपयोग किया जाता है। हाल ही में रैंडम सैंपलिंग भी की गई है डेविड चाउम द्वारा चुनाव की वकालत [9]।) एक विकेन्द्रीकृत प्रणाली में, निश्चित रूप से, चुनना प्रत्येक सत्यापनकर्ता सेट एसवी आर के सदस्यों को यादृच्छिक रूप से चुनने के लिए आवश्यक यादृच्छिक सिक्के समस्याग्रस्त हैं। इस प्रकार हम सभी उपयोगकर्ताओं की आबादी से प्रत्येक सत्यापनकर्ता सेट का चयन करने के लिए क्रिप्टोग्राफी का सहारा लेते हैं, एक तरह से जो स्वचालित होने की गारंटी देता है (यानी, किसी संदेश के आदान-प्रदान की आवश्यकता नहीं) और यादृच्छिक। संक्षेप में, हम पिछले ब्लॉक से स्वचालित रूप से निर्धारित करने के लिए एक क्रिप्टोग्राफ़िक फ़ंक्शन का उपयोग करते हैं Br−1, एक उपयोगकर्ता, नेता, नए ब्लॉक Br का प्रस्ताव करने का प्रभारी, और सत्यापनकर्ता सेट SV r, में नेता द्वारा प्रस्तावित ब्लॉक पर सहमति तक पहुंचने का आरोप। चूँकि दुर्भावनापूर्ण उपयोगकर्ता प्रभावित कर सकते हैं Br−1 की संरचना (उदाहरण के लिए, इसके कुछ भुगतानों को चुनकर), हम विशेष रूप से निर्माण और उपयोग करते हैं अतिरिक्त इनपुट ताकि यह साबित हो सके कि आरटी ब्लॉक के लिए लीडर और सत्यापनकर्ता सेट एसवी आर वास्तव में हैं बेतरतीब ढंग से चुना गया. 3. मात्रा (बीज) Qr. हम blockchain में अंतिम ब्लॉक Br−1 का उपयोग करते हैं स्वचालित रूप से अगले सत्यापनकर्ता सेट और नए ब्लॉक के निर्माण के प्रभारी नेता का निर्धारण करें ब्र. इस दृष्टिकोण के साथ चुनौती यह है कि, इसमें थोड़ा अलग भुगतान चुनकर पिछले दौर में, हमारा शक्तिशाली प्रतिद्वंद्वी अगले नेता पर जबरदस्त नियंत्रण हासिल कर लेता है। भले ही वह सिस्टम में केवल 1/1000 खिलाड़ियों/पैसे को नियंत्रित किया, वह यह सुनिश्चित कर सका कि सभी नेता हैं दुर्भावनापूर्ण. (अंतर्ज्ञान अनुभाग 4.1 देखें।) यह चुनौती सभी proof-of-stake दृष्टिकोणों के लिए केंद्रीय है, और, जहां तक हमारी जानकारी है, इसे अब तक संतोषजनक ढंग से हल नहीं किया जा सका है। इस चुनौती का सामना करने के लिए, हम जानबूझकर एक अलग और सावधानीपूर्वक निर्माण करते हैं और लगातार अद्यतन करते हैं परिभाषित मात्रा, Qr, जो न केवल अप्रत्याशित है, बल्कि हमारे द्वारा प्रभावशाली भी नहीं है शक्तिशाली प्रतिद्वंद्वी. हम Qr को rth बीज के रूप में संदर्भित कर सकते हैं, क्योंकि यह Qr से है जिसे Algorand चुनता है, गुप्त क्रिप्टोग्राफ़िक सॉर्टिशन के माध्यम से, सभी उपयोगकर्ता जो की पीढ़ी में एक विशेष भूमिका निभाएंगे आरटीएच ब्लॉक. 4. गुप्त क्रिप्टोग्राफ़िक सॉर्टिशन और गुप्त क्रेडेंशियल्स। सत्यापनकर्ता सेट और प्रभारी नेता को चुनने के लिए यादृच्छिक रूप से और स्पष्ट रूप से वर्तमान अंतिम ब्लॉक, Br−1 का उपयोग करें। नए ब्लॉक, बीआर का निर्माण पर्याप्त नहीं है। चूँकि Br उत्पन्न करने से पहले Br−1 ज्ञात होना चाहिए, Br−1 में निहित अंतिम गैर-प्रभावकारी मात्रा Qr−1 भी ज्ञात होनी चाहिए। तदनुसार, तो ब्लॉक ब्र की गणना करने के लिए सत्यापनकर्ता और प्रभारी नेता हैं। इस प्रकार, हमारा शक्तिशाली प्रतिद्वंद्वी इससे पहले कि वे ब्र के बारे में किसी भी चर्चा में शामिल हों, उन सभी को तुरंत भ्रष्ट कर सकते हैं, ताकि प्राप्त किया जा सके उनके द्वारा प्रमाणित ब्लॉक पर पूर्ण नियंत्रण। इस समस्या को रोकने के लिए, नेता (और वास्तव में सत्यापनकर्ता भी) गुप्त रूप से अपनी भूमिका सीखते हैं, लेकिन सीख सकते हैं एक उचित क्रेडेंशियल की गणना करें, जो हर किसी को यह साबित करने में सक्षम हो कि वास्तव में वह भूमिका है। कब एक उपयोगकर्ता को निजी तौर पर पता चलता है कि वह अगले ब्लॉक के लिए नेता है, पहले वह गुप्त रूप से अपने ब्लॉक को इकट्ठा करता है स्वयं प्रस्तावित नया ब्लॉक, और फिर अपने स्वयं के साथ मिलकर इसे प्रसारित करता है (ताकि प्रमाणित किया जा सके) साख. इस तरह, हालांकि प्रतिद्वंद्वी को तुरंत एहसास हो जाएगा कि अगला नेता कौन है ब्लॉक है, और यद्यपि वह उसे तुरंत भ्रष्ट कर सकता है, लेकिन प्रतिद्वंद्वी के लिए बहुत देर हो चुकी होगी नये ब्लॉक के चुनाव को प्रभावित करें। वास्तव में, वह अब नेता के संदेश को "वापस कॉल" नहीं कर सकताएक शक्तिशाली सरकार विकीलीक्स द्वारा वायरल रूप से फैलाए गए संदेश को वापस बोतल में बंद कर सकती है। जैसा कि हम देखेंगे, हम नेता की विशिष्टता की गारंटी नहीं दे सकते, न ही हर कोई निश्चित है कि नेता कौन है है, जिसमें स्वयं नेता भी शामिल हैं! लेकिन, Algorand में, स्पष्ट प्रगति की गारंटी दी जाएगी। 5. प्लेयर रिप्लेसमेंटेबिलिटी। एक नए ब्लॉक का प्रस्ताव करने के बाद, नेता "मर" भी सकता है (या हो सकता है)। विरोधी द्वारा भ्रष्ट), क्योंकि उसका काम पूरा हो गया है। लेकिन, एसवी आर में सत्यापनकर्ताओं के लिए चीजें कम हैं सरल. दरअसल, पर्याप्त संख्या में हस्ताक्षरों के साथ नए ब्लॉक बीआर को प्रमाणित करने का प्रभारी होने के नाते, उन्हें पहले नेता द्वारा प्रस्तावित ब्लॉक पर बीजान्टिन समझौता चलाना होगा। समस्या यह है कि, इससे कोई फर्क नहीं पड़ता कि यह कितना कुशल है, BA⋆ को कई कदमों और इसके 2/3 खिलाड़ियों की ईमानदारी की आवश्यकता होती है। यह एक समस्या है, क्योंकि, दक्षता कारणों से, BA⋆ के प्लेयर सेट में छोटा सेट SV r होता है सभी उपयोगकर्ताओं के समूह के बीच यादृच्छिक रूप से चुना गया। इस प्रकार, हमारा शक्तिशाली प्रतिद्वंद्वी, हालांकि असमर्थ है सभी उपयोगकर्ताओं में से 1/3 भ्रष्ट, निश्चित रूप से एसवी आर के सभी सदस्यों को भ्रष्ट कर सकते हैं! सौभाग्य से हम यह साबित कर देंगे कि प्रोटोकॉल BA⋆, जो पीयर-टॉपियर फैशन में संदेशों को प्रसारित करके निष्पादित होता है, प्लेयर-रिप्लेसेबल है। इस नवीन आवश्यकता का अर्थ है कि प्रोटोकॉल सही ढंग से और भले ही इसका प्रत्येक चरण पूरी तरह से नए और बेतरतीब ढंग से क्रियान्वित किया जाता है, फिर भी यह सर्वसम्मति तक प्रभावी ढंग से पहुंचता है और स्वतंत्र रूप से चयनित, खिलाड़ियों का सेट। इस प्रकार, लाखों उपयोगकर्ताओं के साथ, खिलाड़ियों का प्रत्येक छोटा समूह BA⋆के एक चरण से संबद्ध, संभवतः अगले सेट के साथ रिक्त प्रतिच्छेदन है। इसके अलावा, BA⋆ के विभिन्न चरणों के खिलाड़ियों के सेट में संभवतः पूरी तरह से अलग-अलग होंगे कार्डिनलिटीज़ इसके अलावा, प्रत्येक सेट के सदस्यों को यह नहीं पता होता है कि खिलाड़ियों का अगला सेट कौन होगा हो, और किसी भी आंतरिक स्थिति को गुप्त रूप से पारित न करें। बदली-खिलाड़ी संपत्ति वास्तव में गतिशील और बहुत शक्तिशाली को हराने के लिए महत्वपूर्ण है हम जिस प्रतिद्वंद्वी की परिकल्पना करते हैं। हमारा मानना है कि बदले जाने योग्य खिलाड़ी प्रोटोकॉल कई मामलों में महत्वपूर्ण साबित होंगे संदर्भ और अनुप्रयोग. विशेष रूप से, वे छोटे उप-प्रोटोकॉल को सुरक्षित रूप से निष्पादित करने के लिए महत्वपूर्ण होंगे एक गतिशील प्रतिद्वंद्वी के साथ खिलाड़ियों के एक बड़े ब्रह्मांड में अंतर्निहित, जो भ्रष्ट करने में भी सक्षम है कुल खिलाड़ियों का एक छोटा सा हिस्सा, छोटे खिलाड़ियों को भ्रष्ट करने में कोई कठिनाई नहीं है उप-प्रोटोकॉल. एक अतिरिक्त संपत्ति/तकनीक: आलसी ईमानदारी एक ईमानदार उपयोगकर्ता अपने निर्धारित का पालन करता है निर्देश, जिसमें ऑनलाइन होना और प्रोटोकॉल चलाना शामिल है। चूंकि, Algorand में केवल मामूली है गणना और संचार की आवश्यकता, ऑनलाइन होना और प्रोटोकॉल चलाना “में पृष्ठभूमि" कोई बड़ा बलिदान नहीं है। बेशक, ईमानदार खिलाड़ियों के बीच कुछ "अनुपस्थितियाँ" हैं कनेक्टिविटी के अचानक ख़त्म होने या रिबूट करने की आवश्यकता के कारण, स्वचालित रूप से सहन किया जाता है (क्योंकि हम ऐसे कुछ खिलाड़ियों को हमेशा अस्थायी रूप से दुर्भावनापूर्ण मान सकते हैं)। हालाँकि, आइए बताते हैं उस Algorand को आसानी से अनुकूलित किया जा सकता है ताकि एक नए मॉडल में काम किया जा सके, जिसमें ईमानदार उपयोगकर्ता हों अधिकांश समय ऑफ़लाइन. हमारे नए मॉडल को अनौपचारिक रूप से इस प्रकार पेश किया जा सकता है। आलसी ईमानदारी. मोटे तौर पर कहें तो, एक उपयोगकर्ता आलसी-लेकिन-ईमानदार है यदि (1) वह अपने सभी निर्धारित नियमों का पालन करता है निर्देश, जब उसे प्रोटोकॉल में भाग लेने के लिए कहा जाता है, और (2) उसे भाग लेने के लिए कहा जाता है प्रोटोकॉल के लिए शायद ही कभी, और एक उपयुक्त अग्रिम सूचना के साथ। ईमानदारी की ऐसी सहज धारणा के साथ, हम ईमानदार लोगों की तुलना में और भी अधिक आश्वस्त हो सकते हैं जब हमें उनकी आवश्यकता होती है, तो वे उपलब्ध होते हैं, और Algorand गारंटी देते हैं कि, जब ऐसा मामला हो, सिस्टम सुरक्षित रूप से संचालित होता है, भले ही, किसी निश्चित समय पर, भाग लेने वाले अधिकांश खिलाड़ी दुर्भावनापूर्ण हैं।1.3 निकट से संबंधित कार्य कार्य का प्रमाण दृष्टिकोण (जैसे उद्धृत [29] और [4]) हमारे लिए काफी रूढ़िवादी हैं। वैसे ही हैं संदेश-पारित करने वाले बीजान्टिन समझौते या व्यावहारिक बीजान्टिन दोष सहिष्णुता पर आधारित दृष्टिकोण (उद्धृत [8] की तरह)। वास्तव में, ये प्रोटोकॉल सभी उपयोगकर्ताओं के समूह के बीच नहीं चलाए जा सकते हैं और न ही, हमारे मॉडल में, उपयोगकर्ताओं के एक उपयुक्त छोटे समूह तक ही सीमित रहें। वास्तव में, हमारे शक्तिशाली प्रतिद्वंद्वी मेरे वास्तव में बीए प्रोटोकॉल चलाने के लिए चार्ज किए गए एक छोटे से सेट में शामिल सभी उपयोगकर्ताओं को तुरंत भ्रष्ट कर दें। हमारे दृष्टिकोण को हिस्सेदारी के प्रमाण [2] से संबंधित माना जा सकता है, इस अर्थ में कि उपयोगकर्ताओं की "शक्ति" ब्लॉक बिल्डिंग में सिस्टम में उनके पास मौजूद पैसे के समानुपाती होता है (जैसा कि कहा जाता है- के विपरीत)। जो पैसा उन्होंने "एस्क्रो" में लगाया है)। हमारे सबसे करीब का पेपर पास और शि [30] का स्लीपी कंसेंसस मॉडल है। से बचने के लिए proof-of-work दृष्टिकोण में भारी गणना की आवश्यकता होती है, उनका पेपर (और कृपया) पर निर्भर करता है क्रेडिट) Algorand की गुप्त क्रिप्टोग्राफ़िक सॉर्टिशन। इस महत्वपूर्ण पहलू को समान रूप से रखते हुए, अनेक हमारे पेपरों के बीच महत्वपूर्ण अंतर मौजूद हैं। विशेष रूप से, (1) उनकी सेटिंग की केवल अनुमति है। इसके विपरीत, Algorand भी एक अनुमति रहित प्रणाली है। (2) वे नाकामोटो-शैली प्रोटोकॉल का उपयोग करते हैं, और इस प्रकार उनके blockchain बार-बार फोर्क होते हैं। हालाँकि proof-of-work को त्यागते हुए, उनके प्रोटोकॉल में एक गुप्त रूप से चयनित नेता को लंबा करने के लिए कहा जाता है सबसे लंबे समय तक वैध (अधिक समृद्ध अर्थ में) blockchain। इस प्रकार, कांटे अपरिहार्य हैं और व्यक्ति को इसके लिए इंतजार करना होगा ब्लॉक श्रृंखला में पर्याप्त रूप से "गहरा" है। दरअसल, एक प्रतिद्वंद्वी के साथ अपने लक्ष्यों को प्राप्त करने के लिए अनुकूली भ्रष्टाचारों में सक्षम, उन्हें पॉली (एन) गहराई वाले एक ब्लॉक की आवश्यकता होती है, जहां एन का प्रतिनिधित्व करता है सिस्टम में उपयोगकर्ताओं की कुल संख्या. ध्यान दें, यह मानते हुए भी कि एक ब्लॉक का उत्पादन किया जा सकता है एक मिनट में, यदि N = 1M उपयोगकर्ता होते, तो लगभग 2M वर्षों तक प्रतीक्षा करनी पड़ती एक ब्लॉक को एन 2-डीप बनने में, और एक ब्लॉक को एन-डीप बनने में लगभग 2 साल लगते हैं। इसके विपरीत, Algorand का blockchain केवल नगण्य संभावना के साथ घूमता है, भले ही प्रतिद्वंद्वी भ्रष्ट हो उपयोगकर्ता तुरंत और अनुकूल रूप से, और इसके नए ब्लॉक पर तुरंत भरोसा किया जा सकता है। (3) वे व्यक्तिगत बीजान्टिन समझौतों को संभाल नहीं पाते हैं। एक तरह से, वे केवल गारंटी देते हैं "मूल्यों के बढ़ते अनुक्रम पर अंततः सहमति"। बल्कि उनका एक राज्य प्रतिकृति प्रोटोकॉल है बीए की तुलना में, और ब्याज के व्यक्तिगत मूल्य पर बीजान्टिन समझौते तक पहुंचने के लिए इसका उपयोग नहीं किया जा सकता है। इसके विपरीत, Algorand का उपयोग केवल एक बार ही किया जा सकता है, यदि चाहें तो लाखों उपयोगकर्ताओं को शीघ्रता से सक्षम बनाया जा सकता है ब्याज के एक विशिष्ट मूल्य पर बीजान्टिन समझौते पर पहुँचें। (4) उन्हें कमजोर सिंक्रनाइज़ घड़ियों की आवश्यकता होती है। अर्थात्, सभी उपयोगकर्ताओं की घड़ियाँ थोड़े समय के लिए निर्धारित होती हैं δ. इसके विपरीत, Algorand में, घड़ियों की केवल (अनिवार्य रूप से) समान "गति" होनी चाहिए। (5) उनका प्रोटोकॉल आलसी-लेकिन-ईमानदार उपयोगकर्ताओं या ऑनलाइन उपयोगकर्ताओं के ईमानदार बहुमत के साथ काम करता है। वे ईमानदार उपयोगकर्ताओं के मुद्दे को सामूहिक रूप से उठाने के लिए Algorand को श्रेय देते हैं, और इसके लिए प्रतिक्रिया में आलसी ईमानदारी मॉडल को सामने रखना। उनका प्रोटोकॉल न केवल आलसी में काम करता है ईमानदारी मॉडल, लेकिन उनके प्रतिकूल नींद मॉडल में भी, जहां एक प्रतिद्वंद्वी चुनता है कि कौन से उपयोगकर्ता हैं ऑनलाइन हैं और जो ऑफ़लाइन हैं, बशर्ते कि, हर समय, अधिकांश ऑनलाइन उपयोगकर्ता ईमानदार हों।2 2उनके पेपर के मूल संस्करण में वास्तव में उनके प्रतिकूल नींद वाले मॉडल में केवल सुरक्षा पर विचार किया गया था। द Algorand का मूल संस्करण, जो उनके पूर्ववर्ती है, में भी स्पष्ट रूप से यह मानते हुए परिकल्पना की गई है कि दिए गए बहुमत ऑनलाइन खिलाड़ी हमेशा ईमानदार होते हैं, लेकिन आलसी ईमानदारी मॉडल के पक्ष में इसे स्पष्ट रूप से विचार से बाहर रखा जाता है। (उदाहरण के लिए, यदि किसी समय आधे ईमानदार उपयोगकर्ता ऑफ़लाइन जाना चुनते हैं, तो अधिकांश उपयोगकर्ता ऑनलाइन दुर्भावनापूर्ण हो सकता है। इस प्रकार, ऐसा होने से रोकने के लिए, प्रतिद्वंद्वी को अपना अधिकांश बल लगाना चाहिए भ्रष्ट खिलाड़ियों को भी ऑफ़लाइन जाना होगा, जो स्पष्ट रूप से उनके अपने हित के विरुद्ध है।) ध्यान दें कि बहुमत के साथ एक प्रोटोकॉल यदि अधिकांश ऑन-लाइन उपयोगकर्ता हमेशा दुर्भावनापूर्ण होते हैं तो आलसी-लेकिन-ईमानदार खिलाड़ियों का समूह ठीक काम करता है। ऐसा इसलिए है, क्योंकि पर्याप्त संख्या में ईमानदार खिलाड़ी, यह जानते हुए कि किसी दुर्लभ समय में वे महत्वपूर्ण होंगे, चुनाव करेंगे उन क्षणों में ऑफ़लाइन नहीं जाना है, न ही उन्हें प्रतिद्वंद्वी द्वारा ऑफ़लाइन होने के लिए मजबूर किया जा सकता है, क्योंकि वह नहीं जानता कि कौन है महत्वपूर्ण ईमानदार खिलाड़ी हो सकते हैं।(6) उन्हें साधारण ईमानदार बहुमत की आवश्यकता है। इसके विपरीत, Algorand के वर्तमान संस्करण की आवश्यकता है 2/3 ईमानदार बहुमत। हमारे करीब एक और पेपर है ऑरोबोरोस: ए प्रोवेबली सिक्योर प्रूफ-ऑफ-स्टेक ब्लॉकचेन प्रोटोकॉल, कियियास, रसेल, डेविड और ओलिन्यकोव द्वारा [20]। साथ ही उनका सिस्टम हमारे बाद सामने आया। यह भी सिद्ध तरीके से काम का सबूत देने के लिए क्रिप्टोग्राफ़िक सॉर्टिशन का उपयोग करता है। हालाँकि, उनके सिस्टम, फिर से, एक नाकामोटो-शैली प्रोटोकॉल है, जिसमें कांटे अपरिहार्य और लगातार होते हैं। (हालांकि, उनके मॉडल में, ब्लॉक को स्लीपी-सर्वसम्मति मॉडल जितना गहरा होने की आवश्यकता नहीं है।) इसके अलावा, उनकी प्रणाली निम्नलिखित धारणाओं पर निर्भर करती है: स्वयं लेखकों के शब्दों में, “(1) द नेटवर्क अत्यधिक समकालिक है, (2) चयनित हितधारकों का बहुमत आवश्यकतानुसार उपलब्ध है प्रत्येक युग में भाग लेने के लिए, (3) हितधारक लंबे समय तक कार्यालय में नहीं रहते हैं, (4) भ्रष्टाचार की अनुकूलता एक छोटी देरी के अधीन है जिसे राउंड लीनियर में मापा जाता है सुरक्षा पैरामीटर।” इसके विपरीत, Algorand अत्यधिक संभावना के साथ, कांटा-मुक्त है, और इन चार धारणाओं में से किसी पर भी भरोसा नहीं करता। विशेष रूप से, Algorand में, प्रतिद्वंद्वी सक्षम है जिन उपयोगकर्ताओं को वह नियंत्रित करना चाहता है उन्हें तुरंत भ्रष्ट कर देता है।

Preliminaries

Preliminaries

2.1 Cryptographic Primitives Ideal Hashing. We shall rely on an efficiently computable cryptographic hash function, H, that maps arbitrarily long strings to binary strings of fixed length. Following a long tradition, we model H as a random oracle, essentially a function mapping each possible string s to a randomly and independently selected (and then fixed) binary string, H(s), of the chosen length. In this paper, H has 256-bit long outputs. Indeed, such length is short enough to make the system efficient and long enough to make the system secure. For instance, we want H to be collisionresilient. That is, it should be hard to find two different strings x and y such that H(x) = H(y). When H is a random oracle with 256-bit long outputs, finding any such pair of strings is indeed difficult. (Trying at random, and relying on the birthday paradox, would require \(2^{256/2} = 2^{128}\) trials.) Digital Signing. Digital signatures allow users to to authenticate information to each other without sharing any sharing any secret keys. A digital signature scheme consists of three fast algorithms: a probabilistic key generator G, a signing algorithm S, and a verification algorithm V . Given a security parameter k, a sufficiently high integer, a user i uses G to produce a pair of k-bit keys (i.e., strings): a “public” key pki and a matching “secret” signing key ski. Crucially, a public key does not “betray” its corresponding secret key. That is, even given knowledge of pki, no one other than i is able to compute ski in less than astronomical time. User i uses ski to digitally sign messages. For each possible message (binary string) m, i first hashes m and then runs algorithm S on inputs H(m) and ski so as to produce the k-bit string \(\text{sig}_{pk_i}(m) \triangleq S(H(m), sk_i)\).³ 3Since H is collision-resilient it is practically impossible that, by signing m one “accidentally signs” a different message m′.

The binary string sigpki(m) is referred to as i’s digital signature of m (relative to pki), and can be more simply denoted by sigi(m), when the public key pki is clear from context. Everyone knowing pki can use it to verify the digital signatures produced by i. Specifically, on inputs (a) the public key pki of a player i, (b) a message m, and (c) a string s, that is, i’s alleged digital signature of the message m, the verification algorithm V outputs either YES or NO. The properties we require from a digital signature scheme are: 1. Legitimate signatures are always verified: If s = sigi(m), then V (pki, m, s) = Y ES; and 2. Digital signatures are hard to forge: Without knowledge of ski the time to find a string s such that V (pki, m, s) = Y ES, for a message m never signed by i, is astronomically long. (Following the strong security requirement of Goldwasser, Micali, and Rivest [17], this is true even if one can obtain the signature of any other message.) Accordingly, to prevent anyone else from signing messages on his behalf, a player i must keep his signing key ski secret (hence the term “secret key”), and to enable anyone to verify the messages he does sign, i has an interest in publicizing his key pki (hence the term “public key”). In general, a message m is not retrievable from its signature sigi(m). In order to virtually deal with digital signatures that satisfy the conceptually convenient “retrievability” property (i.e., to guarantee that the signer and the message are easily computable from a signature, we define \[\text{SIG}_{pk_i}(m) = (i, m, \text{sig}_{pk_i}(m))\] and \[\text{SIG}_i(m) = (i, m, \text{sig}_i(m)), \text{ if } pk_i \text{ is clear.}\] Unique Digital Signing. We also consider digital signature schemes (G, S, V ) satisfying the following additional property. 3. Uniqueness. It is hard to find strings pk′, m, s, and s′ such that \(s \neq s'\) and \(V(pk', m, s) = V(pk', m, s') = 1\). (Note that the uniqueness property holds also for strings pk′ that are not legitimately generated public keys. In particular, however, the uniqueness property implies that, if one used the specified key generator G to compute a public key pk together with a matching secret key sk, and thus knew sk, it would be essentially impossible also for him to find two different digital signatures of a same message relative to pk.) Remarks • From Unique signatures to verifiable random functions. Relative to a digital signature scheme with the uniqueness property, the mapping \(m \rightarrow H(\text{sig}_i(m))\) associates to each possible string m, a unique, randomly selected, 256-bit string, and the correctness of this mapping can be proved given the signature sigi(m). That is, ideal hashing and digital signature scheme satisfying the uniqueness property essentially provide an elementary implementation of a verifiable random function, as introduced and by Micali, Rabin, and Vadhan [27]. (Their original implementation was necessarily more complex, since they did not rely on ideal hashing.)

• Three different needs for digital signatures. In Algorand, a user i relies on digital signatures for (1) Authenticating i’s own payments. In this application, keys can be “long-term” (i.e., used to sign many messages over a long period of time) and come from a ordinary signature scheme. (2) Generating credentials proving that i is entitled to act at some step s of a round r. Here, keys can be long-term, but must come from a scheme satisfying the uniqueness property. (3) Authenticating the message i sends in each step in which he acts. Here, keys must be ephemeral (i.e., destroyed after their first use), but can come from an ordinary signature scheme. • A small-cost simplification. For simplicity, we envision each user i to have a single longterm key. Accordingly, such a key must come from a signature scheme with the uniqueness property. Such simplicity has a small computational cost. Typically, in fact, unique digital signatures are slightly more expensive to produce and verify than ordinary signatures. 2.2 The Idealized Public Ledger Algorand tries to mimic the following payment system, based on an idealized public ledger. 1. The Initial Status. Money is associated with individual public keys (privately generated and owned by users). Letting pk1, . . . , pkj be the initial public keys and a1, . . . , aj their respective initial amounts of money units, then the initial status is \[S^0 = (pk_1, a_1), \ldots, (pk_j, a_j),\] which is assumed to be common knowledge in the system. 2. Payments. Let \(pk\) be a public key currently having \(a \geq 0\) money units, \(pk'\) another public key, and \(a'\) a non-negative number no greater than \(a\). Then, a (valid) payment \(\wp\) is a digital signature, relative to pk, specifying the transfer of a′ monetary units from pk to pk′, together with some additional information. In symbols, \[\wp = \text{SIG}_{pk}(pk, pk', a', I, H(I)),\] where I represents any additional information deemed useful but not sensitive (e.g., time information and a payment identifier), and I any additional information deemed sensitive (e.g., the reason for the payment, possibly the identities of the owners of pk and the pk′, and so on). We refer to pk (or its owner) as the payer, to each pk′ (or its owner) as a payee, and to a′ as the amount of the payment ℘. Free Joining Via Payments. Note that users may join the system whenever they want by generating their own public/secret key pairs. Accordingly, the public key pk′ that appears in the payment ℘above may be a newly generated public key that had never “owned” any money before. 3. The Magic Ledger. In the Idealized System, all payments are valid and appear in a tamper-proof list L of sets of payments “posted on the sky” for everyone to see: \[L = PAY^1, PAY^2, \ldots\]

Each block PAY r+1 consists of the set of all payments made since the appearance of block PAY r. In the ideal system, a new block appears after a fixed (or finite) amount of time. Discussion. • More General Payments and Unspent Transaction Output. More generally, if a public key pk owns an amount a, then a valid payment ℘of pk may transfer the amounts a′ 1, a′ 2, . . ., respectively to the keys pk′ 1, pk′ 2, . . ., so long as P j a′ \(j \leq a\). In Bitcoin and similar systems, the money owned by a public key pk is segregated into separate amounts, and a payment ℘made by pk must transfer such a segregated amount a in its entirety. If pk wishes to transfer only a fraction a′ < a of a to another key, then it must also transfer the balance, the unspent transaction output, to another key, possibly pk itself. Algorand also works with keys having segregated amounts. However, in order to focus on the novel aspects of Algorand, it is conceptually simpler to stick to our simpler forms of payments and keys having a single amount associated to them. • Current Status. The Idealized Scheme does not directly provide information about the current status of the system (i.e., about how many money units each public key has). This information is deducible from the Magic Ledger. In the ideal system, an active user continually stores and updates the latest status information, or he would otherwise have to reconstruct it, either from scratch, or from the last time he computed it. (In the next version of this paper, we shall augment Algorand so as to enable its users to reconstruct the current status in an efficient manner.) • Security and “Privacy”. Digital signatures guarantee that no one can forge a payment by another user. In a payment ℘, the public keys and the amount are not hidden, but the sensitive information I is. Indeed, only H(I) appears in ℘, and since H is an ideal hash function, H(I) is a random 256-bit value, and thus there is no way to figure out what I was better than by simply guessing it. Yet, to prove what I was (e.g., to prove the reason for the payment) the payer may just reveal I. The correctness of the revealed I can be verified by computing H(I) and comparing the resulting value with the last item of ℘. In fact, since H is collision resilient, it is hard to find a second value I′ such that H(I) = H(I′). 2.3 Basic Notions and Notations Keys, Users, and Owners Unless otherwise specified, each public key (“key” for short) is longterm and relative to a digital signature scheme with the uniqueness property. A public key i joins the system when another public key j already in the system makes a payment to i. For color, we personify keys. We refer to a key i as a “he”, say that i is honest, that i sends and receives messages, etc. User is a synonym for key. When we want to distinguish a key from the person to whom it belongs, we respectively use the term “digital key” and “owner”. Permissionless and Permissioned Systems. A system is permissionless, if a digital key is free to join at any time and an owner can own multiple digital keys; and its permissioned, otherwise.

Unique Representation Each object in Algorand has a unique representation. In particular, each set \(\{(x, y, z, \ldots) : x \in X, y \in Y, z \in Z, \ldots\}\) is ordered in a pre-specified manner: e.g., first lexicographically in x, then in y, etc. Same-Speed Clocks There is no global clock: rather, each user has his own clock. User clocks need not be synchronized in any way. We assume, however, that they all have the same speed. For instance, when it is 12pm according to the clock of a user i, it may be 2:30pm according to the clock of another user j, but when it will be 12:01 according to i’s clock, it will 2:31 according to j’s clock. That is, “one minute is the same (sufficiently, essentially the same) for every user”. Rounds Algorand is organized in logical units, r = 0, 1, . . ., called rounds. We consistently use superscripts to indicate rounds. To indicate that a non-numerical quantity Q (e.g., a string, a public key, a set, a digital signature, etc.) refers to a round r, we simply write Qr. Only when Q is a genuine number (as opposed to a binary string interpretable as a number), do we write Q(r), so that the symbol r could not be interpreted as the exponent of Q. At (the start of a) round r > 0, the set of all public keys is PKr, and the system status is Sr = n i, a(r) i , . . .  : \(i \in PK^{r_o}\) , where a(r) i is the amount of money available to the public key i. Note that PKr is deducible from Sr, and that Sr may also specify other components for each public key i. For round 0, PK0 is the set of initial public keys, and S0 is the initial status. Both PK0 and S0 are assumed to be common knowledge in the system. For simplicity, at the start of round r, so are PK1, . . . , PKr and S1, . . . , Sr. In a round r, the system status transitions from Sr to Sr+1: symbolically, \[\text{Round } r: S^r \longrightarrow S^{r+1}.\] Payments In Algorand, the users continually make payments (and disseminate them in the way described in subsection 2.7). A payment \(\wp\) of a user \(i \in PK^r\) has the same format and semantics as in the Ideal System. Namely, ℘= SIGi(i, i′, a, I, H(I)) . Payment ℘is individually valid at a round r (is a round-r payment, for short) if (1) its amount a is less than or equal to a(r) i , and (2) it does not appear in any official payset PAY r′ for r′ < r. (As explained below, the second condition means that ℘has not already become effective. A set of round-r payments of i is collectively valid if the sum of their amounts is at most a(r) i . Paysets A round-r payset P is a set of round-r payments such that, for each user i, the payments of i in P (possibly none) are collectively valid. The set of all round-r paysets is PAY(r). A round-r payset P is maximal if no superset of P is a round-r payset. We actually suggest that a payment \(\wp\) also specifies a round \(\rho\), \(\wp = \text{SIG}_i(\rho, i, i', a, I, H(I))\), and cannot be valid at any round outside \([\rho, \rho + k]\), for some fixed non-negative integer \(k\).4 4This simplifies checking whether ℘has become “effective” (i.e., it simplifies determining whether some payset \(PAY^r\) contains \(\wp\). When \(k = 0\), if \(\wp = \text{SIG}_i(r, i, i', a, I, H(I))\), and \(\wp \notin PAY^r\), then \(i\) must re-submit \(\wp\).

Official Paysets For every round r, Algorand publicly selects (in a manner described later on) a single (possibly empty) payset, PAY r, the round’s official payset. (Essentially, PAY r represents the round-r payments that have “actually” happened.) As in the Ideal System (and Bitcoin), (1) the only way for a new user j to enter the system is to be the recipient of a payment belonging to the official payset PAY r of a given round r; and (2) PAY r determines the status of the next round, Sr+1, from that of the current round, Sr. Symbolically, \(PAY^r: S^r \longrightarrow S^{r+1}\). Specifically, 1. the set of public keys of round r + 1, PKr+1, consists of the union of PKr and the set of all payee keys that appear, for the first time, in the payments of PAY r; and 2. the amount of money a(r+1) i that a user i owns in round r + 1 is the sum of ai(r) —i.e., the amount of money \(i\) owned in the previous round (0 if \(i \notin PK^r\))— and the sum of amounts paid to i according to the payments of PAY r. In sum, as in the Ideal System, each status Sr+1 is deducible from the previous payment history: PAY 0, . . . , PAY r. 2.4 Blocks and Proven Blocks In Algorand0, the block Br corresponding to a round r specifies: r itself; the set of payments of round r, PAY r; a quantity Qr, to be explained, and the hash of the previous block, H(Br−1). Thus, starting from some fixed block B0, we have a traditional blockchain: B1 = (1, PAY 1, Q0, H(B0)), B2 = (2, PAY 2, Q1, H(B1)), B3 = (3, PAY 3, Q2, H(B2)), . . . In Algorand, the authenticity of a block is actually vouched by a separate piece of information, a “block certificate” CERT r, which turns Br into a proven block, Br. The Magic Ledger, therefore, is implemented by the sequence of the proven blocks, B1, B2, . . . Discussion As we shall see, CERT r consists of a set of digital signatures for H(Br), those of a majority of the members of SV r, together with a proof that each of those members indeed belongs to SV r. We could, of course, include the certificates CERT r in the blocks themselves, but find it conceptually cleaner to keep it separate.) In Bitcoin each block must satisfy a special property, that is, must “contain a solution of a crypto puzzle”, which makes block generation computationally intensive and forks both inevitable and not rare. By contrast, Algorand’s blockchain has two main advantages: it is generated with minimal computation, and it will not fork with overwhelmingly high probability. Each block Bi is safely final as soon as it enters the blockchain.

2.5 Acceptable Failure Probability To analyze the security of Algorand we specify the probability, F, with which we are willing to accept that something goes wrong (e.g., that a verifier set SV r does not have an honest majority). As in the case of the output length of the cryptographic hash function H, also F is a parameter. But, as in that case, we find it useful to set F to a concrete value, so as to get a more intuitive grasp of the fact that it is indeed possible, in Algorand, to enjoy simultaneously sufficient security and sufficient efficiency. To emphasize that F is parameter that can be set as desired, in the first and second embodiments we respectively set F = 10−12 and F = 10−18 . Discussion Note that 10−12 is actually less than one in a trillion, and we believe that such a choice of F is adequate in our application. Let us emphasize that 10−12 is not the probability with which the Adversary can forge the payments of an honest user. All payments are digitally signed, and thus, if the proper digital signatures are used, the probability of forging a payment is far lower than 10−12, and is, in fact, essentially 0. The bad event that we are willing to tolerate with probability F is that Algorand’s blockchain forks. Notice that, with our setting of F and one-minute long rounds, a fork is expected to occur in Algorand’s blockchain as infrequently as (roughly) once in 1.9 million years. By contrast, in Bitcoin, a forks occurs quite often. A more demanding person may set F to a lower value. To this end, in our second embodiment we consider setting F to 10−18. Note that, assuming that a block is generated every second, 1018 is the estimated number of seconds taken by the Universe so far: from the Big Bang to present time. Thus, with F = 10−18, if a block is generated in a second, one should expect for the age of the Universe to see a fork. 2.6 The Adversarial Model Algorand is designed to be secure in a very adversarial model. Let us explain. Honest and Malicious Users A user is honest if he follows all his protocol instructions, and is perfectly capable of sending and receiving messages. A user is malicious (i.e., Byzantine, in the parlance of distributed computing) if he can deviate arbitrarily from his prescribed instructions. The Adversary The Adversary is an efficient (technically polynomial-time) algorithm, personified for color, who can immediately make malicious any user he wants, at any time he wants (subject only to an upperbound to the number of the users he can corrupt). The Adversary totally controls and perfectly coordinates all malicious users. He takes all actions on their behalf, including receiving and sending all their messages, and can let them deviate from their prescribed instructions in arbitrary ways. Or he can simply isolate a corrupted user sending and receiving messages. Let us clarify that no one else automatically learns that a user i is malicious, although i’s maliciousness may transpire by the actions the Adversary has him take. This powerful adversary however, • Does not have unbounded computational power and cannot successfully forge the digital signature of an honest user, except with negligible probability; and

• Cannot interfere in any way with the messages exchanges among honest users. Furthermore, his ability to attack honest users is bounded by one of the following assumption. Honesty Majority of Money We consider a continuum of Honest Majority of Money (HMM) assumptions: namely, for each non-negative integer k and real h > 1/2, HHMk > h: the honest users in every round r owned a fraction greater than h of all money in the system at round r −k. Discussion. Assuming that all malicious users perfectly coordinate their actions (as if controlled by a single entity, the Adversary) is a rather pessimistic hypothesis. Perfect coordination among too many individuals is difficult to achieve. Perhaps coordination only occurs within separate groups of malicious players. But, since one cannot be sure about the level of coordination malicious users may enjoy, we’d better be safe than sorry. Assuming that the Adversary can secretly, dynamically, and immediately corrupt users is also pessimistic. After all, realistically, taking full control of a user’s operations should take some time. The assumption HMMk > h implies, for instance, that, if a round (on average) is implemented in one minute, then, the majority of the money at a given round will remain in honest hands for at least two hours, if k = 120, and at least one week, if k = 10, 000. Note that the HMM assumptions and the previous Honest Majority of Computing Power assumptions are related in the sense that, since computing power can be bought with money, if malicious users own most of the money, then they can obtain most of the computing power. 2.7 The Communication Model We envisage message propagation —i.e., “peer-to-peer gossip”5— to be the only means of communication. Temporary Assumption: Timely Delivery of Messages in the Entire Network. For most part of this paper we assume that every propagated message reaches almost all honest users in a timely fashion. We shall remove this assumption in Section 10, where we deal with network partitions, either naturally occurring or adversarially induced. (As we shall see, we only assume timely delivery of messages within each connected component of the network.) One concrete way to capture timely delivery of propagated messages (in the entire network) is the following: For all reachability \(\rho > 95\%\) and message size \(\mu \in \mathbb{Z}^+\), there exists \(\lambda_{\rho,\mu}\) such that, if a honest user propagates \(\mu\)-byte message \(m\) at time \(t\), then \(m\) reaches, by time \(t + \lambda_{\rho,\mu}\), at least a fraction \(\rho\) of the honest users. 5Essentially, as in Bitcoin, when a user propagates a message m, every active user i receiving m for the first time, randomly and independently selects a suitably small number of active users, his “neighbors”, to whom he forwards m, possibly until he receives an acknowledgement from them. The propagation of m terminates when no user receives m for the first time.

The above property, however, cannot support our Algorand protocol, without explicitly and separately envisaging a mechanism to obtain the latest blockchain —by another user/depository/etc. In fact, to construct a new block Br not only should a proper set of verifiers timely receive round-r messages, but also the messages of previous rounds, so as to know Br−1 and all other previous blocks, which is necessary to determine whether the payments in Br are valid. The following assumption instead suffices. Message Propagation (MP) Assumption: For all \(\rho > 95\%\) and \(\mu \in \mathbb{Z}^+\), there exists \(\lambda_{\rho,\mu}\) such that, for all times \(t\) and all \(\mu\)-byte messages \(m\) propagated by an honest user before \(t - \lambda_{\rho,\mu}\), \(m\) is received, by time \(t\), by at least a fraction \(\rho\) of the honest users. Protocol Algorand ′ actually instructs each of a small number of users (i.e., the verifiers of a given step of a round in Algorand ′, to propagate a separate message of a (small) prescribed size, and we need to bound the time required to fulfill these instructions. We do so by enriching the MP assumption as follows. For all \(n\), \(\rho > 95\%\), and \(\mu \in \mathbb{Z}^+\), there exists \(\lambda_{n,\rho,\mu}\) such that, for all times \(t\) and all \(\mu\)-byte messages \(m_1, \ldots, m_n\), each propagated by an honest user before \(t - \lambda_{n,\rho,\mu}\), \(m_1, \ldots, m_n\) are received, by time \(t\), by at least a fraction \(\rho\) of the honest users. Note • The above assumption is deliberately simple, but also stronger than needed in our paper.6 • For simplicity, we assume \(\rho = 1\), and thus drop mentioning \(\rho\). • We pessimistically assume that, provided he does not violate the MP assumption, the Adversary totally controls the delivery of all messages. In particular, without being noticed by the honest users, the Adversary he can arbitrarily decide which honest player receives which message when, and arbitrarily accelerate the delivery of any message he wants.7

प्रारंभिक

2.1 क्रिप्टोग्राफ़िक आदिम आदर्श हैशिंग. हम एक कुशल गणना योग्य क्रिप्टोग्राफ़िक hash फ़ंक्शन, H पर भरोसा करेंगे, जो कि मनमाने ढंग से लंबी स्ट्रिंग्स को निश्चित लंबाई की बाइनरी स्ट्रिंग्स में मैप करता है। हम एक लंबी परंपरा का अनुसरण करते हुए मॉडल बनाते हैं H एक यादृच्छिक oracle के रूप में, अनिवार्य रूप से एक फ़ंक्शन प्रत्येक संभावित स्ट्रिंग को यादृच्छिक रूप से मैप करता है और चुनी गई लंबाई की स्वतंत्र रूप से चयनित (और फिर तय की गई) बाइनरी स्ट्रिंग, एच(एस)। इस पेपर में, H के पास 256-बिट लंबे आउटपुट हैं। दरअसल, ऐसी लंबाई बनाने के लिए काफी कम है सिस्टम कुशल और सिस्टम को सुरक्षित बनाने के लिए पर्याप्त लंबा। उदाहरण के लिए, हम चाहते हैं कि H टकराव-लचीला हो। अर्थात्, दो अलग-अलग स्ट्रिंग x और y को इस प्रकार खोजना कठिन होना चाहिए कि H(x) = H(y)। जब H 256-बिट लंबे आउटपुट के साथ एक यादृच्छिक oracle है, तो स्ट्रिंग की ऐसी किसी भी जोड़ी को ढूंढना वास्तव में है कठिन. (यादृच्छिक रूप से प्रयास करने और जन्मदिन विरोधाभास पर भरोसा करने के लिए 2256/2 = 2128 की आवश्यकता होगी परीक्षण।) डिजिटल हस्ताक्षर. डिजिटल हस्ताक्षर उपयोगकर्ताओं को एक दूसरे को जानकारी प्रमाणित करने की अनुमति देते हैं किसी भी गुप्त कुंजी को साझा किए बिना। एक डिजिटल हस्ताक्षर योजना में तीन चरण शामिल हैं एल्गोरिदम: एक संभाव्य कुंजी जनरेटर जी, एक हस्ताक्षर एल्गोरिथ्म एस, और एक सत्यापन एल्गोरिदम वी। सुरक्षा पैरामीटर k को देखते हुए, एक पर्याप्त उच्च पूर्णांक, एक उपयोगकर्ता i एक जोड़ी बनाने के लिए G का उपयोग करता है के-बिट कुंजी (यानी, स्ट्रिंग्स): एक "सार्वजनिक" कुंजी पीकी और एक मिलान "गुप्त" साइनिंग कुंजी स्की। महत्वपूर्ण रूप से, ए सार्वजनिक कुंजी अपनी संबंधित गुप्त कुंजी के साथ "विश्वासघात" नहीं करती है। यानी पीकेआई का ज्ञान भी दिया, नहीं मेरे अलावा एक और खगोलीय समय से भी कम समय में स्की की गणना करने में सक्षम है। उपयोगकर्ता I संदेशों पर डिजिटल रूप से हस्ताक्षर करने के लिए स्की का उपयोग करता है। प्रत्येक संभावित संदेश (बाइनरी स्ट्रिंग) के लिए, मैं पहले hashes m और फिर इनपुट H(m) और स्की पर एल्गोरिदम S चलाता है ताकि k-बिट स्ट्रिंग का उत्पादन किया जा सके सिगपकी(एम) \(\triangleq\)एस(एच(एम), स्की) .3 3चूंकि एच टकराव-लचीला है, इसलिए यह व्यावहारिक रूप से असंभव है कि, एम पर हस्ताक्षर करके कोई "गलती से हस्ताक्षर" कर दे। संदेश एम'.बाइनरी स्ट्रिंग sigpki(m) को i के m के डिजिटल हस्ताक्षर (pki के सापेक्ष) के रूप में संदर्भित किया जाता है, और हो सकता है इसे अधिक सरलता से सिगी(एम) द्वारा दर्शाया जाता है, जब सार्वजनिक कुंजी पीकेआई संदर्भ से स्पष्ट होती है। पीकेआई को जानने वाला हर कोई इसका उपयोग आई द्वारा उत्पादित डिजिटल हस्ताक्षरों को सत्यापित करने के लिए कर सकता है। विशेष रूप से, पर इनपुट (ए) एक खिलाड़ी की सार्वजनिक कुंजी पीकेआई, (बी) एक संदेश एम, और (सी) एक स्ट्रिंग एस, यानी, मैं कथित हूं संदेश m के डिजिटल हस्ताक्षर, सत्यापन एल्गोरिथ्म V या तो हाँ या नहीं आउटपुट देता है। डिजिटल हस्ताक्षर योजना के लिए हमें जिन संपत्तियों की आवश्यकता है वे हैं: 1. वैध हस्ताक्षर हमेशा सत्यापित होते हैं: यदि s = sigi(m), तो V (pki, m, s) = Y ES; और 2. डिजिटल हस्ताक्षर बनाना कठिन है: स्की के ज्ञान के बिना ऐसी स्ट्रिंग ढूंढने का समय वह V (pki, m, s) = Y ES, एक संदेश के लिए m जिस पर i द्वारा कभी हस्ताक्षर नहीं किया गया है, खगोलीय रूप से लंबा है। (गोल्डवेसर, मिकाली और रिवेस्ट [17] की मजबूत सुरक्षा आवश्यकता के बाद, यह सच है भले ही कोई किसी अन्य संदेश के हस्ताक्षर प्राप्त कर सकता है।) तदनुसार, किसी अन्य को उसकी ओर से संदेशों पर हस्ताक्षर करने से रोकने के लिए, मुझे उसका एक खिलाड़ी रखना होगा हस्ताक्षर कुंजी स्की रहस्य (इसलिए शब्द "गुप्त कुंजी"), और किसी को भी संदेशों को सत्यापित करने में सक्षम बनाना वह हस्ताक्षर करता है, मुझे उसकी कुंजी पीकी (इसलिए शब्द "सार्वजनिक कुंजी") को प्रचारित करने में रुचि है। सामान्य तौर पर, एक संदेश m को उसके हस्ताक्षर sigi(m) से पुनर्प्राप्त नहीं किया जा सकता है। वस्तुतः सौदा करने के लिए डिजिटल हस्ताक्षरों के साथ जो वैचारिक रूप से सुविधाजनक "पुनर्प्राप्ति" संपत्ति (यानी, को) को संतुष्ट करते हैं हम गारंटी देते हैं कि हस्ताक्षरकर्ता और संदेश की गणना हस्ताक्षर से आसानी से की जा सकती है SIGpki(m) = (i, m, sigpki(m)) और SIGi(m) = (i, m, sigi(m)), यदि pki स्पष्ट है। अद्वितीय डिजिटल हस्ताक्षर. हम डिजिटल हस्ताक्षर योजनाओं (जी, एस, वी) को भी संतुष्ट करने पर विचार करते हैं अतिरिक्त संपत्ति के बाद. 3. विशिष्टता. ऐसे तार pk', m, s, और s' ढूँढना कठिन है s ̸= s′ और वी (पीके′, एम, एस) = वी (पीके′, एम, एस′) = 1. (ध्यान दें कि अद्वितीयता गुण उन स्ट्रिंग्स pk′ के लिए भी लागू होता है जो वैध रूप से उत्पन्न नहीं होती हैं सार्वजनिक कुंजियाँ. विशेष रूप से, हालांकि, विशिष्टता संपत्ति का तात्पर्य यह है कि, यदि किसी ने इसका उपयोग किया है एक मिलान गुप्त कुंजी एसके के साथ एक सार्वजनिक कुंजी पीके की गणना करने के लिए निर्दिष्ट कुंजी जेनरेटर जी, और इस प्रकार एसके को पता था, उसके लिए दो अलग-अलग डिजिटल ढूंढना भी अनिवार्य रूप से असंभव होगा पीके के सापेक्ष एक ही संदेश के हस्ताक्षर।) टिप्पणियाँ • अद्वितीय हस्ताक्षरों से लेकर सत्यापन योग्य यादृच्छिक कार्यों तक। एक डिजिटल से संबंधित विशिष्टता गुण के साथ हस्ताक्षर योजना, मैपिंग m \(\to\) H(sigi(m)) से संबद्ध है प्रत्येक संभावित स्ट्रिंग एम, एक अद्वितीय, यादृच्छिक रूप से चयनित, 256-बिट स्ट्रिंग, और इसकी शुद्धता मैपिंग को सिग्नेचर sigi(m) देकर सिद्ध किया जा सकता है। यानी आदर्श hashing और डिजिटल हस्ताक्षर योजना अनिवार्य रूप से विशिष्टता संपत्ति को संतुष्ट करती है एक सत्यापन योग्य यादृच्छिक फ़ंक्शन का प्रारंभिक कार्यान्वयन प्रदान करें, जैसा कि प्रस्तुत किया गया है और इसके द्वारा मिकाली, राबिन, और वधान [27]। (उनका मूल कार्यान्वयन आवश्यक रूप से अधिक जटिल था, चूँकि वे आदर्श hashing पर भरोसा नहीं करते थे।)• डिजिटल हस्ताक्षर के लिए तीन अलग-अलग आवश्यकताएँ। Algorand में, एक उपयोगकर्ता i डिजिटल पर निर्भर है के लिए हस्ताक्षर (1) अपने स्वयं के भुगतानों को प्रमाणित करना। इस एप्लिकेशन में, कुंजियाँ "दीर्घकालिक" हो सकती हैं (अर्थात, उपयोग की जाती हैं)। लंबी अवधि में कई संदेशों पर हस्ताक्षर करें) और एक सामान्य हस्ताक्षर योजना से आते हैं। (2) यह साबित करने वाले क्रेडेंशियल उत्पन्न करना कि मैं राउंड आर के कुछ चरणों पर कार्य करने का हकदार हूं। यहाँ, कुंजियाँ दीर्घकालिक हो सकती हैं, लेकिन विशिष्टता संपत्ति को संतुष्ट करने वाली योजना से आनी चाहिए। (3) प्रत्येक चरण में मेरे द्वारा भेजे गए संदेश को प्रमाणित करना जिसमें वह कार्य करता है। यहाँ, चाबियाँ होनी चाहिए अल्पकालिक (अर्थात, उनके पहले उपयोग के बाद नष्ट हो गया), लेकिन एक साधारण हस्ताक्षर योजना से आ सकता है। • एक छोटी लागत वाला सरलीकरण। सरलता के लिए, हम कल्पना करते हैं कि प्रत्येक उपयोगकर्ता के पास एक ही दीर्घकालिक कुंजी हो। तदनुसार, ऐसी कुंजी विशिष्टता के साथ एक हस्ताक्षर योजना से आनी चाहिए संपत्ति. ऐसी सरलता की कम कम्प्यूटेशनल लागत होती है। आमतौर पर, वास्तव में, अद्वितीय डिजिटल सामान्य हस्ताक्षरों की तुलना में हस्ताक्षर बनाना और सत्यापित करना थोड़ा अधिक महंगा है। 2.2 आदर्शीकृत सार्वजनिक बहीखाता Algorand एक आदर्श सार्वजनिक बहीखाता के आधार पर निम्नलिखित भुगतान प्रणाली की नकल करने का प्रयास करता है। 1. प्रारंभिक स्थिति. पैसा व्यक्तिगत सार्वजनिक कुंजी (निजी रूप से उत्पन्न और) से जुड़ा हुआ है उपयोगकर्ताओं के स्वामित्व में)। देना pk1, . . . , pkj प्रारंभिक सार्वजनिक कुंजी और a1, हो। . . , ए जे उनके संबंधित प्रारंभिक मात्रा में धन इकाइयाँ, तो प्रारंभिक स्थिति है S0 = (pk1, a1), . . . , (पीकेजे, एजे) , जिसे सिस्टम में सामान्य ज्ञान माना जाता है। 2. भुगतान. मान लीजिए pk एक सार्वजनिक कुंजी है जिसमें वर्तमान में \(\geq\)0 धन इकाइयाँ हैं, pk' एक अन्य सार्वजनिक कुंजी है कुंजी, और a′ एक गैर-ऋणात्मक संख्या, a से बड़ी नहीं। फिर, एक (वैध) भुगतान \(\wp\) एक डिजिटल है हस्ताक्षर, पीके के सापेक्ष, पीके से पीके तक 'मौद्रिक इकाइयों' के हस्तांतरण को एक साथ निर्दिष्ट करना कुछ अतिरिक्त जानकारी के साथ. प्रतीकों में, \(\wp\)= SIGpk(pk, pk′, a′, I, H(I)), जहां मैं किसी भी अतिरिक्त जानकारी का प्रतिनिधित्व करता हूं जो उपयोगी मानी जाती है लेकिन संवेदनशील नहीं है (उदाहरण के लिए, समय)। जानकारी और भुगतान पहचानकर्ता), और मैं संवेदनशील समझी जाने वाली कोई भी अतिरिक्त जानकारी (जैसे, भुगतान का कारण, संभवतः पीके और पीके' के मालिकों की पहचान, इत्यादि)। हम पीके (या उसके मालिक) को भुगतानकर्ता के रूप में, प्रत्येक पीके' (या उसके मालिक) को भुगतानकर्ता के रूप में, और ए' को संदर्भित करते हैं। भुगतान की राशि \(\wp\). भुगतान के माध्यम से मुफ़्त में शामिल होना। ध्यान दें कि उपयोगकर्ता जब चाहें तब सिस्टम से जुड़ सकते हैं अपने स्वयं के सार्वजनिक/गुप्त कुंजी जोड़े तैयार करना। तदनुसार, सार्वजनिक कुंजी pk′ जो दिखाई देती है उपरोक्त भुगतान एक नव निर्मित सार्वजनिक कुंजी हो सकती है जिसके पास कभी भी कोई पैसा "स्वामित्व" नहीं था पहले. 3. जादुई बहीखाता। आदर्शीकृत प्रणाली में, सभी भुगतान वैध होते हैं और छेड़छाड़-रोधी रूप में दिखाई देते हैं सभी के देखने के लिए भुगतान के सेटों की सूची "आकाश पर पोस्ट की गई": एल = वेतन 1, वेतन 2,। . . ,प्रत्येक ब्लॉक PAY r+1 में ब्लॉक की उपस्थिति के बाद से किए गए सभी भुगतानों का सेट शामिल होता है भुगतान आर. आदर्श प्रणाली में, एक निश्चित (या सीमित) समय के बाद एक नया ब्लॉक प्रकट होता है। बहस। • अधिक सामान्य भुगतान और अव्ययित लेनदेन आउटपुट। अधिक सामान्यतः, यदि कोई सार्वजनिक कुंजी हो pk के पास एक राशि a है, तो एक वैध भुगतान \(\wp\)of pk राशि a' को स्थानांतरित कर सकता है 1, ए' 2, . . ., क्रमशः कुंजियों के लिए pk' 1, पीके' 2, . . ., जब तक पी जे ए' जे \(\leq\)ए. Bitcoin और इसी तरह की प्रणालियों में, सार्वजनिक कुंजी पीके के स्वामित्व वाले पैसे को अलग-अलग भागों में विभाजित किया जाता है रकम, और पीके द्वारा किए गए भुगतान को ऐसी अलग की गई राशि को पूरी तरह से स्थानांतरित करना होगा। यदि pk किसी अन्य कुंजी में a का केवल एक अंश a′ < a स्थानांतरित करना चाहता है, तो उसे भी स्थानांतरित करना होगा शेष, अव्ययित लेनदेन आउटपुट, किसी अन्य कुंजी के लिए, संभवतः पीके ही। Algorand अलग-अलग मात्रा वाली कुंजियों के साथ भी काम करता है। हालाँकि, पर ध्यान केंद्रित करने के लिए Algorand के नवीन पहलू, हमारे भुगतान के सरल रूपों पर टिके रहना अवधारणात्मक रूप से सरल है और कुंजियाँ जिनके साथ एक ही राशि जुड़ी हुई है। • वर्तमान स्थिति. आदर्शीकृत योजना सीधे तौर पर वर्तमान के बारे में जानकारी प्रदान नहीं करती है सिस्टम की स्थिति (अर्थात, प्रत्येक सार्वजनिक कुंजी में कितनी धन इकाइयाँ हैं)। यह जानकारी मैजिक लेजर से अनुमान लगाया जा सकता है। आदर्श प्रणाली में, एक सक्रिय उपयोगकर्ता नवीनतम स्थिति की जानकारी लगातार संग्रहीत और अद्यतन करता है, या अन्यथा उसे इसका पुनर्निर्माण करना होगा, या तो खरोंच से, या पिछली बार से इसकी गणना की. (इस पेपर के अगले संस्करण में, हम Algorand को बढ़ाएंगे ताकि इसे सक्षम किया जा सके) उपयोगकर्ता वर्तमान स्थिति को कुशल तरीके से पुनर्निर्मित करें।) • सुरक्षा और "गोपनीयता"। डिजिटल हस्ताक्षर यह गारंटी देते हैं कि कोई भी भुगतान में फर्जीवाड़ा नहीं कर सकता अन्य उपयोगकर्ता. भुगतान \(\wp\) में, सार्वजनिक कुंजी और राशि छिपी नहीं होती, बल्कि संवेदनशील होती है जानकारी मैं है. वास्तव में, केवल H(I) \(\wp\) में दिखाई देता है, और चूँकि H एक आदर्श hash फ़ंक्शन है, H(I) एक यादृच्छिक 256-बिट मान है, और इस प्रकार यह पता लगाने का कोई तरीका नहीं है कि मैं किससे बेहतर था बस इसका अनुमान लगा रहा हूँ। फिर भी, यह साबित करने के लिए कि मैं क्या था (उदाहरण के लिए, भुगतान का कारण साबित करने के लिए)। भुगतानकर्ता केवल I प्रकट कर सकता है। प्रकट I की सत्यता को H(I) की गणना करके सत्यापित किया जा सकता है और परिणामी मूल्य की तुलना \(\wp\) के अंतिम आइटम से करें। वास्तव में, चूँकि H टकराव प्रतिरोधी है, दूसरा मान I′ ढूँढना कठिन है जैसे कि H(I) = H(I′)। 2.3 बुनियादी धारणाएँ और संकेतन कुंजियाँ, उपयोगकर्ता और स्वामी जब तक अन्यथा निर्दिष्ट न किया जाए, प्रत्येक सार्वजनिक कुंजी (संक्षिप्त रूप में "कुंजी") अद्वितीय गुण वाली डिजिटल हस्ताक्षर योजना के लिए दीर्घकालिक और सापेक्ष होती है। मैं एक सार्वजनिक कुंजी से जुड़ता हूं सिस्टम जब सिस्टम में पहले से मौजूद एक अन्य सार्वजनिक कुंजी j, i को भुगतान करता है। रंग के लिए, हम कुंजियों का मानवीकरण करते हैं। हम एक कुंजी i को "वह" के रूप में संदर्भित करते हैं, कहते हैं कि मैं ईमानदार हूं, कि मैं भेजता हूं और संदेश आदि प्राप्त करता है। उपयोगकर्ता कुंजी का पर्याय है। जब हम किसी कुंजी को अलग करना चाहते हैं वह व्यक्ति जिसके पास यह है, हम क्रमशः "डिजिटल कुंजी" और "मालिक" शब्द का उपयोग करते हैं। अनुमति रहित और अनुमति प्राप्त प्रणालियाँ। यदि कोई डिजिटल कुंजी मुफ़्त है तो सिस्टम अनुमति रहित है किसी भी समय शामिल होने के लिए और एक मालिक के पास कई डिजिटल कुंजियाँ हो सकती हैं; और इसकी अनुमति है, अन्यथा।अनोखा प्रतिनिधित्व Algorand में प्रत्येक ऑब्जेक्ट का एक अद्वितीय प्रतिनिधित्व होता है। विशेष रूप से, प्रत्येक सेट {(x, y, z,...) : x \(\in\)X, y \(\in\)Y, z \(\in\)Z, . . .} को पूर्व-निर्दिष्ट तरीके से आदेश दिया गया है: उदाहरण के लिए, सबसे पहले शब्दकोष की दृष्टि से x में, फिर y में, आदि। समान गति वाली घड़ियाँ कोई वैश्विक घड़ी नहीं है: बल्कि, प्रत्येक उपयोगकर्ता की अपनी घड़ी होती है। उपयोगकर्ता घड़ियाँ किसी भी तरह से सिंक्रनाइज़ करने की आवश्यकता नहीं है. हालाँकि, हम मानते हैं कि उन सभी की गति समान है। उदाहरण के लिए, जब किसी उपयोगकर्ता की घड़ी के अनुसार दोपहर के 12 बजे हैं, तो उसके अनुसार दोपहर के 2:30 हो सकते हैं दूसरे उपयोगकर्ता j की घड़ी, लेकिन जब i की घड़ी के अनुसार 12:01 होगा, तो उसके अनुसार 2:31 होगा जे की घड़ी के लिए. अर्थात्, "प्रत्येक उपयोगकर्ता के लिए एक मिनट समान (पर्याप्त रूप से, अनिवार्य रूप से समान) है"। दौर Algorand को तार्किक इकाइयों, r = 0, 1, में व्यवस्थित किया गया है। . ., जिसे राउंड कहा जाता है। हम राउंड को इंगित करने के लिए लगातार सुपरस्क्रिप्ट का उपयोग करते हैं। यह इंगित करने के लिए कि एक गैर-संख्यात्मक मात्रा Q (उदाहरण के लिए, एक स्ट्रिंग, एक सार्वजनिक कुंजी, एक सेट, एक डिजिटल हस्ताक्षर, आदि) एक राउंड आर को संदर्भित करता है, हम बस क्यूआर लिखते हैं। केवल तभी जब Q एक वास्तविक संख्या हो (एक संख्या के रूप में व्याख्या की जाने वाली बाइनरी स्ट्रिंग के विपरीत), ऐसा करें हम Q(r) लिखते हैं, ताकि प्रतीक r की व्याख्या Q के प्रतिपादक के रूप में न की जा सके। (ए की शुरुआत) राउंड आर > 0 पर, सभी सार्वजनिक कुंजियों का सेट पीकेआर है, और सिस्टम स्थिति है श्री = एन मैं, ए(आर) मैं , . . .  : मैं पीकेआरओ , जहां ए(आर) मैं सार्वजनिक कुंजी के लिए उपलब्ध धनराशि है I ध्यान दें कि पीकेआर से कटौती योग्य है सीनियर, और वह सीनियर प्रत्येक सार्वजनिक कुंजी के लिए अन्य घटकों को भी निर्दिष्ट कर सकता है। राउंड 0 के लिए, PK0 प्रारंभिक सार्वजनिक कुंजियों का सेट है, और S0 प्रारंभिक स्थिति है। दोनों PK0 और S0 को सिस्टम में सामान्य ज्ञान माना जाता है। सरलता के लिए, राउंड आर की शुरुआत में, इसलिए PK1 हैं, . . . , पीकेआर और एस1, . . . , सीनियर एक राउंड आर में, सिस्टम स्थिति सीनियर से सीनियर+1 में परिवर्तित हो जाती है: प्रतीकात्मक रूप से, राउंड आर: सीनियर −→एसआर+1। भुगतान Algorand में, उपयोगकर्ता लगातार भुगतान करते हैं (और उन्हें रास्ते में प्रसारित करते हैं) उपधारा 2.7 में वर्णित है)। किसी उपयोगकर्ता के भुगतान \(\wp\) i \(\in\)PKr का प्रारूप और शब्दार्थ समान है जैसा कि आदर्श प्रणाली में होता है। अर्थात्, \(\wp\)= SIGi(i, i′, a, I, H(I)) . भुगतान \(\wp\) राउंड आर पर व्यक्तिगत रूप से मान्य है (संक्षेप में, राउंड-आर भुगतान है) यदि (1) इसकी राशि a, a(r) से कम या उसके बराबर है i, और (2) यह किसी भी आधिकारिक भुगतान PAY r' for r' < r में प्रकट नहीं होता है। (जैसा कि नीचे बताया गया है, दूसरी शर्त का मतलब है कि \(\wp\)पहले से ही प्रभावी नहीं हुआ है। I के राउंड-आर भुगतान का एक सेट सामूहिक रूप से मान्य है यदि उनकी राशियों का योग अधिकतम a(r) है मैं . भुगतान सेट राउंड-आर पेसेट पी, राउंड-आर भुगतानों का एक सेट है, जैसे कि प्रत्येक उपयोगकर्ता के लिए, भुगतान पी में आई (संभवतः कोई नहीं) सामूहिक रूप से मान्य हैं। सभी राउंड-आर पेसेट का सेट PAY(r) है। एक राउंड-आर यदि P का कोई भी सुपरसेट राउंड-आर पेसेट नहीं है, तो पेसेट P अधिकतम है। हम वास्तव में सुझाव देते हैं कि भुगतान \(\wp\) में एक राउंड \(\rho\) भी निर्दिष्ट होता है, \(\wp\)= SIGi(\(\rho\), i, i′, a, I, H(I)) , और कुछ निश्चित गैर-नकारात्मक पूर्णांक k.4 के लिए [\(\rho\), \(\rho\) + k] के बाहर किसी भी दौर में मान्य नहीं हो सकता 4इससे यह जाँचना सरल हो जाता है कि क्या \(\wp\)"प्रभावी" हो गया है (अर्थात्, यह यह निर्धारित करना सरल कर देता है कि क्या कुछ भुगतान PAY r में \(\wp\) शामिल है। जब k = 0, यदि \(\wp\)= SIGi(r, i, i′, a, I, H(I)) , और \(\wp\)/\(\in\)PAY r, तो मुझे \(\wp\) पुनः सबमिट करना होगा।आधिकारिक भुगतान प्रत्येक राउंड आर के लिए, Algorand सार्वजनिक रूप से चयन करता है (बाद में वर्णित तरीके से) एक एकल (संभवतः खाली) पेसेट, PAY r, राउंड का आधिकारिक पेसेट। (अनिवार्य रूप से, PAY r दर्शाता है राउंड-आर भुगतान जो "वास्तव में" हुआ है।) जैसा कि आदर्श सिस्टम (और Bitcoin) में होता है, (1) नए उपयोगकर्ता j के लिए सिस्टम में प्रवेश करने का एकमात्र तरीका किसी दिए गए राउंड आर के आधिकारिक भुगतान PAY r से संबंधित भुगतान का प्राप्तकर्ता होना चाहिए; और (2) PAY r वर्तमान राउंड, सीनियर से अगले राउंड, सीनियर+1 की स्थिति निर्धारित करता है। प्रतीकात्मक रूप से, भुगतान r : Sr −→Sr+1. विशेष रूप से, 1. राउंड आर + 1, पीकेआर+1 की सार्वजनिक कुंजी के सेट में पीकेआर का मिलन और सभी का सेट शामिल है भुगतानकर्ता कुंजियाँ जो पहली बार PAY r के भुगतान में दिखाई देती हैं; और 2. धन की राशि a(r+1) मैं राउंड आर + 1 में जो उपयोगकर्ता मेरे पास है, वह एआई(आर) का योग है - यानी, पिछले दौर में मेरे पास मौजूद धनराशि (0 यदि मैं ̸\(\in\)PKr) - और राशियों का योग PAY r के भुगतान के अनुसार मुझे भुगतान किया गया। संक्षेप में, आदर्श प्रणाली की तरह, प्रत्येक स्थिति Sr+1 पिछले भुगतान इतिहास से घटाई जा सकती है: भुगतान 0, . . . , भुगतान आर. 2.4 ब्लॉक और सिद्ध ब्लॉक Algorand0 में, ब्लॉक Br एक राउंड r विशिष्टताओं के अनुरूप है: r स्वयं; के भुगतान का सेट राउंड आर, पे आर; एक मात्रा Qr, जिसे समझाया जाना है, और पिछले ब्लॉक का hash, H(Br−1)। इस प्रकार, कुछ निश्चित ब्लॉक B0 से शुरू करके, हमारे पास एक पारंपरिक blockchain है: बी1 = (1, भुगतान 1, क्यू0, एच(बी0)), बी2 = (2, भुगतान 2, क्यू1, एच(बी1)), बी3 = (3, वेतन 3, क्यू2, एच(बी2)), . . . Algorand में, किसी ब्लॉक की प्रामाणिकता वास्तव में जानकारी के एक अलग टुकड़े द्वारा प्रमाणित की जाती है, एक "ब्लॉक सर्टिफिकेट" CERT r, जो Br को एक सिद्ध ब्लॉक, Br में बदल देता है। जादुई बहीखाता, इसलिए, सिद्ध ब्लॉकों के अनुक्रम द्वारा कार्यान्वित किया जाता है, बी1, बी2, . . . चर्चा जैसा कि हम देखेंगे, CERT r में H(Br) के लिए डिजिटल हस्ताक्षरों का एक सेट शामिल है एसवी आर के अधिकांश सदस्य, एक प्रमाण के साथ कि उनमें से प्रत्येक सदस्य वास्तव में संबंधित है एसवी आर को. बेशक, हम प्रमाणपत्र CERT r को ब्लॉक में ही शामिल कर सकते हैं, लेकिन इसे खोजें इसे अलग रखने के लिए वैचारिक रूप से अधिक स्वच्छ।) Bitcoin में प्रत्येक ब्लॉक को एक विशेष संपत्ति को संतुष्ट करना होगा, अर्थात, "इसमें एक समाधान होना चाहिए" क्रिप्टो पहेली", जो ब्लॉक पीढ़ी को कम्प्यूटेशनल रूप से गहन बनाती है और फोर्क्स दोनों को अपरिहार्य बनाती है और दुर्लभ नहीं. इसके विपरीत, Algorand के blockchain के दो मुख्य लाभ हैं: यह किसके साथ उत्पन्न होता है न्यूनतम गणना, और यह अत्यधिक उच्च संभावना के साथ कांटा नहीं करेगा। प्रत्येक ब्लॉक Bi है जैसे ही यह blockchain में प्रवेश करता है, सुरक्षित रूप से समाप्त हो जाता है।2.5 स्वीकार्य विफलता की संभावना Algorand की सुरक्षा का विश्लेषण करने के लिए हम संभाव्यता, F निर्दिष्ट करते हैं, जिसके साथ हम तैयार हैं स्वीकार करें कि कुछ गलत हो गया है (उदाहरण के लिए, एक सत्यापनकर्ता सेट एसवी आर के पास ईमानदार बहुमत नहीं है)। जैसा कि क्रिप्टोग्राफ़िक hash फ़ंक्शन H की आउटपुट लंबाई के मामले में, F भी एक पैरामीटर है। लेकिन, उस मामले में, हमें F को एक ठोस मान पर सेट करना उपयोगी लगता है, ताकि अधिक सहज ज्ञान प्राप्त किया जा सके इस तथ्य को समझें कि Algorand में, एक साथ पर्याप्त सुरक्षा का आनंद लेना वास्तव में संभव है और पर्याप्त दक्षता. इस बात पर जोर देने के लिए कि एफ वह पैरामीटर है जिसे पहले इच्छानुसार सेट किया जा सकता है और दूसरा अवतार हम क्रमशः निर्धारित करते हैं एफ = 10−12 और एफ = 10−18 . चर्चा ध्यान दें कि 10−12 वास्तव में एक ट्रिलियन में से एक से भी कम है, और हमारा मानना है कि ऐसा है हमारे आवेदन में एफ का विकल्प पर्याप्त है। आइए हम इस बात पर ज़ोर दें कि 10−12 प्रायिकता नहीं है जिससे विरोधी किसी ईमानदार उपयोगकर्ता के भुगतान में जालसाजी कर सकता है। सभी भुगतान डिजिटल रूप से होते हैं हस्ताक्षरित, और इस प्रकार, यदि उचित डिजिटल हस्ताक्षर का उपयोग किया जाता है, तो भुगतान में जालसाजी की संभावना है 10−12 से बहुत कम, और वास्तव में, अनिवार्य रूप से 0 है। वह बुरी घटना जिसे हम सहन करने को तैयार हैं प्रायिकता F के साथ यह है कि Algorand के blockchain कांटे हैं। ध्यान दें कि, एफ और की हमारी सेटिंग के साथ एक मिनट लंबे राउंड में, Algorand के blockchain में शायद ही कभी कांटा आने की उम्मीद होती है (लगभग) 1.9 मिलियन वर्षों में एक बार। इसके विपरीत, Bitcoin में, कांटा अक्सर होता है। अधिक मांग वाला व्यक्ति F को कम मान पर सेट कर सकता है। इस प्रयोजन के लिए, हमारे दूसरे अवतार में हम F को 10−18 पर सेट करने पर विचार करते हैं। ध्यान दें, यह मानते हुए कि हर सेकंड एक ब्लॉक उत्पन्न होता है, 1018 ब्रह्मांड द्वारा अब तक लिए गए सेकंडों की अनुमानित संख्या है: बिग बैंग से लेकर वर्तमान तक समय. इस प्रकार, F = 10−18 के साथ, यदि एक ब्लॉक एक सेकंड में उत्पन्न होता है, तो किसी को इसकी आयु की अपेक्षा करनी चाहिए एक कांटा देखने के लिए ब्रह्मांड. 2.6 प्रतिकूल मॉडल Algorand को बहुत प्रतिकूल मॉडल में सुरक्षित रहने के लिए डिज़ाइन किया गया है। आइये समझाते हैं. ईमानदार और दुर्भावनापूर्ण उपयोगकर्ता एक उपयोगकर्ता ईमानदार है यदि वह अपने सभी प्रोटोकॉल निर्देशों का पालन करता है, और संदेश भेजने और प्राप्त करने में पूरी तरह सक्षम है। एक उपयोगकर्ता दुर्भावनापूर्ण है (अर्थात, बीजान्टिन, में वितरित कंप्यूटिंग की भाषा में) यदि वह अपने निर्धारित निर्देशों से मनमाने ढंग से विचलन कर सकता है। विरोधी एडवर्सरी एक कुशल (तकनीकी रूप से बहुपद-समय) एल्गोरिदम है, जो रंग के लिए विशिष्ट है, जो किसी भी उपयोगकर्ता को जब चाहे, किसी भी समय दुर्भावनापूर्ण बना सकता है (विषय) केवल उपयोगकर्ताओं की संख्या की ऊपरी सीमा तक ही वह भ्रष्ट हो सकता है)। विरोधी सभी दुर्भावनापूर्ण उपयोगकर्ताओं को पूरी तरह से नियंत्रित और समन्वयित करता है। वह सभी कार्य करता है उनकी ओर से, जिसमें उनके सभी संदेश प्राप्त करना और भेजना शामिल है, और उन्हें इससे भटकने दे सकते हैं मनमाने तरीके से उनके निर्धारित निर्देश। या वह बस एक दूषित उपयोगकर्ता भेजने को अलग कर सकता है और संदेश प्राप्त कर रहे हैं। आइए स्पष्ट करें कि कोई भी अन्य व्यक्ति स्वचालित रूप से यह नहीं जान पाता कि i उपयोगकर्ता दुर्भावनापूर्ण है, हालाँकि विरोधी द्वारा उसके द्वारा किए गए कार्यों से मेरी दुर्भावना प्रकट हो सकती है। हालाँकि, यह शक्तिशाली प्रतिद्वंद्वी, • इसमें असीमित कम्प्यूटेशनल शक्ति नहीं है और यह डिजिटल को सफलतापूर्वक नहीं बना सकता है नगण्य संभावना को छोड़कर, एक ईमानदार उपयोगकर्ता के हस्ताक्षर; और• ईमानदार उपयोगकर्ताओं के बीच संदेशों के आदान-प्रदान में किसी भी तरह से हस्तक्षेप नहीं किया जा सकता। इसके अलावा, ईमानदार उपयोगकर्ताओं पर हमला करने की उसकी क्षमता निम्नलिखित धारणाओं में से एक से बंधी है। ईमानदारी अधिकांश धन हम धन के ईमानदार बहुमत (एचएमएम) की निरंतरता पर विचार करते हैं धारणाएँ: अर्थात्, प्रत्येक गैर-नकारात्मक पूर्णांक k और वास्तविक h > 1/2 के लिए, एचएचएमके > एच: प्रत्येक दौर में ईमानदार उपयोगकर्ताओं के पास सभी धन के एच से अधिक हिस्सा होता है राउंड r −k पर सिस्टम। बहस। यह मानते हुए कि सभी दुर्भावनापूर्ण उपयोगकर्ता अपने कार्यों को पूरी तरह से समन्वयित करते हैं (जैसे कि नियंत्रित हों)। एक इकाई द्वारा, विरोधी) एक निराशावादी परिकल्पना है। आपस में उत्तम समन्वय भी कई व्यक्तियों को हासिल करना मुश्किल है। शायद समन्वय केवल अलग-अलग समूहों के भीतर ही होता है दुर्भावनापूर्ण खिलाड़ियों का. लेकिन, चूँकि दुर्भावनापूर्ण उपयोगकर्ताओं के समन्वय के स्तर के बारे में कोई निश्चित नहीं हो सकता आनंद ले सकते हैं, खेद जताने से बेहतर होगा कि हम सुरक्षित रहें। यह मानते हुए कि विरोधी गुप्त रूप से, गतिशील रूप से और तुरंत उपयोगकर्ताओं को भ्रष्ट कर सकता है निराशावादी. आख़िरकार, वास्तविक रूप से, उपयोगकर्ता के संचालन पर पूर्ण नियंत्रण लेने में कुछ समय लगना चाहिए। उदाहरण के लिए, धारणा HMMk > h का तात्पर्य यह है कि, यदि एक राउंड (औसतन) लागू किया जाता है एक मिनट में, किसी दिए गए दौर में अधिकांश पैसा ईमानदार हाथों में रहेगा कम से कम दो घंटे, यदि k = 120, और कम से कम एक सप्ताह, यदि k = 10,000। ध्यान दें कि एचएमएम धारणाएं और कंप्यूटिंग शक्ति का पिछला ईमानदार बहुमत धारणाएँ इस अर्थ में संबंधित हैं कि, चूँकि कंप्यूटिंग शक्ति पैसे से खरीदी जा सकती है, यदि दुर्भावनापूर्ण उपयोगकर्ताओं के पास अधिकांश धन है, तो वे अधिकांश कंप्यूटिंग शक्ति प्राप्त कर सकते हैं। 2.7 संचार मॉडल हम संदेश प्रसार की परिकल्पना करते हैं - यानी, "पीयर-टू-पीयर गपशप"5- इसका एकमात्र साधन है संचार. अस्थायी धारणा: संपूर्ण नेटवर्क में संदेशों की समय पर डिलीवरी। के लिए इस पेपर के अधिकांश भाग में हम मानते हैं कि प्रत्येक प्रचारित संदेश लगभग सभी ईमानदार उपयोगकर्ताओं तक पहुंचता है समयानुकूल ढंग से. हम धारा 10 में इस धारणा को हटा देंगे, जहां हम नेटवर्क से निपटते हैं विभाजन, या तो स्वाभाविक रूप से घटित होते हैं या प्रतिकूल रूप से प्रेरित होते हैं। (जैसा कि हम देखेंगे, हम केवल मान लेते हैं नेटवर्क के प्रत्येक जुड़े घटक के भीतर संदेशों की समय पर डिलीवरी।) प्रचारित संदेशों (संपूर्ण नेटवर्क में) की समय पर डिलीवरी को पकड़ने का एक ठोस तरीका है निम्नलिखित: सभी पहुंच क्षमता \(\rho\) > 95% और संदेश आकार \(\mu\) \(\in\)Z+ के लिए, \(\lambda\) \(\rho\),\(\mu\) मौजूद है जैसे कि, यदि कोई ईमानदार उपयोगकर्ता समय t पर \(\mu\)-बाइट संदेश m प्रसारित करता है, तब m, समय t + \(\lambda\) \(\rho\),\(\mu\) तक, ईमानदार उपयोगकर्ताओं के कम से कम एक अंश \(\rho\) तक पहुँच जाता है। 5अनिवार्य रूप से, जैसा कि Bitcoin में है, जब कोई उपयोगकर्ता एक संदेश m प्रसारित करता है, तो प्रत्येक सक्रिय उपयोगकर्ता को पहली बार m प्राप्त होता है, बेतरतीब ढंग से और स्वतंत्र रूप से सक्रिय उपयोगकर्ताओं की एक छोटी संख्या, उसके "पड़ोसियों" का चयन करता है, जिन्हें वह आगे भेजता है, संभवतः जब तक वह उनसे पावती प्राप्त नहीं कर लेता। जब कोई उपयोगकर्ता प्राप्त नहीं करता तो m का प्रसार समाप्त हो जाता है मैं पहली बार.हालाँकि, उपरोक्त संपत्ति हमारे Algorand प्रोटोकॉल का समर्थन नहीं कर सकती है, बिना स्पष्ट रूप से और अलग से किसी अन्य उपयोगकर्ता/डिपॉजिटरी/आदि द्वारा नवीनतम blockchain प्राप्त करने के लिए एक तंत्र की परिकल्पना किए बिना। वास्तव में, एक नए ब्लॉक के निर्माण के लिए न केवल सत्यापनकर्ताओं का एक उचित सेट समय पर राउंड-आर प्राप्त करना चाहिए संदेश, बल्कि पिछले दौर के संदेश भी, ताकि Br−1 और अन्य सभी पिछले दौर को जान सकें ब्लॉक, जो यह निर्धारित करने के लिए आवश्यक है कि Br में भुगतान वैध हैं या नहीं। निम्नलिखित इसके बजाय धारणा पर्याप्त है। संदेश प्रसार (एमपी) धारणा: सभी \(\rho\) > 95% और \(\mu\) \(\in\)Z+ के लिए, \(\lambda\) \(\rho\),\(\mu\) मौजूद है ऐसा कि, सभी समय t और सभी \(\mu\)-बाइट संदेशों के लिए m को t −\(\lambda\) \(\rho\),\(\mu\) से पहले एक ईमानदार उपयोगकर्ता द्वारा प्रचारित किया जाता है। एम को समय टी के अनुसार, ईमानदार उपयोगकर्ताओं के कम से कम एक अंश \(\rho\) द्वारा प्राप्त किया जाता है। प्रोटोकॉल Algorand 'वास्तव में उपयोगकर्ताओं की एक छोटी संख्या में से प्रत्येक को निर्देश देता है (अर्थात, किसी के सत्यापनकर्ताओं को) (छोटे) निर्धारित आकार के एक अलग संदेश को प्रसारित करने के लिए, Algorand ′ में एक राउंड का चरण दिया गया है, और हमें इन निर्देशों को पूरा करने के लिए आवश्यक समय निर्धारित करने की आवश्यकता है। हम एमपी को समृद्ध बनाकर ऐसा करते हैं अनुमान इस प्रकार है. सभी n, \(\rho\) > 95%, और \(\mu\) \(\in\)Z+ के लिए, \(\lambda\)n,\(\rho\),\(\mu\) मौजूद है, जैसे कि, सभी समय t और सभी \(\mu\)-बाइट के लिए संदेश एम1, . . . , mn, प्रत्येक को t −\(\lambda\)n,\(\rho\),\(\mu\), m1, से पहले एक ईमानदार उपयोगकर्ता द्वारा प्रचारित किया जाता है। . . , एमएन प्राप्त हुए हैं, समय t के अनुसार, ईमानदार उपयोगकर्ताओं के कम से कम एक अंश \(\rho\) द्वारा। नोट • उपरोक्त धारणा जानबूझकर सरल है, लेकिन हमारे पेपर में आवश्यकता से अधिक मजबूत भी है।6 • सरलता के लिए, हम \(\rho\) = 1 मानते हैं, और इस प्रकार \(\rho\) का उल्लेख करना छोड़ देते हैं। • हम निराशावादी रूप से यह मानते हैं, बशर्ते कि वह सांसद की धारणा, प्रतिद्वंद्वी का उल्लंघन न करे सभी संदेशों की डिलीवरी को पूरी तरह से नियंत्रित करता है। विशेष रूप से, ईमानदार लोगों की नज़र में आए बिना उपयोगकर्ता, विरोधी मनमाने ढंग से यह तय कर सकता है कि कौन सा ईमानदार खिलाड़ी कब कौन सा संदेश प्राप्त करेगा, और मनमाने ढंग से अपने इच्छित किसी भी संदेश के वितरण में तेजी लाता है।7

The BA Protocol BA⋆in a Traditional Setting

The BA Protocol BA⋆in a Traditional Setting

As already emphasized, Byzantine agreement is a key ingredient of Algorand. Indeed, it is through the use of such a BA protocol that Algorand is unaffected by forks. However, to be secure against our powerful Adversary, Algorand must rely on a BA protocol that satisfies the new player-replaceability constraint. In addition, for Algorand to be efficient, such a BA protocol must be very efficient. BA protocols were first defined for an idealized communication model, synchronous complete networks (SC networks). Such a model allows for a simpler design and analysis of BA protocols. 6Given the honest percentage h and the acceptable failure probability F, Algorand computes an upperbound, N, to the maximum number of member of verifiers in a step. Thus, the MP assumption need only hold for \(n \leq N\). In addition, as stated, the MP assumption holds no matter how many other messages may be propagated alongside the mj’s. As we shall see, however, in Algorand messages at are propagated in essentially non-overlapping time intervals, during which either a single block is propagated, or at most N verifiers propagate a small (e.g., 200B) message. Thus, we could restate the MP assumption in a weaker, but also more complex, way. 7For instance, he can immediately learn the messages sent by honest players. Thus, a malicious user i′, who is asked to propagate a message simultaneously with a honest user i, can always choose his own message m′ based on the message m actually propagated by i. This ability is related to rushing, in the parlance of distributed-computation literature.

Accordingly, in this section, we introduce a new BA protocol, BA⋆, for SC networks and ignoring the issue of player replaceability altogether. The protocol BA⋆is a contribution of separate value. Indeed, it is the most efficient cryptographic BA protocol for SC networks known so far. To use it within our Algorand protocol, we modify BA⋆a bit, so as to account for our different communication model and context, but make sure, in section X, to highlight how BA⋆is used within our actual protocol Algorand ′. We start by recalling the model in which BA⋆operates and the notion of a Byzantine agreement. 3.1 Synchronous Complete Networks and Matching Adversaries In a SC network, there is a common clock, ticking at each integral times r = 1, 2, . . . At each even time click r, each player i instantaneously and simultaneously sends a single message mr i,j (possibly the empty message) to each player j, including himself. Each mr i,j is received at time click r + 1 by player j, together with the identity of the sender i. Again, in a communication protocol, a player is honest if he follows all his prescribed instructions, and malicious otherwise. All malicious players are totally controlled and perfectly coordinated by the Adversary, who, in particular, immediately receives all messages addressed to malicious players, and chooses the messages they send. The Adversary can immediately make malicious any honest user he wants at any odd time click he wants, subject only to a possible upperbound t to the number of malicious players. That is, the Adversary “cannot interfere with the messages already sent by an honest user i”, which will be delivered as usual. The Adversary also has the additional ability to see instantaneously, at each even round, the messages that the currently honest players send, and instantaneously use this information to choose the messages the malicious players send at the same time tick. Remarks • Adversary Power. The above setting is very adversarial. Indeed, in the Byzantine agreement literature, many settings are less adversarial. However, some more adversarial settings have also been considered, where the Adversary, after seeing the messages sent by an honest player i at a given time click r, has the ability to erase all these messages from the network, immediately corrupt i, choose the message that the now malicious i sends at time click r, and have them delivered as usual. The envisaged power of the Adversary matches that he has in our setting. • Physical Abstraction. The envisaged communication model abstracts a more physical model, in which each pair of players (i, j) is linked by a separate and private communication line li,j. That is, no one else can inject, interfere with, or gain information about the messages sent over li,j. The only way for the Adversary to have access to li,j is to corrupt either i or j. • Privacy and Authentication. In SC networks message privacy and authentication are guaranteed by assumption. By contrast, in our communication network, where messages are propagated from peer to peer, authentication is guaranteed by digital signatures, and privacy is non-existent. Thus, to adopt protocol BA⋆to our setting, each message exchanged should be digitally signed (further identifying the state at which it was sent). Fortunately, the BA protocols that we consider using in Algorand do not require message privacy.

3.2 The Notion of a Byzantine Agreement The notion of Byzantine agreement was introduced by Pease Shostak and Lamport [31] for the binary case, that is, when every initial value consists of a bit. However, it was quickly extended to arbitrary initial values. (See the surveys of Fischer [16] and Chor and Dwork [10].) By a BA protocol, we mean an arbitrary-value one. Definition 3.1. In a synchronous network, let \(P\) be a \(n\)-player protocol, whose player set is common knowledge among the players, \(t\) a positive integer such that \(n \geq 2t + 1\). We say that \(P\) is an arbitrary-value (respectively, binary) \((n, t)\)-Byzantine agreement protocol with soundness \(\sigma \in (0, 1)\) if, for every set of values \(V\) not containing the special symbol \(\bot\) (respectively, for \(V = \{0, 1\}\)), in an execution in which at most \(t\) of the players are malicious and in which every player \(i\) starts with an initial value \(v_i \in V\), every honest player \(j\) halts with probability 1, outputting a value \(\text{out}_i \in V \cup \{\bot\}\) so as to satisfy, with probability at least \(\sigma\), the following two conditions: 1. Agreement: There exists \(\text{out} \in V \cup \{\bot\}\) such that \(\text{out}_i = \text{out}\) for all honest players \(i\). 2. Consistency: if, for some value \(v \in V\), \(v_i = v\) for all honest players, then \(\text{out} = v\). We refer to out as P’s output, and to each outi as player i’s output. 3.3 The BA Notation # In our BA protocols, a player is required to count how many players sent him a given message in a given step. Accordingly, for each possible value \(v\) that might be sent, \(\#_i^s(v)\) (or just \(\#_i(v)\) when \(s\) is clear) is the number of players \(j\) from which \(i\) has received \(v\) in step \(s\). Recalling that a player \(i\) receives exactly one message from each player \(j\), if the number of players is \(n\), then, for all \(i\) and \(s\), \(\sum_v \#_i^s(v) = n\). 3.4 The Binary BA Protocol BBA⋆ In this section we present a new binary BA protocol, BBA⋆, which relies on the honesty of more than two thirds of the players and is very fast: no matter what the malicious players might do, each execution of its main loop brings the players into agreement with probability 1/3. Each player has his own public key of a digital signature scheme satisfying the unique-signature property. Since this protocol is intended to be run on synchronous complete network, there is no need for a player i to sign each of his messages. Digital signatures are used to generate a sufficiently common random bit in Step 3. (In Algorand, digital signatures are used to authenticate all other messages as well.) The protocol requires a minimal set-up: a common random string r, independent of the players’ keys. (In Algorand, r is actually replaced by the quantity Qr.) Protocol BBA⋆is a 3-step loop, where the players repeatedly exchange Boolean values, and different players may exit this loop at different times. A player i exits this loop by propagating, at some step, either a special value 0∗or a special value 1∗, thereby instructing all players to “pretend” they respectively receive 0 and 1 from i in all future steps. (Alternatively said: assume

that the last message received by a player j from another player i was a bit b. Then, in any step in which he does not receive any message from i, j acts as if i sent him the bit b.) The protocol uses a counter \(\gamma\), representing how many times its 3-step loop has been executed. At the start of BBA⋆, \(\gamma = 0\). (One may think of \(\gamma\) as a global counter, but it is actually increased by each individual player every time that the loop is executed.) There are \(n \geq 3t + 1\), where \(t\) is the maximum possible number of malicious players. A binary string \(x\) is identified with the integer whose binary representation (with possible leadings 0s) is \(x\); and \(\text{lsb}(x)\) denotes the least significant bit of \(x\). Protocol BBA⋆ (Communication) Step 1. [Coin-Fixed-To-0 Step] Each player \(i\) sends \(b_i\). 1.1 If \(\#_i^1(0) \geq 2t + 1\), then \(i\) sets \(b_i = 0\), sends \(0^*\), outputs \(\text{out}_i = 0\), and HALTS. 1.2 If \(\#_i^1(1) \geq 2t + 1\), then \(i\) sets \(b_i = 1\). 1.3 Else, \(i\) sets \(b_i = 0\). (Communication) Step 2. [Coin-Fixed-To-1 Step] Each player \(i\) sends \(b_i\). 2.1 If \(\#_i^2(1) \geq 2t + 1\), then \(i\) sets \(b_i = 1\), sends \(1^*\), outputs \(\text{out}_i = 1\), and HALTS. 2.2 If \(\#_i^2(0) \geq 2t + 1\), then \(i\) sets \(b_i = 0\). 2.3 Else, \(i\) sets \(b_i = 1\). (Communication) Step 3. [Coin-Genuinely-Flipped Step] Each player \(i\) sends \(b_i\) and \(\text{SIG}_i(r, \gamma)\). 3.1 If \(\#_i^3(0) \geq 2t + 1\), then \(i\) sets \(b_i = 0\). 3.2 If \(\#_i^3(1) \geq 2t + 1\), then \(i\) sets \(b_i = 1\). 3.3 Else, letting \(S_i = \{j \in N \text{ who have sent } i \text{ a proper message in this step 3}\}\), \(i\) sets \(b_i = c \triangleq \text{lsb}(\min_{j \in S_i} H(\text{SIG}_i(r, \gamma)))\); increases \(\gamma_i\) by 1; and returns to Step 1. Theorem 3.1. Whenever \(n \geq 3t + 1\), BBA⋆ is a binary \((n, t)\)-BA protocol with soundness 1. A proof of Theorem 3.1 is given in [26]. Its adaptation to our setting, and its player-replaceability property are novel. Historical Remark Probabilistic binary BA protocols were first proposed by Ben-Or in asynchronous settings [7]. Protocol BBA⋆is a novel adaptation, to our public-key setting, of the binary BA protocol of Feldman and Micali [15]. Their protocol was the first to work in an expected constant number of steps. It worked by having the players themselves implement a common coin, a notion proposed by Rabin, who implemented it via an external trusted party [32].

3.5 Graded Consensus and the Protocol GC Let us recall, for arbitrary values, a notion of consensus much weaker than Byzantine agreement. Definition 3.2. Let P be a protocol in which the set of all players is common knowledge, and each player i privately knows an arbitrary initial value v′ i. We say that \(P\) is an \((n, t)\)-graded consensus protocol if, in every execution with \(n\) players, at most \(t\) of which are malicious, every honest player \(i\) halts outputting a value-grade pair \((v_i, g_i)\), where \(g_i \in \{0, 1, 2\}\), so as to satisfy the following three conditions: 1. For all honest players \(i\) and \(j\), \(|g_i - g_j| \leq 1\). 2. For all honest players \(i\) and \(j\), \(g_i, g_j > 0 \Rightarrow v_i = v_j\). 3. If \(v'_1 = \cdots = v'_n = v\) for some value \(v\), then \(v_i = v\) and \(g_i = 2\) for all honest players \(i\). Historical Note The notion of a graded consensus is simply derived from that of a graded broadcast, put forward by Feldman and Micali in [15], by strengthening the notion of a crusader agreement, as introduced by Dolev [12], and refined by Turpin and Coan [33].8 In [15], the authors also provided a 3-step (n, t)-graded broadcasting protocol, gradecast, for \(n \geq 3t + 1\). A more complex \((n, t)\)-graded-broadcasting protocol for \(n > 2t + 1\) has later been found by Katz and Koo [19]. The following two-step protocol GC consists of the last two steps of gradecast, expressed in our notation. To emphasize this fact, and to match the steps of protocol Algorand ′ of section 4.1, we respectively name 2 and 3 the steps of GC. Protocol GC Step 2. Each player i sends v′ i to all players. Step 3. Each player \(i\) sends to all players the string \(x\) if and only if \(\#_i^2(x) \geq 2t + 1\). Output Determination. Each player \(i\) outputs the pair \((v_i, g_i)\) computed as follows: • If, for some \(x\), \(\#_i^3(x) \geq 2t + 1\), then \(v_i = x\) and \(g_i = 2\). • If, for some \(x\), \(\#_i^3(x) \geq t + 1\), then \(v_i = x\) and \(g_i = 1\). • Else, \(v_i = \bot\) and \(g_i = 0\). Theorem 3.2. If \(n \geq 3t + 1\), then GC is a \((n, t)\)-graded broadcast protocol. The proof immediately follows from that of the protocol gradecast in [15], and is thus omitted.9 8In essence, in a graded-broadcasting protocol, (a) the input of every player is the identity of a distinguished player, the sender, who has an arbitrary value v as an additional private input, and (b) the outputs must satisfy the same properties 1 and 2 of graded consensus, plus the following property 3′: if the sender is honest, then vi = v and gi = 2 for all honest player i. 9Indeed, in their protocol, in step 1, the sender sends his own private value v to all players, and each player i lets v′ i consist of the value he has actually received from the sender in step 1.

3.6 The Protocol BA⋆ We now describe the arbitrary-value BA protocol BA⋆via the binary BA protocol BBA⋆and the graded-consensus protocol GC. Below, the initial value of each player i is v′ i. Protocol BA⋆ Steps 1 and 2. Each player i executes GC, on input v′ i, so as to compute a pair (vi, gi). Step 3, . . . Each player i executes BBA⋆—with initial input 0, if gi = 2, and 1 otherwise— so as to compute the bit outi. Output Determination. Each player \(i\) outputs \(v_i\), if \(\text{out}_i = 0\), and \(\bot\) otherwise. Theorem 3.3. Whenever \(n \geq 3t + 1\), BA⋆ is a \((n, t)\)-BA protocol with soundness 1. Proof. We first prove Consistency, and then Agreement. Proof of Consistency. Assume that, for some value \(v \in V\), \(v'\) i = v. Then, by property 3 of graded consensus, after the execution of GC, all honest players output (v, 2). Accordingly, 0 is the initial bit of all honest players in the end of the execution of BBA⋆. Thus, by the Agreement property of binary Byzantine agreement, at the end of the execution of BA⋆, outi = 0 for all honest players. This implies that the output of each honest player i in BA⋆is vi = v. ✷ Proof of Agreement. Since BBA⋆is a binary BA protocol, either (A) outi = 1 for all honest player i, or (B) outi = 0 for all honest player i. In case A, all honest players output \(\bot\) in BA⋆, and thus Agreement holds. Consider now case B. In this case, in the execution of BBA⋆, the initial bit of at least one honest player i is 0. (Indeed, if initial bit of all honest players were 1, then, by the Consistency property of BBA⋆, we would have outj = 1 for all honest j.) Accordingly, after the execution of GC, i outputs the pair (v, 2) for some value v. Thus, by property 1 of graded consensus, gj > 0 for all honest players j. Accordingly, by property 2 of graded consensus, vj = v for all honest players j. This implies that, at the end of BA⋆, every honest player j outputs v. Thus, Agreement holds also in case B. ✷ Since both Consistency and Agreement hold, BA⋆is an arbitrary-value BA protocol. Historical Note Turpin and Coan were the first to show that, for \(n \geq 3t + 1\), any binary \((n, t)\)-BA protocol can be converted to an arbitrary-value (n, t)-BA protocol. The reduction arbitrary-value Byzantine agreement to binary Byzantine agreement via graded consensus is more modular and cleaner, and simplifies the analysis of our Algorand protocol Algorand ′. Generalizing BA⋆for use in Algorand Algorand works even when all communication is via gossiping. However, although presented in a traditional and familiar communication network, so as to enable a better comparison with the prior art and an easier understanding, protocol BA⋆works also in gossiping networks. In fact, in our detailed embodiments of Algorand, we shall present it directly for gossiping networks. We shall also point out that it satisfies the player replaceability property that is crucial for Algorand to be secure in the envisaged very adversarial model.

Any BA player-replaceable protocol working in a gossiping communication network can be securely employed within the inventive Algorand system. In particular, Micali and Vaikunthanatan have extended BA⋆to work very efficiently also with a simple majority of honest players. That protocol too could be used in Algorand.

पारंपरिक सेटिंग में बीए प्रोटोकॉल बीए⋆

जैसा कि पहले ही जोर दिया गया है, बीजान्टिन समझौता Algorand का एक प्रमुख घटक है। सचमुच, यह हो चुका है ऐसे BA प्रोटोकॉल का उपयोग जिससे Algorand फोर्क्स द्वारा अप्रभावित रहे। हालाँकि, हमारे विरुद्ध सुरक्षित रहने के लिए शक्तिशाली प्रतिद्वंद्वी, Algorand को BA प्रोटोकॉल पर भरोसा करना चाहिए जो नए खिलाड़ी-प्रतिस्थापन को संतुष्ट करता है बाधा. इसके अलावा, Algorand के कुशल होने के लिए, ऐसा BA प्रोटोकॉल बहुत कुशल होना चाहिए। बीए प्रोटोकॉल को सबसे पहले एक आदर्श संचार मॉडल, समकालिक पूर्णता के लिए परिभाषित किया गया था नेटवर्क (एससी नेटवर्क)। ऐसा मॉडल बीए प्रोटोकॉल के सरल डिजाइन और विश्लेषण की अनुमति देता है। 6 ईमानदार प्रतिशत एच और स्वीकार्य विफलता संभावना एफ को देखते हुए, Algorand ऊपरी सीमा, एन की गणना करता है, एक चरण में सत्यापनकर्ताओं की अधिकतम संख्या तक। इस प्रकार, एमपी धारणा को केवल n \(\leq\)N के लिए बनाए रखने की आवश्यकता है। इसके अलावा, जैसा कि कहा गया है, एमपी की धारणा यह मायने नहीं रखती कि इसके साथ कितने अन्य संदेश भी प्रचारित किए जा सकते हैं एम.जे. हालाँकि, जैसा कि हम देखेंगे, Algorand में संदेशों को अनिवार्य रूप से गैर-अतिव्यापी समय में प्रचारित किया जाता है अंतराल, जिसके दौरान या तो एक एकल ब्लॉक का प्रचार किया जाता है, या अधिकतम एन सत्यापनकर्ता एक छोटे से प्रचारित करते हैं (उदाहरण के लिए, 200बी) संदेश. इस प्रकार, हम एमपी धारणा को कमजोर, लेकिन अधिक जटिल तरीके से दोहरा सकते हैं। 7उदाहरण के लिए, वह ईमानदार खिलाड़ियों द्वारा भेजे गए संदेशों को तुरंत जान सकता है। इस प्रकार, एक दुर्भावनापूर्ण उपयोगकर्ता i', जो है एक ईमानदार उपयोगकर्ता के साथ एक संदेश को एक साथ प्रचारित करने के लिए कहा गया, मैं हमेशा उसके आधार पर अपना संदेश चुन सकता हूं संदेश m वास्तव में i द्वारा प्रचारित किया गया है। वितरित-गणना की भाषा में, यह क्षमता शीघ्रता से संबंधित है साहित्य.तदनुसार, इस खंड में, हम एससी नेटवर्क और अनदेखी के लिए एक नया बीए प्रोटोकॉल, बीए⋆ पेश करते हैं खिलाड़ी प्रतिस्थापनीयता का मुद्दा पूरी तरह से। प्रोटोकॉल BA⋆ अलग मूल्य का योगदान है। वास्तव में, यह SC नेटवर्क के लिए अब तक ज्ञात सबसे कुशल क्रिप्टोग्राफ़िक BA प्रोटोकॉल है। हमारे Algorand प्रोटोकॉल के भीतर इसका उपयोग करने के लिए, हम BA⋆a बिट को संशोधित करते हैं, ताकि हमारे अलग-अलग को ध्यान में रखा जा सके संचार मॉडल और संदर्भ, लेकिन सुनिश्चित करें कि, अनुभाग X में, BA⋆ का उपयोग कैसे किया जाता है, इस पर प्रकाश डाला जाए हमारे वास्तविक प्रोटोकॉल Algorand के भीतर। हम उस मॉडल को याद करके शुरू करते हैं जिसमें BA⋆संचालित होता है और बीजान्टिन समझौते की धारणा। 3.1 सिंक्रोनस कम्प्लीट नेटवर्क और मैचिंग एडवर्सरीज SC नेटवर्क में, एक सामान्य घड़ी होती है, जो प्रत्येक अभिन्न समय r = 1, 2, पर टिक करती है। . . प्रत्येक सम समय पर आर क्लिक करें, प्रत्येक खिलाड़ी तुरंत और साथ ही एक सिंगल भेजता है संदेश श्रीमान i,j (संभवतः खाली संदेश) प्रत्येक खिलाड़ी j को, जिसमें स्वयं भी शामिल है। प्रत्येक श्रीमान i,j प्राप्त हो गया है समय पर प्रेषक i की पहचान के साथ खिलाड़ी j द्वारा r + 1 पर क्लिक करें। फिर, एक संचार प्रोटोकॉल में, एक खिलाड़ी ईमानदार होता है यदि वह अपने सभी निर्धारित नियमों का पालन करता है निर्देश, और अन्यथा दुर्भावनापूर्ण। सभी दुर्भावनापूर्ण खिलाड़ी पूरी तरह से नियंत्रित और परिपूर्ण हैं विरोधी द्वारा समन्वित, जो, विशेष रूप से, संबोधित सभी संदेशों को तुरंत प्राप्त करता है दुर्भावनापूर्ण खिलाड़ी, और उनके द्वारा भेजे गए संदेशों को चुनते हैं। विरोधी किसी भी ईमानदार उपयोगकर्ता को किसी भी विषम समय में तुरंत क्लिक करके दुर्भावनापूर्ण बना सकता है वह चाहता है, केवल दुर्भावनापूर्ण खिलाड़ियों की संख्या में संभावित ऊपरी सीमा के अधीन। अर्थात्, विरोधी "एक ईमानदार उपयोगकर्ता द्वारा पहले से भेजे गए संदेशों में हस्तक्षेप नहीं कर सकता", जो होगा हमेशा की तरह वितरित किया गया। प्रतिद्वंद्वी के पास प्रत्येक सम दौर में तुरंत देखने की अतिरिक्त क्षमता भी होती है संदेश जो वर्तमान में ईमानदार खिलाड़ी भेजते हैं, और चुनने के लिए तुरंत इस जानकारी का उपयोग करते हैं दुर्भावनापूर्ण खिलाड़ी एक ही समय में जो संदेश भेजते हैं, वे टिक जाते हैं। टिप्पणियाँ • विरोधी शक्ति. उपरोक्त सेटिंग बहुत प्रतिकूल है. दरअसल, बीजान्टिन समझौते में साहित्य में, कई सेटिंग्स कम प्रतिकूल हैं। हालाँकि, कुछ और प्रतिकूल सेटिंग्स हैं इस पर भी विचार किया गया, जहां प्रतिद्वंद्वी, एक ईमानदार खिलाड़ी द्वारा भेजे गए संदेशों को देखने के बाद किसी निश्चित समय पर क्लिक आर, नेटवर्क से इन सभी संदेशों को तुरंत मिटाने की क्षमता रखता है भ्रष्ट i, वह संदेश चुनें जो अब दुर्भावनापूर्ण i समय पर भेजता है, r पर क्लिक करें, और उन्हें प्राप्त करें हमेशा की तरह वितरित किया गया। प्रतिद्वंद्वी की परिकल्पित शक्ति हमारी सेटिंग में उसके पास मौजूद शक्ति से मेल खाती है। • शारीरिक अमूर्तन. परिकल्पित संचार मॉडल एक अधिक भौतिक मॉडल का सार प्रस्तुत करता है, जिसमें खिलाड़ियों की प्रत्येक जोड़ी (i, j) एक अलग और निजी संचार लाइन li,j से जुड़ी हुई है। अर्थात्, कोई भी अन्य व्यक्ति भेजे गए संदेशों के बारे में जानकारी नहीं डाल सकता, हस्तक्षेप नहीं कर सकता या जानकारी हासिल नहीं कर सकता ली, जे. प्रतिद्वंद्वी के लिए li,j तक पहुंच पाने का एकमात्र तरीका i या j को भ्रष्ट करना है। • गोपनीयता और प्रमाणीकरण. SC नेटवर्क में संदेश गोपनीयता और प्रमाणीकरण की गारंटी होती है अनुमान से. इसके विपरीत, हमारे संचार नेटवर्क में, जहां संदेशों का प्रचार-प्रसार किया जाता है सहकर्मी से सहकर्मी तक, डिजिटल हस्ताक्षर द्वारा प्रमाणीकरण की गारंटी दी जाती है, और गोपनीयता अस्तित्वहीन है। इस प्रकार, हमारी सेटिंग में प्रोटोकॉल BA⋆ को अपनाने के लिए, आदान-प्रदान किए गए प्रत्येक संदेश को डिजिटल रूप से हस्ताक्षरित किया जाना चाहिए (आगे उस राज्य की पहचान करना जहां इसे भेजा गया था)। सौभाग्य से, बीए प्रोटोकॉल जो हम Algorand में उपयोग करने पर विचार करें, संदेश गोपनीयता की आवश्यकता नहीं है।3.2 बीजान्टिन समझौते की धारणा बीजान्टिन समझौते की धारणा पीज़ शोस्ताक और लामपोर्ट [31] द्वारा प्रस्तुत की गई थी बाइनरी केस, यानी, जब प्रत्येक प्रारंभिक मान में एक बिट होता है। हालाँकि, इसे तुरंत बढ़ा दिया गया मनमाने प्रारंभिक मूल्यों के लिए। (फिशर [16] और चोर और डवर्क [10] के सर्वेक्षण देखें।) एक बीए द्वारा प्रोटोकॉल, हमारा मतलब एक मनमाना-मूल्य वाला है। परिभाषा 3.1. एक सिंक्रोनस नेटवर्क में, मान लीजिए कि P एक एन-प्लेयर प्रोटोकॉल है, जिसका प्लेयर सेट सामान्य है खिलाड़ियों के बीच ज्ञान, t एक धनात्मक पूर्णांक जैसे कि n \(\geq\)2t + 1। हम कहते हैं कि P एक है मनमाना-मूल्य (क्रमशः, बाइनरी) (एन, टी)-सुदृढ़ता के साथ बीजान्टिन समझौता प्रोटोकॉल \(\sigma\) \(\in\)(0, 1) यदि, मानों के प्रत्येक सेट के लिए V में विशेष प्रतीक \(\bot\) नहीं है (क्रमशः, V = {0, 1} के लिए), एक में निष्पादन जिसमें अधिकांश खिलाड़ी दुर्भावनापूर्ण होते हैं और जिसमें प्रत्येक खिलाड़ी की शुरुआत एक से होती है प्रारंभिक मूल्य vi \(\in\)V , प्रत्येक ईमानदार खिलाड़ी j संभाव्यता 1 के साथ रुकता है, एक मान आउटपुट करता है \(\in\)V \(\cup\){\(\bot\)} ताकि, कम से कम \(\sigma\) संभावना के साथ, निम्नलिखित दो शर्तों को पूरा किया जा सके: 1. समझौता: \(\in\)V \(\cup\){\(\bot\)} इस प्रकार मौजूद है कि सभी ईमानदार खिलाड़ियों के लिए आउटआई = आउट है। 2. संगति: यदि, किसी मान v \(\in\)V के लिए, सभी ईमानदार खिलाड़ियों के लिए vi = v, तो आउट = v। हम आउट को पी के आउटपुट के रूप में संदर्भित करते हैं, और प्रत्येक आउट को प्लेयर आई के आउटपुट के रूप में संदर्भित करते हैं। 3.3 बीए नोटेशन # हमारे बीए प्रोटोकॉल में, एक खिलाड़ी को यह गिनना आवश्यक है कि कितने खिलाड़ियों ने उसे दिया गया संदेश भेजा है एक दिया गया कदम. तदनुसार, भेजे जा सकने वाले प्रत्येक संभावित मान v के लिए,

एस

मैं(v) (या सिर्फ #i(v) जब s स्पष्ट है) खिलाड़ियों j की संख्या है जिनसे मुझे चरण s में v प्राप्त हुआ है। याद दिला दें कि एक खिलाड़ी i को प्रत्येक खिलाड़ी j से ठीक एक संदेश प्राप्त होता है, यदि की संख्या प्लेयर्स n है, तो, सभी i और s के लिए, P वी #एस मैं(v) = एन. 3.4 बाइनरी बीए प्रोटोकॉल बीबीए⋆ इस अनुभाग में हम एक नया बाइनरी बीए प्रोटोकॉल, बीबीए⋆ प्रस्तुत करते हैं, जो अधिक की ईमानदारी पर निर्भर करता है दो-तिहाई खिलाड़ियों से अधिक और यह बहुत तेज़ है: चाहे दुर्भावनापूर्ण खिलाड़ी कुछ भी करें, इसके मुख्य लूप का प्रत्येक निष्पादन खिलाड़ियों को प्रायिकता 1/3 के साथ सहमति में लाता है। प्रत्येक खिलाड़ी के पास अद्वितीय हस्ताक्षर को संतुष्ट करने वाली डिजिटल हस्ताक्षर योजना की अपनी सार्वजनिक कुंजी होती है संपत्ति. चूंकि इस प्रोटोकॉल का उद्देश्य सिंक्रोनस पूर्ण नेटवर्क पर चलना है, इसलिए ऐसा नहीं है मुझे एक खिलाड़ी की आवश्यकता है जो उसके प्रत्येक संदेश पर हस्ताक्षर करे। चरण 3 में पर्याप्त रूप से सामान्य यादृच्छिक बिट उत्पन्न करने के लिए डिजिटल हस्ताक्षर का उपयोग किया जाता है। (Algorand में, डिजिटल हस्ताक्षर का उपयोग अन्य सभी संदेशों को प्रमाणित करने के लिए भी किया जाता है।) प्रोटोकॉल के लिए न्यूनतम सेट-अप की आवश्यकता होती है: एक सामान्य यादृच्छिक स्ट्रिंग आर, खिलाड़ियों से स्वतंत्र चाबियाँ. (Algorand में, r को वास्तव में मात्रा Qr द्वारा प्रतिस्थापित किया जाता है।) प्रोटोकॉल बीबीए⋆ एक 3-चरणीय लूप है, जहां खिलाड़ी बार-बार बूलियन मानों का आदान-प्रदान करते हैं, और अलग-अलग खिलाड़ी अलग-अलग समय पर इस लूप से बाहर निकल सकते हैं। एक खिलाड़ी जो प्रचारित करके इस लूप से बाहर निकलता है, कुछ कदम पर, या तो एक विशेष मान 0∗या एक विशेष मान 1∗, जिससे सभी खिलाड़ियों को निर्देश दिया जाता है "दिखावा करें" वे भविष्य के सभी चरणों में i से क्रमशः 0 और 1 प्राप्त करते हैं। (वैकल्पिक रूप से कहा गया: मान लीजिएकि एक खिलाड़ी जे को दूसरे खिलाड़ी से प्राप्त अंतिम संदेश थोड़ा बी था। फिर, किसी भी चरण में जिसमें उसे i से कोई संदेश प्राप्त नहीं होता है, j ऐसा व्यवहार करता है मानो मैंने उसे बिट b भेजा हो।) प्रोटोकॉल एक काउंटर \(\gamma\) का उपयोग करता है, जो दर्शाता है कि इसके 3-चरणीय लूप को कितनी बार निष्पादित किया गया है। BBA⋆ की शुरुआत में, \(\gamma\) = 0. (कोई \(\gamma\) को एक वैश्विक काउंटर के रूप में सोच सकता है, लेकिन यह वास्तव में बढ़ा हुआ है प्रत्येक व्यक्तिगत खिलाड़ी द्वारा हर बार जब लूप निष्पादित होता है।) वहाँ n \(\geq\)3t + 1 है, जहाँ t दुर्भावनापूर्ण खिलाड़ियों की अधिकतम संभव संख्या है। एक बाइनरी स्ट्रिंग x की पहचान उस पूर्णांक से की जाती है जिसका द्विआधारी प्रतिनिधित्व (संभावित अग्रणी 0s के साथ) x है; और lsb(x) x के सबसे कम महत्वपूर्ण बिट को दर्शाता है। प्रोटोकॉल बीबीए⋆ (संचार) चरण 1. [सिक्का-निर्धारित-टू-0 चरण] प्रत्येक खिलाड़ी को मैं द्वि भेजता हूं। 1.1 यदि #1 i (0) \(\geq\)2t + 1, फिर मैं bi = 0 सेट करता हूं, 0∗ भेजता हूं, आउटपुट आउटपुट = 0, और रुक जाता है. 1.2 यदि #1 i (1) \(\geq\)2t + 1, तब, फिर मैं bi = 1 सेट करता हूं। 1.3 अन्यथा, मैं bi = 0 सेट करता हूँ। (संचार) चरण 2. [सिक्का-निर्धारित-से-1 चरण] प्रत्येक खिलाड़ी को मैं द्वि भेजता हूं। 2.1 यदि #2 i (1) \(\geq\)2t + 1, तो मैं bi = 1 सेट करता हूं, 1∗ भेजता है, आउटपुट आउटआई = 1, और रुक जाता है. 2.2 यदि #2 i (0) \(\geq\)2t + 1, फिर मैंने bi = 0 सेट किया। 2.3 अन्यथा, मैं द्वि = 1 सेट करता हूँ। (संचार) चरण 3. [सिक्का-वास्तविक-फ़्लिप्ड चरण] प्रत्येक खिलाड़ी को मैं bi और SIGi(r, \(\gamma\)) भेजता हूं। 3.1 यदि #3 i (0) \(\geq\)2t + 1, तो मैं bi = 0 सेट करता हूं। 3.2 यदि #3 i (1) \(\geq\)2t + 1, तो मैं bi = 1 सेट करता हूं। 3.3 अन्यथा, Si = {j \(\in\)N जिन्होंने मुझे इस चरण 3 में एक उचित संदेश भेजा है, देते हुए, मैं bi = c \(\triangleq\)lsb(minj\(\in\)Si H(SIGi(r, \(\gamma\)))) सेट करता हूं; \(\gamma\)i को 1 से बढ़ाता है; और चरण 1 पर वापस आता है। प्रमेय 3.1. जब भी n \(\geq\)3t + 1, BBA⋆ सुदृढ़ता 1 के साथ एक बाइनरी (n, t)-BA प्रोटोकॉल है। प्रमेय 3.1 का प्रमाण [26] में दिया गया है। यह हमारी सेटिंग के अनुरूप है, और इसकी प्लेयर-प्रतिस्थापनीयता संपत्ति नवीन हैं. ऐतिहासिक टिप्पणी संभाव्य बाइनरी बीए प्रोटोकॉल सबसे पहले बेन-ऑर द्वारा प्रस्तावित किए गए थे अतुल्यकालिक सेटिंग्स [7]। प्रोटोकॉल बीबीए⋆ हमारी सार्वजनिक-कुंजी सेटिंग का एक नया अनुकूलन है फेल्डमैन और मिकाली का बाइनरी बीए प्रोटोकॉल [15]। उनका प्रोटोकॉल अपेक्षित तरीके से काम करने वाला पहला था चरणों की निरंतर संख्या. इसने खिलाड़ियों को स्वयं एक सामान्य सिक्का लागू करने के द्वारा काम किया, राबिन द्वारा प्रस्तावित एक धारणा, जिसने इसे एक बाहरी विश्वसनीय पार्टी [32] के माध्यम से लागू किया।3.5 श्रेणीबद्ध आम सहमति और प्रोटोकॉल जीसी आइए, मनमाने मूल्यों के लिए, बीजान्टिन समझौते की तुलना में आम सहमति की धारणा को बहुत कमजोर याद रखें। परिभाषा 3.2. मान लीजिए कि P एक प्रोटोकॉल है जिसमें सभी खिलाड़ियों का सेट सामान्य ज्ञान है, और प्रत्येक प्लेयर I निजी तौर पर एक मनमाना प्रारंभिक मान v' जानता है मैं. हम कहते हैं कि P एक (n, t)-ग्रेडेड सर्वसम्मति प्रोटोकॉल है, यदि, n खिलाड़ियों के साथ प्रत्येक निष्पादन में जिनमें से अधिकांश दुर्भावनापूर्ण हैं, प्रत्येक ईमानदार खिलाड़ी एक मूल्य-ग्रेड जोड़ी (vi, gi) का आउटपुट रोक देता है, जहां gi \(\in\){0, 1, 2}, ताकि निम्नलिखित तीन शर्तों को पूरा किया जा सके: 1. सभी ईमानदार खिलाड़ियों के लिए i और j, |gi −gj| \(\leq\)1. 2. सभी ईमानदार खिलाड़ियों के लिए i और j, gi, gj > 0 ⇒vi = vj. 3. यदि v' 1 = \(\cdots\) = वी' कुछ मान v के लिए n = v, फिर सभी ईमानदार खिलाड़ियों के लिए vi = v और gi = 2। ऐतिहासिक नोट श्रेणीबद्ध सर्वसम्मति की धारणा केवल श्रेणीबद्ध सर्वसम्मति से ली गई है प्रसारण, फेल्डमैन और मिकाली द्वारा [15] में एक क्रूसेडर की धारणा को मजबूत करके प्रस्तुत किया गया समझौता, जैसा कि डोलेव [12] द्वारा प्रस्तुत किया गया था, और टर्पिन और कोआन [33].8 द्वारा परिष्कृत किया गया था [15] में, लेखकों ने 3-चरण (एन, टी)-ग्रेडेड प्रसारण प्रोटोकॉल, ग्रेडकास्ट भी प्रदान किया है n \(\geq\)3t+1. n > 2t+1 के लिए एक अधिक जटिल (n, t)-ग्रेडेड-ब्रॉडकास्टिंग प्रोटोकॉल बाद में पाया गया है काट्ज़ और कू द्वारा [19]। निम्नलिखित दो-चरणीय प्रोटोकॉल GC में ग्रेडकास्ट के अंतिम दो चरण शामिल हैं, जो हमारे में व्यक्त किए गए हैं अंकन. इस तथ्य पर जोर देने के लिए, और अनुभाग 4.1 के प्रोटोकॉल Algorand ′ के चरणों का मिलान करने के लिए, हम GC के क्रमशः 2 और 3 चरणों के नाम बताइए। प्रोटोकॉल जीसी चरण 2. प्रत्येक खिलाड़ी को मैं v′ भेजता हूं मैं सभी खिलाड़ियों को. चरण 3. प्रत्येक खिलाड़ी मैं सभी खिलाड़ियों को स्ट्रिंग x भेजता हूं यदि और केवल यदि #2 मैं (x) \(\geq\)2t + 1. आउटपुट निर्धारण. प्रत्येक खिलाड़ी जोड़ी (vi, gi) को निम्नानुसार आउटपुट करता है: • यदि, कुछ x के लिए, #3 i (x) \(\geq\)2t + 1, फिर vi = x और gi = 2. • यदि, कुछ x के लिए, #3 i (x) \(\geq\)t + 1, फिर vi = x और gi = 1. • अन्यथा, vi = \(\bot\)और gi = 0. प्रमेय 3.2. यदि n \(\geq\)3t + 1 है, तो GC एक (n, t)-ग्रेडेड प्रसारण प्रोटोकॉल है। प्रमाण तुरंत [15] में प्रोटोकॉल ग्रेडकास्ट से मिलता है, और इस प्रकार छोड़ दिया जाता है।9 8 संक्षेप में, एक श्रेणीबद्ध-प्रसारण प्रोटोकॉल में, (ए) प्रत्येक खिलाड़ी का इनपुट एक विशिष्ट की पहचान है प्लेयर, प्रेषक, जिसके पास अतिरिक्त निजी इनपुट के रूप में एक मनमाना मान v है, और (बी) आउटपुट को संतुष्ट करना होगा श्रेणीबद्ध सर्वसम्मति के समान गुण 1 और 2, साथ ही निम्नलिखित गुण 3′: यदि प्रेषक ईमानदार है, तो vi = v और सभी ईमानदार खिलाड़ियों के लिए जीआई = 2। 9दरअसल, उनके प्रोटोकॉल में, चरण 1 में, प्रेषक सभी खिलाड़ियों को अपना निजी मूल्य v भेजता है, और प्रत्येक खिलाड़ी को मैं देता हूं वी′ इसमें वह मूल्य शामिल है जो उसने वास्तव में चरण 1 में प्रेषक से प्राप्त किया है।3.6 प्रोटोकॉल BA⋆ अब हम बाइनरी बीए प्रोटोकॉल बीबीए⋆और के माध्यम से मनमाने मूल्य वाले बीए प्रोटोकॉल बीए⋆ का वर्णन करते हैं ग्रेडेड-सर्वसम्मति प्रोटोकॉल जीसी। नीचे, प्रत्येक खिलाड़ी का प्रारंभिक मान i है v′ मैं. प्रोटोकॉल BA⋆ चरण 1 और 2। प्रत्येक खिलाड़ी इनपुट v′ पर GC निष्पादित करता है मैं, ताकि एक जोड़ी (vi, gi) की गणना की जा सके। चरण 3, . . . प्रत्येक खिलाड़ी I BBA⋆ निष्पादित करता है - प्रारंभिक इनपुट 0 के साथ, यदि gi = 2, और 1 अन्यथा - तो बिट आउटी की गणना करने के लिए। आउटपुट निर्धारण. प्रत्येक खिलाड़ी i आउटपुट vi देता है, यदि आउटआई = 0 है, और \(\bot\)अन्यथा। प्रमेय 3.3. जब भी n \(\geq\)3t + 1, BA⋆ एक (n, t)-BA प्रोटोकॉल है जिसमें सुदृढ़ता 1 है। सबूत. हम पहले संगति साबित करते हैं, और फिर सहमति। संगति का प्रमाण. मान लें कि, किसी मान v \(\in\)V , v′ के लिए मैं = वी. फिर, संपत्ति 3 से श्रेणीबद्ध सर्वसम्मति, जीसी के निष्पादन के बाद, सभी ईमानदार खिलाड़ी आउटपुट (v, 2)। तदनुसार, 0 है बीबीए⋆ के निष्पादन के अंत में सभी ईमानदार खिलाड़ियों का प्रारंभिक बिट। इस प्रकार, समझौते द्वारा बाइनरी बीजान्टिन समझौते की संपत्ति, BA⋆ के निष्पादन के अंत में, सभी ईमानदारों के लिए आउटआई = 0 खिलाड़ी. इसका तात्पर्य यह है कि BA⋆ में प्रत्येक ईमानदार खिलाड़ी i का आउटपुट vi = v है। ✷ समझौते का प्रमाण. चूँकि BBA⋆ एक बाइनरी BA प्रोटोकॉल है (ए) सभी ईमानदार खिलाड़ियों के लिए आउटआई = 1, या (बी) सभी ईमानदार खिलाड़ियों के लिए आउटआई = 0। मामले A में, सभी ईमानदार खिलाड़ी BA⋆ में आउटपुट देते हैं, और इस प्रकार समझौता कायम रहता है। अब केस बी पर विचार करें इस मामले में, BBA⋆ के निष्पादन में, कम से कम एक ईमानदार खिलाड़ी i का प्रारंभिक बिट 0 है। (वास्तव में, यदि सभी ईमानदार खिलाड़ियों की प्रारंभिक बिट 1 थी, फिर, बीबीए⋆ की संगति संपत्ति द्वारा, हमारे पास होगा सभी ईमानदार जे के लिए आउटजे = 1।) तदनुसार, जीसी के निष्पादन के बाद, मैं कुछ के लिए जोड़ी (v, 2) आउटपुट करता हूं मूल्य v. इस प्रकार, श्रेणीबद्ध सर्वसम्मति की संपत्ति 1 के अनुसार, सभी ईमानदार खिलाड़ियों के लिए gj > 0। तदनुसार, द्वारा श्रेणीबद्ध सर्वसम्मति की संपत्ति 2, सभी ईमानदार खिलाड़ियों के लिए वीजे = वी। इसका तात्पर्य यह है कि, के अंत में BA⋆, प्रत्येक ईमानदार खिलाड़ी j आउटपुट v देता है। इस प्रकार, समझौता B के मामले में भी लागू होता है। ✷ चूँकि संगति और सहमति दोनों मान्य हैं, BA⋆ एक मनमाना-मूल्य वाला BA प्रोटोकॉल है। ऐतिहासिक नोट टर्पिन और कोआन यह दिखाने वाले पहले व्यक्ति थे कि, n \(\geq\)3t+1 के लिए, कोई भी बाइनरी (n, t)-BA प्रोटोकॉल को मनमाना-मूल्य (एन, टी)-बीए प्रोटोकॉल में परिवर्तित किया जा सकता है। कमी मनमाना-मूल्य श्रेणीबद्ध सर्वसम्मति के माध्यम से बाइनरी बीजान्टिन समझौते के लिए बीजान्टिन समझौता अधिक मॉड्यूलर और है क्लीनर, और हमारे Algorand प्रोटोकॉल Algorand 'के विश्लेषण को सरल बनाता है। Algorand में उपयोग के लिए BA⋆ को सामान्यीकृत करना Algorand सभी संचार माध्यम से होने पर भी काम करता है गपशप करना. हालाँकि, हालाँकि इसे एक पारंपरिक और परिचित संचार नेटवर्क में प्रस्तुत किया गया है पिछली कला के साथ बेहतर तुलना और आसान समझ को सक्षम करने के लिए, प्रोटोकॉल BA⋆काम करता है गपशप नेटवर्क में भी. वास्तव में, Algorand के हमारे विस्तृत अवतार में, हम इसे प्रस्तुत करेंगे सीधे गपशप नेटवर्क के लिए। हम यह भी इंगित करेंगे कि यह खिलाड़ी की प्रतिस्थापनीयता को संतुष्ट करता है वह संपत्ति जो Algorand के लिए परिकल्पित अत्यंत प्रतिकूल मॉडल में सुरक्षित होना महत्वपूर्ण है।

गपशप संचार नेटवर्क में काम करने वाला कोई भी बीए प्लेयर-प्रतिस्थापन योग्य प्रोटोकॉल हो सकता है आविष्कारी Algorand प्रणाली में सुरक्षित रूप से नियोजित। विशेष रूप से, मिकाली और वैकुंठतनन ईमानदार खिलाड़ियों के एक साधारण बहुमत के साथ भी बहुत कुशलता से काम करने के लिए BA⋆ का विस्तार किया है। वह प्रोटोकॉल का उपयोग Algorand में भी किया जा सकता है।

Two Embodiments of Algorand

Two Embodiments of Algorand

As discussed, at a very high level, a round of Algorand ideally proceeds as follows. First, a randomly selected user, the leader, proposes and circulates a new block. (This process includes initially selecting a few potential leaders and then ensuring that, at least a good fraction of the time, a single common leader emerges.) Second, a randomly selected committee of users is selected, and reaches Byzantine agreement on the block proposed by the leader. (This process includes that each step of the BA protocol is run by a separately selected committee.) The agreed upon block is then digitally signed by a given threshold (\(t_H\)) of committee members. These digital signatures are circulated so that everyone is assured of which is the new block. (This includes circulating the credential of the signers, and authenticating just the hash of the new block, ensuring that everyone is guaranteed to learn the block, once its hash is made clear.) In the next two sections, we present two embodiments of Algorand, \(\text{Algorand}'_1\) and \(\text{Algorand}'_2\), that work under a majority-of-honest-users assumption. In Section 8 we show how to adopts these embodiments to work under a honest-majority-of-money assumption. \(\text{Algorand}'_1\) only envisages that \(> 2/3\) of the committee members are honest. In addition, in \(\text{Algorand}'_1\), the number of steps for reaching Byzantine agreement is capped at a suitably high number, so that agreement is guaranteed to be reached with overwhelming probability within a fixed number of steps (but potentially requiring longer time than the steps of \(\text{Algorand}'_2\)). In the remote case in which agreement is not yet reached by the last step, the committee agrees on the empty block, which is always valid. \(\text{Algorand}'_2\) envisages that the number of honest members in a committee is always greater than or equal to a fixed threshold \(t_H\) (which guarantees that, with overwhelming probability, at least \(2/3\) of the committee members are honest). In addition, \(\text{Algorand}'_2\) allows Byzantine agreement to be reached in an arbitrary number of steps (but potentially in a shorter time than \(\text{Algorand}'_1\)). It is easy to derive many variants of these basic embodiments. In particular, it is easy, given \(\text{Algorand}'_2\), to modify \(\text{Algorand}'_1\) so as to enable to reach Byzantine agreement in an arbitrary number of steps. Both embodiments share the following common core, notations, notions, and parameters. 4.1 A Common Core Objectives Ideally, for each round \(r\), Algorand would satisfy the following properties: 1. Perfect Correctness. All honest users agree on the same block \(B_r\). 2. Completeness 1. With probability 1, the payset of \(B_r\), \(PAY^r\), is maximal.10 10Because paysets are defined to contain valid payments, and honest users to make only valid payments, a maximal \(PAY^r\) contains the "currently outstanding" payments of all honest users.

Of course, guaranteeing perfect correctness alone is trivial: everyone always chooses the official payset \(PAY^r\) to be empty. But in this case, the system would have completeness 0. Unfortunately, guaranteeing both perfect correctness and completeness 1 is not easy in the presence of malicious users. Algorand thus adopts a more realistic objective. Informally, letting \(h\) denote the percentage of users who are honest, \(h > 2/3\), the goal of Algorand is Guaranteeing, with overwhelming probability, perfect correctness and completeness close to \(h\). Privileging correctness over completeness seems a reasonable choice: payments not processed in one round can be processed in the next, but one should avoid forks, if possible. Led Byzantine Agreement Perfect Correctness could be guaranteed as follows. At the start of round \(r\), each user \(i\) constructs his own candidate block \(B^r_i\), and then all users reach Byzantine agreement on one candidate block. As per our introduction, the BA protocol employed requires a \(2/3\) honest majority and is player replaceable. Each of its step can be executed by a small and randomly selected set of verifiers, who do not share any inner variables. Unfortunately, this approach has no completeness guarantees. This is so, because the candidate blocks of the honest users are most likely totally different from each other. Thus, the ultimately agreed upon block might always be one with a non-maximal payset. In fact, it may always be the empty block, \(B_\varepsilon\), that is, the block whose payset is empty. well be the default, empty one. \(\text{Algorand}'\) avoids this completeness problem as follows. First, a leader for round \(r\), \(\ell_r\), is selected. Then, \(\ell_r\) propagates his own candidate block, \(B^r_{\ell_r}\). Finally, the users reach agreement on the block they actually receive from \(\ell_r\). Because, whenever \(\ell_r\) is honest, Perfect Correctness and Completeness 1 both hold, \(\text{Algorand}'\) ensures that \(\ell_r\) is honest with probability close to \(h\). (When the leader is malicious, we do not care whether the agreed upon block is one with an empty payset. After all, a malicious leader \(\ell_r\) might always maliciously choose \(B^r_{\ell_r}\) to be the empty block, and then honestly propagate it, thus forcing the honest users to agree on the empty block.) Leader Selection In Algorand's, the \(r\)th block is of the form \(B_r = (r, PAY^r, Q_r, H(B_{r-1})\). As already mentioned in the introduction, the quantity \(Q_{r-1}\) is carefully constructed so as to be essentially non-manipulatable by our very powerful Adversary. (Later on in this section, we shall provide some intuition about why this is the case.) At the start of a round \(r\), all users know the blockchain so far, \(B_0, \ldots, B_{r-1}\), from which they deduce the set of users of every prior round: that is, \(PK^1, \ldots, PK^{r-1}\). A potential leader of round \(r\) is a user \(i\) such that \[.\!H\!\left(\text{SIG}_i\!\left(r, 1, Q_{r-1}\right)\right) \leq p.\] Let us explain. Note that, since the quantity \(Q_{r-1}\) is part of block \(B_{r-1}\), and the underlying signature scheme satisfies the uniqueness property, \(\text{SIG}_i\!\left(r, 1, Q_{r-1}\right)\) is a binary string uniquely associated to \(i\) and \(r\). Thus, since \(H\) is a random oracle, \(H\!\left(\text{SIG}_i\!\left(r, 1, Q_{r-1}\right)\right)\) is a random 256-bit long string uniquely associated to \(i\) and \(r\). The symbol "." in front of \(H\!\left(\text{SIG}_i\!\left(r, 1, Q_{r-1}\right)\right)\) is the decimal (in our case, binary) point, so that \(r_i \triangleq .\!H\!\left(\text{SIG}_i\!\left(r, 1, Q_{r-1}\right)\right)\) is the binary expansion of a random 256-bit number between 0 and 1 uniquely associated to \(i\) and \(r\). Thus the probability that \(r_i\) is less than or equal to \(p\) is essentially \(p\). (Our potential-leader selection mechanism has been inspired by the micro-payment scheme of Micali and Rivest [28].) The probability \(p\) is chosen so that, with overwhelming (i.e., \(1 - F\)) probability, at least one potential verifier is honest. (If fact, \(p\) is chosen to be the smallest such probability.)

Note that, since \(i\) is the only one capable of computing his own signatures, he alone can determine whether he is a potential verifier of round 1. However, by revealing his own credential, \(\sigma^r_i \triangleq \text{SIG}_i\!\left(r, 1, Q_{r-1}\right)\), \(i\) can prove to anyone to be a potential verifier of round \(r\). The leader \(\ell_r\) is defined to be the potential leader whose hashed credential is smaller that the hashed credential of all other potential leader \(j\): that is, \(H(\sigma^{r,s}_{\ell_r}) \leq H(\sigma^{r,s}_j)\). Note that, since a malicious \(\ell_r\) may not reveal his credential, the correct leader of round \(r\) may never be known, and that, barring improbable ties, \(\ell_r\) is indeed the only leader of round \(r\). Let us finally bring up a last but important detail: a user \(i\) can be a potential leader (and thus the leader) of a round \(r\) only if he belonged to the system for at least \(k\) rounds. This guarantees the non-manipulatability of \(Q_r\) and all future Q-quantities. In fact, one of the potential leaders will actually determine \(Q_r\). Verifier Selection Each step \(s > 1\) of round \(r\) is executed by a small set of verifiers, \(SV^{r,s}\). Again, each verifier \(i \in SV^{r,s}\) is randomly selected among the users already in the system \(k\) rounds before \(r\), and again via the special quantity \(Q_{r-1}\). Specifically, \(i \in PK^{r-k}\) is a verifier in \(SV^{r,s}\), if \[.\!H\!\left(\text{SIG}_i\!\left(r, s, Q_{r-1}\right)\right) \leq p'.\] Once more, only \(i\) knows whether he belongs to \(SV^{r,s}\), but, if this is the case, he could prove it by exhibiting his credential \(\sigma^{r,s}_i \triangleq H(\text{SIG}_i\!\left(r, s, Q_{r-1}\right))\). A verifier \(i \in SV^{r,s}\) sends a message, \(m^{r,s}_i\), in step \(s\) of round \(r\), and this message includes his credential \(\sigma^{r,s}_i\), so as to enable the verifiers f the nest step to recognize that \(m^{r,s}_i\) is a legitimate step-\(s\) message. The probability \(p'\) is chosen so as to ensure that, in \(SV^{r,s}\), letting \(\#good\) be the number of honest users and \(\#bad\) the number of malicious users, with overwhelming probability the following two conditions hold. For embodiment \(\text{Algorand}'_1\): (1) \(\#good > 2 \cdot \#bad\) and (2) \(\#good + 4 \cdot \#bad < 2n\), where \(n\) is the expected cardinality of \(SV^{r,s}\). For embodiment \(\text{Algorand}'_2\): (1) \(\#good > t_H\) and (2) \(\#good + 2\#bad < 2t_H\), where \(t_H\) is a specified threshold. These conditions imply that, with sufficiently high probability, (a) in the last step of the BA protocol, there will be at least given number of honest players to digitally sign the new block \(B_r\), (b) only one block per round may have the necessary number of signatures, and (c) the used BA protocol has (at each step) the required \(2/3\) honest majority. Clarifying Block Generation If the round-\(r\) leader \(\ell_r\) is honest, then the corresponding block is of the form \[B_r = \left(r,\; PAY^r,\; \text{SIG}_{\ell_r}\!\left(Q_{r-1}\right),\; H\!\left(B_{r-1}\right)\right),\] where the payset \(PAY^r\) is maximal. (recall that all paysets are, by definition, collectively valid.) Else (i.e., if \(\ell_r\) is malicious), \(B_r\) has one of the following two possible forms: \[B_r = \left(r,\; PAY^r,\; \text{SIG}_i\!\left(Q_{r-1}\right),\; H\!\left(B_{r-1}\right)\right)\] and \[B_r = B^r_\varepsilon \triangleq \left(r,\; \varnothing,\; Q_{r-1},\; H\!\left(B_{r-1}\right)\right).\]

In the first form, \(PAY^r\) is a (non-necessarily maximal) payset and it may be \(PAY^r = \varnothing\); and \(i\) is a potential leader of round \(r\). (However, \(i\) may not be the leader \(\ell_r\). This may indeed happen if if \(\ell_r\) keeps secret his credential and does not reveal himself.) The second form arises when, in the round-\(r\) execution of the BA protocol, all honest players output the default value, which is the empty block \(B^r_\varepsilon\) in our application. (By definition, the possible outputs of a BA protocol include a default value, generically denoted by \(\bot\). See section 3.2.) Note that, although the paysets are empty in both cases, \(B_r = \left(r,\; \varnothing,\; \text{SIG}_i\!\left(Q_{r-1}\right),\; H\!\left(B_{r-1}\right)\right)\) and \(B^r_\varepsilon\) are syntactically different blocks and arise in two different situations: respectively, "all went smoothly enough in the execution of the BA protocol", and "something went wrong in the BA protocol, and the default value was output". Let us now intuitively describe how the generation of block \(B_r\) proceeds in round \(r\) of \(\text{Algorand}'\). In the first step, each eligible player, that is, each player \(i \in PK^{r-k}\), checks whether he is a potential leader. If this is the case, then \(i\) is asked, using of all the payments he has seen so far, and the current blockchain, \(B_0, \ldots, B_{r-1}\), to secretly prepare a maximal payment set, \(PAY^r_i\), and secretly assembles his candidate block, \(B_r = \left(r,\; PAY^r_i,\; \text{SIG}_i\!\left(Q_{r-1}\right),\; H\!\left(B_{r-1}\right)\right)\). That is, not only does he include in \(B^r_i\), as its second component the just prepared payset, but also, as its third component, his own signature of \(Q_{r-1}\), the third component of the last block, \(B_{r-1}\). Finally, he propagate his round-\(r\)-step-1 message, \(m^{r,1}_i\), which includes (a) his candidate block \(B^r_i\), (b) his proper signature of his candidate block (i.e., his signature of the hash of \(B^r_i\), and (c) his own credential \(\sigma^{r,1}_i\), proving that he is indeed a potential verifier of round \(r\). (Note that, until an honest \(i\) produces his message \(m^{r,1}_i\), the Adversary has no clue that \(i\) is a potential verifier. Should he wish to corrupt honest potential leaders, the Adversary might as well corrupt random honest players. However, once he sees \(m^{r,1}_i\), since it contains \(i\)'s credential, the Adversary knows and could corrupt \(i\), but cannot prevent \(m^{r,1}_i\), which is virally propagated, from reaching all users in the system.) In the second step, each selected verifier \(j \in SV^{r,2}\) tries to identify the leader of the round. Specifically, \(j\) takes the step-1 credentials, \(\sigma^{r,1}_{i_1}, \ldots, \sigma^{r,1}_{i_n}\), contained in the proper step-1 message \(m^{r,1}_i\) he has received; hashes all of them, that is, computes \(H\!\left(\sigma^{r,1}_{i_1}\right), \ldots, H\!\left(\sigma^{r,1}_{i_n}\right)\); finds the credential, \(\sigma^{r,1}_{\ell_j}\), whose hash is lexicographically minimum; and considers \(\ell^r_j\) to be the leader of round \(r\). Recall that each considered credential is a digital signature of \(Q_{r-1}\), that \(\text{SIG}_i\!\left(r, 1, Q_{r-1}\right)\) is uniquely determined by \(i\) and \(Q_{r-1}\), that \(H\) is random oracle, and thus that each \(H(\text{SIG}_i\!\left(r, 1, Q_{r-1}\right))\) is a random 256-bit long string unique to each potential leader \(i\) of round \(r\). From this we can conclude that, if the 256-bit string \(Q_{r-1}\) were itself randomly and independently selected, than so would be the hashed credentials of all potential leaders of round \(r\). In fact, all potential leaders are well defined, and so are their credentials (whether actually computed or not). Further, the set of potential leaders of round \(r\) is a random subset of the users of round \(r - k\), and an honest potential leader \(i\) always properly constructs and propagates his message \(m^r_i\), which contains \(i\)'s credential. Thus, since the percentage of honest users is \(h\), no matter what the malicious potential leaders might do (e.g., reveal or conceal their own credentials), the minimum hashed potential-leader credential belongs to a honest user, who is necessarily identified by everyone to be the leader \(\ell_r\) of the round \(r\). Accordingly, if the 256-bit string \(Q_{r-1}\) were itself randomly and independently selected, with probability exactly \(h\) (a) the leader \(\ell_r\) is honest and (b) \(\ell_j = \ell_r\) for all honest step-2 verifiers \(j\). In reality, the hashed credential are, yes, randomly selected, but depend on \(Q_{r-1}\), which is

not randomly and independently selected. We shall prove in our analysis, however, that \(Q_{r-1}\) is sufficiently non-manipulatable to guarantee that the leader of a round is honest with probability \(h'\) sufficiently close to \(h\): namely, \(h' > h^2(1 + h - h^2)\). For instance, if \(h = 80\%\), then \(h' > .7424\). Having identified the leader of the round (which they correctly do when the leader \(\ell_r\) is honest), the task of the step-2 verifiers is to start executing the BA using as initial values what they believe to be the block of the leader. Actually, in order to minimize the amount of communication required, a verifier \(j \in SV^{r,2}\) does not use, as his input value \(v'_j\) to the Byzantine protocol, the block \(B_j\) that he has actually received from \(\ell_j\) (the user \(j\) believes to be the leader), but the the leader, but the hash of that block, that is, \(v'_j = H(B_i)\). Thus, upon termination of the BA protocol, the verifiers of the last step do not compute the desired round-\(r\) block \(B_r\), but compute (authenticate and propagate) \(H(B_r)\). Accordingly, since \(H(B_r)\) is digitally signed by sufficiently many verifiers of the last step of the BA protocol, the users in the system will realize that \(H(B_r)\) is the hash of the new block. However, they must also retrieve (or wait for, since the execution is quite asynchronous) the block \(B_r\) itself, which the protocol ensures that is indeed available, no matter what the Adversary might do. Asynchrony and Timing \(\text{Algorand}'_1\) and \(\text{Algorand}'_2\) have a significant degree of asynchrony. This is so because the Adversary has large latitude in scheduling the delivery of the messages being propagated. In addition, whether the total number of steps in a round is capped or not, there is the variance contribute by the number of steps actually taken. As soon as he learns the certificates of \(B_0, \ldots, B_{r-1}\), a user \(i\) computes \(Q_{r-1}\) and starts working on round \(r\), checking whether he is a potential leader, or a verifier in some step \(s\) of round \(r\). Assuming that \(i\) must act at step \(s\), in light of the discussed asynchrony, \(i\) relies on various strategies to ensure that he has sufficient information before he acts. For instance, he might wait to receive at least a given number of messages from the verifiers of the previous step, or wait for a sufficient time to ensure that he receives the messages of sufficiently many verifiers of the previous step. The Seed \(Q_r\) and the Look-Back Parameter \(k\) Recall that, ideally, the quantities \(Q_r\) should random and independent, although it will suffice for them to be sufficiently non-manipulatable by the Adversary. At a first glance, we could choose \(Q_{r-1}\) to coincide with \(H\!\left(PAY^{r-1}\right)\), and thus avoid to specify \(Q_{r-1}\) explicitly in \(B_{r-1}\). An elementary analysis reveals, however, that malicious users may take advantage of this selection mechanism.11 Some additional effort shows that myriads of other 11We are at the start of round \(r - 1\). Thus, \(Q_{r-2} = PAY^{r-2}\) is publicly known, and the Adversary privately knows who are the potential leaders he controls. Assume that the Adversary controls 10% of the users, and that, with very high probability, a malicious user \(w\) is the potential leader of round \(r - 1\). That is, assume that \(H\!\left(\text{SIG}_w\!\left(r - 2, 1, Q_{r-2}\right)\right)\) is so small that it is highly improbable an honest potential leader will actually be the leader of round \(r - 1\). (Recall that, since we choose potential leaders via a secret cryptographic sortition mechanism, the Adversary does not know who the honest potential leaders are.) The Adversary, therefore, is in the enviable position of choosing the payset \(PAY'\) he wants, and have it become the official payset of round \(r - 1\). However, he can do more. He can also ensure that, with high probability, () one of his malicious users will be the leader also of round \(r\), so that he can freely select what \(PAY^r\) will be. (And so on. At least for a long while, that is, as long as these high-probability events really occur.) To guarantee (), the Adversary acts as follows. Let \(PAY'\) be the payset the Adversary prefers for round \(r - 1\). Then, he computes \(H(PAY')\) and checks whether, for some already malicious player \(z\), \(\text{SIG}_z(r, 1, H(PAY'))\) is particularly small, that is, small enough that with very high probability \(z\) will be the leader of round \(r\). If this is the case, then he instructs \(w\) to choose his candidate block to be

alternatives, based on traditional block quantities are easily exploitable by the Adversary to ensure that malicious leaders are very frequent. We instead specifically and inductively define our brand new quantity \(Q_r\) so as to be able to prove that it is non-manipulatable by the Adversary. Namely, \(Q_r \triangleq H(\text{SIG}_{\ell_r}(Q_{r-1}), r)\), if \(B_r\) is not the empty block, and \(Q_r \triangleq H(Q_{r-1}, r)\) otherwise. The intuition of why this construction of \(Q_r\) works is as follows. Assume for a moment that \(Q_{r-1}\) is truly randomly and independently selected. Then, will so be \(Q_r\)? When \(\ell_r\) is honest the answer is (roughly speaking) yes. This is so because \[H(\text{SIG}_{\ell_r}(\cdot), r) : \{0, 1\}^{256} \longrightarrow \{0, 1\}^{256}\] is a random function. When \(\ell_r\) is malicious, however, \(Q_r\) is no longer univocally defined from \(Q_{r-1}\) and \(\ell_r\). There are at least two separate values for \(Q_r\). One continues to be \(Q_r \triangleq H(\text{SIG}_{\ell_r}(Q_{r-1}), r)\), and the other is \(H(Q_{r-1}, r)\). Let us first argue that, while the second choice is somewhat arbitrary, a second choice is absolutely mandatory. The reason for this is that a malicious \(\ell_r\) can always cause totally different candidate blocks to be received by the honest verifiers of the second step.12 Once this is the case, it is easy to ensure that the block ultimately agreed upon via the BA protocol of round \(r\) will be the default one, and thus will not contain anyone's digital signature of \(Q_{r-1}\). But the system must continue, and for this, it needs a leader for round \(r\). If this leader is automatically and openly selected, then the Adversary will trivially corrupt him. If it is selected by the previous \(Q_{r-1}\) via the same process, than \(\ell_r\) will again be the leader in round \(r+1\). We specifically propose to use the same secret cryptographic sortition mechanism, but applied to a new Q-quantity: namely, \(H(Q_{r-1}, r)\). By having this quantity to be the output of \(H\) guarantees that the output is random, and by including \(r\) as the second input of \(H\), while all other uses of \(H\) have one or 3+ inputs, "guarantees" that such a \(Q_r\) is independently selected. Again, our specific choice of alternative \(Q_r\) does not matter, what matter is that \(\ell_r\) has two choice for \(Q_r\), and thus he can double his chances to have another malicious user as the next leader. The options for \(Q_r\) may even be more numerous for the Adversary who controls a malicious \(\ell_r\). For instance, let \(x\), \(y\), and \(z\) be three malicious potential leaders of round \(r\) such that \[H\!\left(\sigma^{r,1}_x\right) < H\!\left(\sigma^{r,1}_y\right) < H\!\left(\sigma^{r,1}_z\right)\] and \(H\!\left(\sigma^{r,1}_z\right)\) is particulary small. That is, so small that there is a good chance that \(H\!\left(\sigma^{r,1}_z\right)\) is smaller of the hashed credential of every honest potential leader. Then, by asking \(x\) to hide his credential, the Adversary has a good chance of having \(y\) become the leader of round \(r - 1\). This implies that he has another option for \(Q_r\): namely, \(\text{SIG}_y\!\left(Q_{r-1}\right)\). Similarly, the Adversary may ask both \(x\) and \(y\) of withholding their credentials, so as to have \(z\) become the leader of round \(r - 1\) and gaining another option for \(Q_r\): namely, \(\text{SIG}_z\!\left(Q_{r-1}\right)\). Of course, however, each of these and other options has a non-zero chance to fail, because the Adversary cannot predict the hash of the digital signatures of the honest potential users. \(B^{r-1}_i = (r - 1, PAY', H(B_{r-2})\). Else, he has two other malicious users \(x\) and \(y\) to keep on generating a new payment \(\wp'\), from one to the other, until, for some malicious user \(z\) (or even for some fixed user \(z\)) \(H(\text{SIG}_z(PAY' \cup \{\wp\}))\) is particularly small too. This experiment will stop quite quickly. And when it does the Adversary asks \(w\) to propose the candidate block \(B^{r-1}_i = (r - 1, PAY' \cup \{\wp\}, H(B_{r-2})\). 12For instance, to keep it simple (but extreme), "when the time of the second step is about to expire", \(\ell_r\) could directly email a different candidate block \(B_i\) to each user \(i\). This way, whoever the step-2 verifiers might be, they will have received totally different blocks.

A careful, Markov-chain-like analysis shows that, no matter what options the Adversary chooses to make at round \(r - 1\), as long as he cannot inject new users in the system, he cannot decrease the probability of an honest user to be the leader of round \(r + 40\) much below \(h\). This is the reason for which we demand that the potential leaders of round \(r\) are users already existing in round \(r - k\). It is a way to ensure that, at round \(r - k\), the Adversary cannot alter by much the probability that an honest user become the leader of round \(r\). In fact, no matter what users he may add to the system in rounds \(r - k\) through \(r\), they are ineligible to become potential leaders (and a fortiori the leader) of round \(r\). Thus the look-back parameter \(k\) ultimately is a security parameter. (Although, as we shall see in section 7, it can also be a kind of "convenience parameter" as well.) Ephemeral Keys Although the execution of our protocol cannot generate a fork, except with negligible probability, the Adversary could generate a fork, at the \(r\)th block, after the legitimate block \(r\) has been generated. Roughly, once \(B_r\) has been generated, the Adversary has learned who the verifiers of each step of round \(r\) are. Thus, he could therefore corrupt all of them and oblige them to certify a new block \(\overset{f}{B_r}\). Since this fake block might be propagated only after the legitimate one, users that have been paying attention would not be fooled.13 Nonetheless, \(\overset{f}{B_r}\) would be syntactically correct and we want to prevent from being manufactured. We do so by means of a new rule. Essentially, the members of the verifier set \(SV^{r,s}\) of a step \(s\) of round \(r\) use ephemeral public keys \(pk^{r,s}_i\) to digitally sign their messages. These keys are single-use-only and their corresponding secret keys \(sk^{r,s}_i\) are destroyed once used. This way, if a verifier is corrupted later on, the Adversary cannot force him to sign anything else he did not originally sign. Naturally, we must ensure that it is impossible for the Adversary to compute a new key \(\overset{g}{p}{}^{r,s}_i\) and convince an honest user that it is the right ephemeral key of verifier \(i \in SV^{r,s}\) to use in step \(s\). 4.2 Common Summary of Notations, Notions, and Parameters Notations - \(r \geq 0\): the current round number. - \(s \geq 1\): the current step number in round \(r\). - \(B_r\): the block generated in round \(r\). - \(PK^r\): the set of public keys by the end of round \(r - 1\) and at the beginning of round \(r\). - \(S^r\): the system status by the end of round \(r - 1\) and at the beginning of round \(r\).14 - \(PAY^r\): the payset contained in \(B_r\). - \(\ell_r\): round-\(r\) leader. \(\ell_r\) chooses the payset \(PAY^r\) of round \(r\) (and determines the next \(Q_r\)). - \(Q_r\): the seed of round \(r\), a quantity (i.e., binary string) that is generated at the end of round \(r\) and is used to choose verifiers for round \(r + 1\). \(Q_r\) is independent of the paysets in the blocks and cannot be manipulated by \(\ell_r\). 13Consider corrupting the news anchor of a major TV network, and producing and broadcasting today a newsreel showing secretary Clinton winning the last presidential election. Most of us would recognize it as a hoax. But someone getting out of a coma might be fooled. 14In a system that is not synchronous, the notion of "the end of round \(r - 1\)" and "the beginning of round \(r\)" need to be carefully defined. Mathematically, \(PK^r\) and \(S^r\) are computed from the initial status \(S^0\) and the blocks \(B_1, \ldots, B_{r-1}\).

  • \(SV^{r,s}\): the set of verifiers chosen for step \(s\) of round \(r\).
  • \(SV^r\): the set of verifiers chosen for round \(r\), \(SV^r = \cup_{s \geq 1} SV^{r,s}\).
  • \(MSV^{r,s}\) and \(HSV^{r,s}\): respectively, the set of malicious verifiers and the set of honest verifiers in \(SV^{r,s}\). \(MSV^{r,s} \cup HSV^{r,s} = SV^{r,s}\) and \(MSV^{r,s} \cap HSV^{r,s} = \varnothing\).
  • \(n_1 \in \mathbb{Z}^+\) and \(n \in \mathbb{Z}^+\): respectively, the expected numbers of potential leaders in each \(SV^{r,1}\), and the expected numbers of verifiers in each \(SV^{r,s}\), for \(s > 1\). Notice that \(n_1 \ll n\), since we need at least one honest honest member in \(SV^{r,1}\), but at least a majority of honest members in each \(SV^{r,s}\) for \(s > 1\).
  • \(h \in (0, 1)\): a constant greater than \(2/3\). \(h\) is the honesty ratio in the system. That is, the fraction of honest users or honest money, depending on the assumption used, in each \(PK^r\) is at least \(h\).
  • \(H\): a cryptographic hash function, modelled as a random oracle.
  • \(\bot\): A special string of the same length as the output of \(H\).
  • \(F \in (0, 1)\): the parameter specifying the allowed error probability. A probability \(\leq F\) is considered "negligible", and a probability \(\geq 1 - F\) is considered "overwhelming".
  • \(p_h \in (0, 1)\): the probability that the leader of a round \(r\), \(\ell_r\), is honest. Ideally \(p_h = h\). With the existence of the Adversary, the value of \(p_h\) will be determined in the analysis.
  • \(k \in \mathbb{Z}^+\): the look-back parameter. That is, round \(r - k\) is where the verifiers for round \(r\) are chosen from — namely, \(SV^r \subseteq PK^{r-k}\).15
  • \(p_1 \in (0, 1)\): for the first step of round \(r\), a user in round \(r - k\) is chosen to be in \(SV^{r,1}\) with probability \(p_1 \triangleq \frac{n_1}{|PK^{r-k}|}\).
  • \(p \in (0, 1)\): for each step \(s > 1\) of round \(r\), a user in round \(r - k\) is chosen to be in \(SV^{r,s}\) with probability \(p \triangleq \frac{n}{|PK^{r-k}|}\).
  • \(CERT^r\): the certificate for \(B_r\). It is a set of \(t_H\) signatures of \(H(B_r)\) from proper verifiers in round \(r\).
  • \(\overline{B_r} \triangleq (B_r, CERT^r)\) is a proven block. A user \(i\) knows \(\overline{B_r}\) if he possesses (and successfully verifies) both parts of the proven block. Note that the \(CERT^r\) seen by different users may be different.
  • \(\tau^r_i\): the (local) time at which a user \(i\) knows \(\overline{B_r}\). In the Algorand protocol each user has his own clock. Different users' clocks need not be synchronized, but must have the same speed. Only for the purpose of the analysis, we consider a reference clock and measure the players' related times with respect to it.
  • \(\alpha^{r,s}_i\) and \(\beta^{r,s}_i\): respectively the (local) time a user \(i\) starts and ends his execution of Step \(s\) of round \(r\).
  • \(\Lambda\) and \(\lambda\): essentially, the upper-bounds to, respectively, the time needed to execute Step 1 and the time needed for any other step of the Algorand protocol. Parameter \(\Lambda\) upper-bounds the time to propagate a single 1MB block. (In our notation, \(\Lambda = \lambda_{\rho, 1\text{MB}}\). Recalling our notation, that we set \(\rho = 1\) for simplicity, and that blocks are chosen to be at most 1MB-long, we have \(\Lambda = \lambda_{1,1,1\text{MB}}\).) 15Strictly speaking, "\(r - k\)" should be "\(\max\{0, r - k\}\)".

Parameter \(\lambda\) upperbounds the time to propagate one small message per verifier in a Step \(s > 1\). (Using, as in Bitcoin, elliptic curve signatures with 32B keys, a verifier message is 200B long. Thus, in our notation, \(\lambda = \lambda_{n, \rho, 200\text{B}}\).) We assume that \(\Lambda = O(\lambda)\). Notions - Verifier selection. For each round \(r\) and step \(s > 1\), \(SV^{r,s} \triangleq \{i \in PK^{r-k} : .\!H(\text{SIG}_i(r, s, Q_{r-1})) \leq p\}\). Each user \(i \in PK^{r-k}\) privately computes his signature using his long-term key and decides whether \(i \in SV^{r,s}\) or not. If \(i \in SV^{r,s}\), then \(\text{SIG}_i(r, s, Q_{r-1})\) is \(i\)'s \((r, s)\)-credential, compactly denoted by \(\sigma^{r,s}_i\). For the first step of round \(r\), \(SV^{r,1}\) and \(\sigma^{r,1}_i\) are similarly defined, with \(p\) replaced by \(p_1\). The verifiers in \(SV^{r,1}\) are potential leaders. - Leader selection. User \(i \in SV^{r,1}\) is the leader of round \(r\), denoted by \(\ell_r\), if \(H(\sigma^{r,1}_i) \leq H(\sigma^{r,1}_j)\) for all potential leaders \(j \in SV^{r,1}\). Whenever the hashes of two players' credentials are compared, in the unlikely event of ties, the protocol always breaks ties lexicographically according to the (long-term public keys of the) potential leaders. By definition, the hash value of player \(\ell_r\)'s credential is also the smallest among all users in \(PK^{r-k}\). Note that a potential leader cannot privately decide whether he is the leader or not, without seeing the other potential leaders' credentials. Since the hash values are uniform at random, when \(SV^{r,1}\) is non-empty, \(\ell_r\) always exists and is honest with probability at least \(h\). The parameter \(n_1\) is large enough so as to ensure that each \(SV^{r,1}\) is non-empty with overwhelming probability. - Block structure. A non-empty block is of the form \(B_r = (r, PAY^r, \text{SIG}_{\ell_r}(Q_{r-1}), H(B_{r-1}))\), and an empty block is of the form \(B^r_\varepsilon = (r, \varnothing, Q_{r-1}, H(B_{r-1}))\). Note that a non-empty block may still contain an empty payset \(PAY^r\), if no payment occurs in this round or if the leader is malicious. However, a non-empty block implies that the identity of \(\ell_r\), his credential \(\sigma^{r,1}_{\ell_r}\) and \(\text{SIG}_{\ell_r}(Q_{r-1})\) have all been timely revealed. The protocol guarantees that, if the leader is honest, then the block will be non-empty with overwhelming probability. - Seed \(Q_r\). If \(B_r\) is non-empty, then \(Q_r \triangleq H(\text{SIG}_{\ell_r}(Q_{r-1}), r)\), otherwise \(Q_r \triangleq H(Q_{r-1}, r)\). Parameters - Relationships among various parameters. — The verifiers and potential leaders of round \(r\) are selected from the users in \(PK^{r-k}\), where \(k\) is chosen so that the Adversary cannot predict \(Q_{r-1}\) back at round \(r - k - 1\) with probability better than \(F\): otherwise, he will be able to introduce malicious users for round \(r - k\), all of which will be potential leaders/verifiers in round \(r\), succeeding in

having a malicious leader or a malicious majority in \(SV^{r,s}\) for some steps \(s\) desired by him. — For Step 1 of each round \(r\), \(n_1\) is chosen so that with overwhelming probability, \(SV^{r,1} \neq \varnothing\). - Example choices of important parameters. — The outputs of \(H\) are 256-bit long. — \(h = 80\%\), \(n_1 = 35\). — \(\Lambda = 1\) minute and \(\lambda = 10\) seconds. - Initialization of the protocol. The protocol starts at time 0 with \(r = 0\). Since there does not exist "\(B_{-1}\)" or "\(CERT^{-1}\)", syntactically \(B_{-1}\) is a public parameter with its third component specifying \(Q_{-1}\), and all users know \(B_{-1}\) at time 0.

Algorand के दो अवतार

जैसा कि चर्चा की गई है, बहुत उच्च स्तर पर, Algorand का एक दौर आदर्श रूप से निम्नानुसार आगे बढ़ता है। सबसे पहले, एक यादृच्छिक रूप से चयनित उपयोगकर्ता, नेता, एक नया ब्लॉक प्रस्तावित और प्रसारित करता है। (इस प्रक्रिया में प्रारंभ में शामिल है कुछ संभावित नेताओं का चयन करना और फिर यह सुनिश्चित करना कि, कम से कम समय का एक अच्छा हिस्सा, ए एकल आम नेता उभरता है।) दूसरा, उपयोगकर्ताओं की एक यादृच्छिक रूप से चयनित समिति का चयन किया जाता है, और नेता द्वारा प्रस्तावित ब्लॉक पर बीजान्टिन समझौते पर पहुँचता है। (इस प्रक्रिया में वह भी शामिल है बीए प्रोटोकॉल का प्रत्येक चरण एक अलग से चयनित समिति द्वारा चलाया जाता है।) सहमत ब्लॉक फिर समिति के सदस्यों की दी गई सीमा (टीएच) द्वारा डिजिटल रूप से हस्ताक्षरित किया जाता है। ये डिजिटल हस्ताक्षर प्रसारित किया जाता है ताकि सभी को आश्वस्त किया जा सके कि नया ब्लॉक कौन सा है। (इसमें प्रसारित करना शामिल है हस्ताक्षरकर्ताओं की साख, और नए ब्लॉक के केवल hash को प्रमाणित करना, यह सुनिश्चित करना कि हर कोई ब्लॉक को सीखने की गारंटी दी जाती है, एक बार इसका hash स्पष्ट हो जाता है।) अगले दो अनुभागों में, हम Algorand, Algorand 'के दो अवतार प्रस्तुत करते हैं। 1 और Algorand' 2, यह बहुसंख्यक-ईमानदार-उपयोगकर्ताओं की धारणा के तहत काम करता है। धारा 8 में हम बताते हैं कि इन्हें कैसे अपनाया जाए ईमानदार-बहुमत-पैसे की धारणा के तहत काम करने के अवतार। Algorand ' 1 में केवल यह परिकल्पना की गई है कि > समिति के 2/3 सदस्य ईमानदार हैं। इसके अलावा, में Algorand ' 1, बीजान्टिन समझौते तक पहुँचने के लिए चरणों की संख्या उपयुक्त रूप से उच्च रखी गई है संख्या, ताकि समझौते पर अत्यधिक संभावना के साथ पहुंचने की गारंटी हो चरणों की निश्चित संख्या (लेकिन संभावित रूप से Algorand के चरणों की तुलना में अधिक समय की आवश्यकता होती है) 2). में दूरस्थ मामले जिनमें अंतिम चरण तक सहमति नहीं बनी है, समिति इस पर सहमत है खाली ब्लॉक, जो हमेशा वैध होता है। Algorand ' 2 की परिकल्पना है कि किसी समिति में ईमानदार सदस्यों की संख्या सदैव अधिक होती है या एक निश्चित सीमा tH के बराबर (जो इसकी गारंटी देता है, कम से कम अत्यधिक संभावना के साथ समिति के 2/3 सदस्य ईमानदार हैं)। इसके अलावा, Algorand' 2 बीजान्टिन समझौते की अनुमति देता है मनमाने ढंग से चरणों की संख्या में पहुंचा जा सकता है (लेकिन संभावित रूप से Algorand से कम समय में) 1). इन मूल अवतारों के कई प्रकार प्राप्त करना आसान है। विशेष रूप से, यह आसान है, दिया गया है Algorand ' 2, Algorand को संशोधित करने के लिए ' 1 ताकि मनमाने ढंग से बीजान्टिन समझौते तक पहुंचने में सक्षम हो सके चरणों की संख्या. दोनों अवतार निम्नलिखित सामान्य कोर, नोटेशन, धारणाएं और पैरामीटर साझा करते हैं। 4.1 एक सामान्य कोर उद्देश्य आदर्श रूप से, प्रत्येक राउंड r के लिए, Algorand निम्नलिखित गुणों को संतुष्ट करेगा: 1. उत्तम शुद्धता. सभी ईमानदार उपयोगकर्ता एक ही ब्लॉक पर सहमत हैं ब्र. 2. पूर्णता 1. संभाव्यता 1 के साथ, Br, PAY r का भुगतान अधिकतम है।10 10क्योंकि पेसेट को वैध भुगतान शामिल करने के लिए परिभाषित किया गया है, और ईमानदार उपयोगकर्ताओं को केवल वैध भुगतान करने के लिए, अधिकतम PAY r में सभी ईमानदार उपयोगकर्ताओं के "वर्तमान में बकाया" भुगतान शामिल हैं।निःसंदेह, अकेले पूर्ण शुद्धता की गारंटी देना तुच्छ है: हर कोई हमेशा अधिकारी को ही चुनता है पेसेट पे आर खाली होना। लेकिन इस मामले में, सिस्टम की पूर्णता 0 होगी। दुर्भाग्य से, दुर्भावनापूर्ण की उपस्थिति में पूर्ण शुद्धता और पूर्णता 1 दोनों की गारंटी देना आसान नहीं है उपयोगकर्ता. Algorand इस प्रकार अधिक यथार्थवादी उद्देश्य अपनाता है। अनौपचारिक रूप से, h को प्रतिशत दर्शाने देना ईमानदार उपयोगकर्ताओं की संख्या, h > 2/3, Algorand का लक्ष्य है ज़बरदस्त संभावना के साथ गारंटी, सही शुद्धता और एच के करीब पूर्णता। पूर्णता पर शुद्धता को प्राथमिकता देना एक उचित विकल्प प्रतीत होता है: भुगतान संसाधित नहीं होते हैं एक राउंड को अगले में संसाधित किया जा सकता है, लेकिन यदि संभव हो तो कांटे से बचना चाहिए। बीजान्टिन समझौते का नेतृत्व किया पूर्ण शुद्धता की गारंटी इस प्रकार दी जा सकती है। शुरुआत में राउंड आर में, प्रत्येक उपयोगकर्ता अपना स्वयं का उम्मीदवार ब्लॉक ब्र बनाता है मैं , और फिर सभी उपयोगकर्ता बीजान्टिन तक पहुँचते हैं एक उम्मीदवार ब्लॉक पर सहमति. हमारे परिचय के अनुसार, नियोजित बीए प्रोटोकॉल की आवश्यकता है 2/3 ईमानदार बहुमत और खिलाड़ी को बदला जा सकता है। इसके प्रत्येक चरण को एक छोटे और द्वारा क्रियान्वित किया जा सकता है सत्यापनकर्ताओं का बेतरतीब ढंग से चयनित सेट, जो कोई आंतरिक चर साझा नहीं करता है। दुर्भाग्य से, इस दृष्टिकोण की पूर्णता की कोई गारंटी नहीं है। ऐसा इसलिए है, क्योंकि उम्मीदवार ईमानदार उपयोगकर्ताओं के ब्लॉक संभवतः एक-दूसरे से पूरी तरह भिन्न होते हैं। इस प्रकार, अंततः सहमत ब्लॉक हमेशा गैर-अधिकतम भुगतान वाला हो सकता है। वास्तव में, यह हमेशा हो सकता है खाली ब्लॉक, B\(\varepsilon\), यानी वह ब्लॉक जिसका पेसेट खाली है। ठीक है, डिफ़ॉल्ट हो, खाली हो। Algorand ′ इस पूर्णता समस्या से निम्नानुसार बचता है। सबसे पहले, राउंड आर, \(\ell\)आर के लिए एक नेता का चयन किया जाता है। फिर, \(\ell\)r अपने स्वयं के उम्मीदवार ब्लॉक, ब्र का प्रचार करता है \(\ell\)r. अंत में, उपयोगकर्ता ब्लॉक पर सहमति पर पहुंचते हैं वे वास्तव में \(\ell\)r से प्राप्त करते हैं। क्योंकि, जब भी \(\ell\)r ईमानदार होता है, पूर्ण शुद्धता और पूर्णता होती है 1 दोनों धारण करते हैं, Algorand ′ यह सुनिश्चित करता है कि \(\ell\)r, h के निकट संभाव्यता के साथ ईमानदार है। (जब नेता हो दुर्भावनापूर्ण, हमें इसकी परवाह नहीं है कि सहमत ब्लॉक खाली पेसेट वाला है या नहीं। आख़िरकार, ए दुर्भावनापूर्ण नेता \(\ell\)r हमेशा दुर्भावनापूर्ण रूप से ब्र को चुन सकता है \(\ell\)r खाली ब्लॉक होना, और फिर ईमानदारी से इसे प्रचारित करें, इस प्रकार ईमानदार उपयोगकर्ताओं को खाली ब्लॉक पर सहमत होने के लिए मजबूर करें।) नेता चयन Algorand में, rवाँ ब्लॉक Br = (r, PAY r, Qr, H(Br−1) के रूप का है। जैसा कि परिचय में पहले ही उल्लेख किया गया है, मात्रा Qr−1 का सावधानीपूर्वक निर्माण किया गया है हमारे अत्यंत शक्तिशाली प्रतिद्वंद्वी द्वारा अनिवार्य रूप से गैर-हेरफेर योग्य। (बाद में इस अनुभाग में, हम करेंगे ऐसा क्यों है इसके बारे में कुछ अंतर्ज्ञान प्रदान करें।) एक राउंड आर की शुरुआत में, सभी उपयोगकर्ता जानते हैं blockchain अब तक, B0, . . . , Br−1, जिससे वे प्रत्येक पिछले दौर के उपयोगकर्ताओं का सेट निकालते हैं: वह है, PK1, . . . , पीकेआर−1. राउंड आर का एक संभावित नेता एक ऐसा उपयोगकर्ता है .एच सिगी आर, 1, क्यूआर−1 \(\leq\)p . आइये समझाते हैं. ध्यान दें, चूँकि मात्रा Qr−1 ब्लॉक Br−1 और अंतर्निहित का हिस्सा है हस्ताक्षर योजना विशिष्टता संपत्ति, SIGi को संतुष्ट करती है आर, 1, क्यूआर−1 विशिष्ट रूप से एक बाइनरी स्ट्रिंग है मैं और आर से संबंधित. इस प्रकार, चूँकि H एक यादृच्छिक oracle है, H सिगी आर, 1, क्यूआर−1 एक यादृच्छिक 256-बिट है लंबी स्ट्रिंग विशिष्ट रूप से i और r से संबद्ध है। प्रतीक "।" एच के सामने सिगी आर, 1, क्यूआर−1 है दशमलव (हमारे मामले में, बाइनरी) बिंदु, ताकि ri \(\triangleq\).H सिगी आर, 1, क्यूआर−1 a का द्विआधारी विस्तार है 0 और 1 के बीच यादृच्छिक 256-बिट संख्या विशिष्ट रूप से i और r से संबद्ध है। इस प्रकार संभावना है कि ri, p से कम या उसके बराबर है, मूलतः p है। (हमारा संभावित-नेता चयन तंत्र रहा है मिकाली और रिवेस्ट की सूक्ष्म भुगतान योजना [28] से प्रेरित।) संभाव्यता p को इसलिए चुना गया है ताकि, अत्यधिक (अर्थात, 1 −F) संभाव्यता के साथ, कम से कम एक संभावित सत्यापनकर्ता ईमानदार है। (यदि वास्तव में, p को ऐसी सबसे छोटी संभावना के रूप में चुना गया है।)ध्यान दें, चूंकि केवल मैं ही अपने हस्ताक्षरों की गणना करने में सक्षम हूं, वह अकेला ही ऐसा कर सकता है निर्धारित करें कि क्या वह राउंड 1 का संभावित सत्यापनकर्ता है। हालाँकि, अपनी स्वयं की साख प्रकट करके, \(\sigma\)r मैं \(\triangleq\)SIGi आर, 1, क्यूआर−1 , मैं किसी को भी राउंड आर का संभावित सत्यापनकर्ता साबित कर सकता हूं। नेता \(\ell\)r को संभावित नेता के रूप में परिभाषित किया गया है जिसकी hashed साख उससे छोटी है अन्य सभी संभावित नेताओं की hashed क्रेडेंशियल j: यानी, H(\(\sigma\)r,s \(\ell\)r ) \(\leq\)H(\(\sigma\)r,s ज ). ध्यान दें, चूंकि एक दुर्भावनापूर्ण \(\ell\)r अपनी साख प्रकट नहीं कर सकता है, राउंड आर का सही नेता ऐसा कर सकता है कभी ज्ञात नहीं होगा, और यह कि, असंभव संबंधों को छोड़कर, \(\ell\)r वास्तव में राउंड आर का एकमात्र नेता है। आइए अंततः एक अंतिम लेकिन महत्वपूर्ण विवरण प्रस्तुत करें: एक उपयोगकर्ता मैं एक संभावित नेता हो सकता हूं (और इस प्रकार)। राउंड आर का नेता) केवल तभी जब वह कम से कम के राउंड के लिए सिस्टम से संबंधित हो। यह गारंटी देता है क्यूआर और सभी भविष्य की क्यू-मात्राओं की गैर-हेरफेरशीलता। वास्तव में, संभावित नेताओं में से एक वास्तव में क्यूआर निर्धारित करेगा। सत्यापनकर्ता चयन राउंड आर के प्रत्येक चरण एस > 1 को सत्यापनकर्ताओं, एसवी आर, एस के एक छोटे सेट द्वारा निष्पादित किया जाता है। फिर से, प्रत्येक सत्यापनकर्ता i \(\in\)SV r,s को सिस्टम k राउंड में पहले से मौजूद उपयोगकर्ताओं के बीच यादृच्छिक रूप से चुना जाता है r से पहले, और फिर विशेष मात्रा Qr−1 के माध्यम से। विशेष रूप से, i \(\in\)PKr−k SV r,s में एक सत्यापनकर्ता है, यदि .एच सिगी आर, एस, क्यूआर−1 \(\leq\)p′ . एक बार फिर, केवल मैं ही जानता हूं कि वह एसवी आर,एस से संबंधित है या नहीं, लेकिन, यदि यह मामला है, तो वह इसे साबित कर सकता है अपनी साख का प्रदर्शन \(\sigma\)r,s मैं \(\triangleq\)H(SIGi आर, एस, क्यूआर−1 ). एक सत्यापनकर्ता i \(\in\)SV r,s एक संदेश भेजता है, श्रीमान, एस मैं, में राउंड आर के चरण एस, और इस संदेश में उसका क्रेडेंशियल \(\sigma\)r,s शामिल है मैं, ताकि सत्यापनकर्ताओं को सक्षम किया जा सके उस श्रीमान को पहचानने के लिए नेस्ट स्टेप मैं एक वैध कदम-एस संदेश है. संभाव्यता p′ को इसलिए चुना गया है ताकि यह सुनिश्चित किया जा सके कि, SV r,s में, #good की संख्या हो ईमानदार उपयोगकर्ताओं और #बुरे दुर्भावनापूर्ण उपयोगकर्ताओं की संख्या, अत्यधिक संभावना के साथ निम्नलिखित दो शर्तें कायम हैं. अवतार के लिए Algorand ' 1: (1) #अच्छा > 2 \(\cdot\) #बुरा और (2) #अच्छा + 4 \(\cdot\) #बुरा <2एन, जहां एन एसवी आर,एस की अपेक्षित कार्डिनैलिटी है। अवतार के लिए Algorand ' 2: (1) #अच्छा > वें और (2) #अच्छा + 2#बुरा <2टीएच, जहां टीएच एक निर्दिष्ट सीमा है। इन शर्तों का अर्थ है कि, पर्याप्त रूप से उच्च संभावना के साथ, (ए) बीए के अंतिम चरण में प्रोटोकॉल, नए ब्लॉक ब्र पर डिजिटल हस्ताक्षर करने के लिए कम से कम ईमानदार खिलाड़ियों की संख्या दी जाएगी, (बी) प्रति राउंड केवल एक ब्लॉक में आवश्यक संख्या में हस्ताक्षर हो सकते हैं, और (सी) प्रयुक्त बीए प्रोटोकॉल में (प्रत्येक चरण पर) आवश्यक 2/3 ईमानदार बहुमत होता है। ब्लॉक जनरेशन को स्पष्ट करना यदि राउंड-आर लीडर \(\ell\)r ईमानदार है, तो संबंधित ब्लॉक स्वरूप का है ब्र = आर, भुगतान आर, हस्ताक्षर\(\ell\)आर क्यूआर−1 , एच ब्र−1 , जहां पेसेट PAY r अधिकतम है। (याद रखें कि सभी भुगतान, परिभाषा के अनुसार, सामूहिक रूप से वैध हैं।) अन्यथा (अर्थात, यदि \(\ell\)r दुर्भावनापूर्ण है), Br के निम्नलिखित दो संभावित रूपों में से एक है: ब्र = आर, भुगतान आर, सिगी Qr−1 , एच ब्र−1 और ब्र = ब्र \(\varepsilon\) \(\triangleq\) r, \(\emptyset\), Qr−1, H ब्र−1 .पहले रूप में, PAY r एक (अनिवार्य रूप से अधिकतम) भुगतान सेट है और यह PAY r = \(\emptyset\) हो सकता है; और मैं हूं राउंड आर के एक संभावित नेता। (हालाँकि, मैं नेता नहीं हो सकता \(\ell\)r। यह वास्तव में हो सकता है यदि \(\ell\)r अपनी पहचान गुप्त रखता है और खुद को प्रकट नहीं करता है।) दूसरा रूप तब उत्पन्न होता है, जब बीए प्रोटोकॉल के राउंड-आर निष्पादन में, सभी ईमानदार खिलाड़ी डिफ़ॉल्ट मान आउटपुट करें, जो खाली ब्लॉक Br है \(\varepsilon\) हमारे आवेदन में। (परिभाषा के अनुसार, संभव BA प्रोटोकॉल के आउटपुट में एक डिफ़ॉल्ट मान शामिल होता है, जिसे सामान्यतः \(\bot\) द्वारा दर्शाया जाता है। अनुभाग 3.2 देखें।) ध्यान दें, यद्यपि दोनों मामलों में भुगतान सेट खाली हैं, Br = आर, \(\emptyset\), सिगी Qr−1 , एच ब्र−1 और ब्र \(\varepsilon\) वाक्यात्मक रूप से अलग-अलग ब्लॉक हैं और दो अलग-अलग स्थितियों में उत्पन्न होते हैं: क्रमशः, "सभी बीए प्रोटोकॉल के निष्पादन में काफी आसानी से चला गया", और "इसमें कुछ गलत हो गया बीए प्रोटोकॉल, और डिफ़ॉल्ट मान आउटपुट था"। आइए अब हम सहज रूप से वर्णन करें कि ब्लॉक Br की पीढ़ी Algorand 'के दौर में कैसे आगे बढ़ती है। पहले चरण में, प्रत्येक पात्र खिलाड़ी, अर्थात, प्रत्येक खिलाड़ी \(\in\)PKr−k, जाँचता है कि क्या वह एक संभावित खिलाड़ी है नेता. यदि यह मामला है, तो मुझसे पूछा गया है कि उसने अब तक देखे गए सभी भुगतानों का उपयोग किया है, और वर्तमान blockchain, B0, . . . , Br−1, गुप्त रूप से अधिकतम भुगतान सेट तैयार करने के लिए, PAY r मैं, और गुप्त रूप से अपने उम्मीदवार ब्लॉक, Br = को इकट्ठा करता है आर, भुगतान आर मैं, सिगी Qr−1 , एच ब्र−1 . अर्थात्, केवल वह ही नहीं है ब्र में शामिल करें मैं, इसके दूसरे घटक के रूप में हाल ही में तैयार किया गया पेसेट, लेकिन इसके तीसरे घटक के रूप में भी, Qr−1 के अपने हस्ताक्षर, अंतिम ब्लॉक का तीसरा घटक, Br−1। अंत में, उन्होंने अपना प्रचार किया राउंड-आर-स्टेप-1 संदेश, श्रीमान,1 i, जिसमें (ए) उसका उम्मीदवार ब्लॉक ब्र शामिल है मैं, (बी) उसके उचित हस्ताक्षर उनके उम्मीदवार ब्लॉक का (अर्थात्, ब्र. के hash पर उनके हस्ताक्षर)। मैं, और (सी) उसकी अपनी साख \(\sigma\)r,1 मैं, साबित कर रहा हूँ वह वास्तव में राउंड आर का एक संभावित सत्यापनकर्ता है। (ध्यान दें, जब तक कोई ईमानदार व्यक्ति अपना संदेश प्रस्तुत नहीं करता, श्रीमान,1 मैं, प्रतिद्वंद्वी को कोई सुराग नहीं है कि मैं एक हूं संभावित सत्यापनकर्ता. यदि वह ईमानदार संभावित नेताओं को भ्रष्ट करना चाहे, तो विरोधी भी ऐसा कर सकता है भ्रष्ट यादृच्छिक ईमानदार खिलाड़ी। हालाँकि, एक बार वह श्रीमान को देखता है,1 i, चूंकि इसमें i का क्रेडेंशियल शामिल है, इसलिए विरोधी जानता है और मुझे भ्रष्ट कर सकता है, लेकिन श्रीमान को रोक नहीं सकता i , जिसे वायरल रूप से प्रचारित किया जाता है सिस्टम में सभी उपयोगकर्ताओं तक पहुँचना।) दूसरे चरण में, प्रत्येक चयनित सत्यापनकर्ता j \(\in\)SV r,2 राउंड के लीडर की पहचान करने का प्रयास करता है। विशेष रूप से, j चरण-1 क्रेडेंशियल लेता है, \(\sigma\)r,1 मैं1 , . . . , \(\sigma\)r,1 में, उचित चरण-1 संदेश में निहित है श्रीमान,1 मैं उसे प्राप्त हुआ है; hashes ये सभी, यानी H की गणना करते हैं  \(\sigma\)r,1 मैं1  , . . . , एच  \(\sigma\)r,1 में  ; क्रेडेंशियल ढूँढता है, \(\sigma\)r,1 \(\ell\)j , जिसका hash शब्दकोष की दृष्टि से न्यूनतम है; और \(\ell\)r पर विचार करता है जे राउंड आर का लीडर होगा। याद रखें कि प्रत्येक माना गया क्रेडेंशियल Qr−1, यानी SIGi का एक डिजिटल हस्ताक्षर है आर, 1, क्यूआर−1 है i और Qr−1 द्वारा विशिष्ट रूप से निर्धारित, कि H यादृच्छिक oracle है, और इस प्रकार प्रत्येक H(SIGi) आर, 1, क्यूआर−1 राउंड आर के प्रत्येक संभावित लीडर आई के लिए अद्वितीय एक यादृच्छिक 256-बिट लंबी स्ट्रिंग है। इससे हम यह निष्कर्ष निकाल सकते हैं कि, यदि 256-बिट स्ट्रिंग Qr−1 स्वयं यादृच्छिक और स्वतंत्र रूप से होती चयनित, तो राउंड आर के सभी संभावित नेताओं की hashed क्रेडेंशियल होंगी। वास्तव में, सभी संभावित नेताओं को अच्छी तरह से परिभाषित किया गया है, और उनकी साख भी (चाहे वास्तव में गणना की गई हो या नहीं). इसके अलावा, राउंड आर के संभावित नेताओं का सेट राउंड के उपयोगकर्ताओं का एक यादृच्छिक उपसमूह है आर −के, और एक ईमानदार संभावित नेता मैं हमेशा अपने संदेश का उचित ढंग से निर्माण और प्रचार करता हूं श्रीमान मैं , जिसमें i का क्रेडेंशियल शामिल है। इस प्रकार, चूंकि ईमानदार उपयोगकर्ताओं का प्रतिशत h है, इससे कोई फर्क नहीं पड़ता दुर्भावनापूर्ण संभावित नेता ऐसा कर सकते हैं (उदाहरण के लिए, अपनी स्वयं की साख प्रकट करना या छिपाना), न्यूनतम hashed संभावित-नेता की साख एक ईमानदार उपयोगकर्ता की होती है, जिसे हर कोई आवश्यक रूप से पहचानता है राउंड आर का लीडर \(\ell\)r बनना। तदनुसार, यदि 256-बिट स्ट्रिंग Qr−1 स्वयं यादृच्छिक रूप से थी और स्वतंत्र रूप से चयनित, बिल्कुल संभावना के साथ (ए) नेता \(\ell\)r ईमानदार है और (बी) \(\ell\)j = \(\ell\)r सभी के लिए ईमानदार चरण-2 सत्यापनकर्ता जे. वास्तव में, hashed क्रेडेंशियल, हाँ, यादृच्छिक रूप से चुने गए हैं, लेकिन Qr−1 पर निर्भर करते हैं, जो कि हैबेतरतीब ढंग से और स्वतंत्र रूप से चयनित नहीं। हालाँकि, हम अपने विश्लेषण में साबित करेंगे कि Qr−1 है यह गारंटी देने के लिए पर्याप्त रूप से गैर-हेरफेर योग्य है कि एक दौर का नेता संभाव्यता के साथ ईमानदार है h' पर्याप्त रूप से h के करीब है: अर्थात्, h' > h2(1 + h −h2)। उदाहरण के लिए, यदि h = 80%, तो h′ > .7424। दौर के नेता की पहचान करने के बाद (जो वे तब सही ढंग से करते हैं जब नेता ईमानदार हो), चरण-2 सत्यापनकर्ताओं का कार्य प्रारंभिक मानों के रूप में उनका विश्वास करते हुए बीए को निष्पादित करना शुरू करना है नेता का ब्लॉक होना. दरअसल, आवश्यक संचार की मात्रा को कम करने के लिए, एक सत्यापनकर्ता j \(\in\)SV r,2 का उपयोग नहीं करता है, क्योंकि उसका इनपुट मान v′ है बीजान्टिन प्रोटोकॉल के लिए जे, ब्लॉक बी.जे वह वास्तव में \(\ell\)j (उपयोगकर्ता j को नेता मानता है) से प्राप्त हुआ है, लेकिन नेता, लेकिन उस ब्लॉक का hash, अर्थात, v′ जे = एच(बीआई). इस प्रकार, बीए प्रोटोकॉल की समाप्ति पर, सत्यापनकर्ता अंतिम चरण में वांछित राउंड-आर ब्लॉक बीआर की गणना न करें, बल्कि गणना करें (प्रमाणित करें और प्रचारित करें) एच(बीआर)। तदनुसार, चूंकि एच(बीआर) पर पर्याप्त रूप से कई सत्यापनकर्ताओं द्वारा डिजिटल हस्ताक्षर किए गए हैं BA प्रोटोकॉल के अंतिम चरण में, सिस्टम में उपयोगकर्ताओं को एहसास होगा कि H(Br) नए का hash है ब्लॉक. हालाँकि, उन्हें पुनः प्राप्त भी करना होगा (या प्रतीक्षा करनी होगी, क्योंकि निष्पादन काफी अतुल्यकालिक है)। Br को स्वयं ब्लॉक करें, जो प्रोटोकॉल सुनिश्चित करता है कि वास्तव में उपलब्ध है, इससे कोई फर्क नहीं पड़ता कि प्रतिद्वंद्वी क्या है कर सकता हूँ. अतुल्यकालिकता और समय Algorand ' 1 और Algorand' 2 में अतुल्यकालिकता की महत्वपूर्ण डिग्री है। ऐसा इसलिए है क्योंकि प्रतिद्वंद्वी के पास संदेशों की डिलीवरी को शेड्यूल करने में बड़ी छूट है प्रचारित किया गया। इसके अलावा, एक राउंड में चरणों की कुल संख्या सीमित है या नहीं, यह भी है भिन्नता वास्तव में उठाए गए कदमों की संख्या से योगदान करती है। जैसे ही उसे B0 का प्रमाणपत्र पता चलता है। . . , Br−1, एक उपयोगकर्ता i Qr−1 की गणना करता है और काम करना शुरू कर देता है राउंड आर पर, जाँच कर रहा है कि क्या वह एक संभावित नेता है, या राउंड आर के कुछ चरणों में एक सत्यापनकर्ता है। यह मानते हुए कि मुझे चर्चा की गई अतुल्यकालिकता के आलोक में चरणों पर कार्य करना चाहिए, मैं विभिन्न पर भरोसा करता हूं यह सुनिश्चित करने के लिए रणनीतियाँ कि कार्य करने से पहले उसके पास पर्याप्त जानकारी हो। उदाहरण के लिए, वह सत्यापनकर्ताओं से कम से कम एक निश्चित संख्या में संदेश प्राप्त करने की प्रतीक्षा कर सकता है पिछला चरण, या यह सुनिश्चित करने के लिए पर्याप्त समय तक प्रतीक्षा करें कि उसे पर्याप्त रूप से संदेश प्राप्त हों पिछले चरण के कई सत्यापनकर्ता। बीज Qr और लुक-बैक पैरामीटर k याद रखें कि, आदर्श रूप से, Qr की मात्रा होनी चाहिए यादृच्छिक और स्वतंत्र, हालांकि यह उनके लिए पर्याप्त रूप से गैर-हेरफेर योग्य होगा विरोधी. पहली नज़र में, हम H से मेल खाने के लिए Qr−1 चुन सकते हैं भुगतान r−1 , और इस प्रकार से बचें Br−1 में स्पष्ट रूप से Qr−1 निर्दिष्ट करें। हालाँकि, एक प्रारंभिक विश्लेषण से पता चलता है कि दुर्भावनापूर्ण उपयोगकर्ता हो सकते हैं इस चयन तंत्र का लाभ उठाएं।11 कुछ अतिरिक्त प्रयासों से पता चलता है कि असंख्य अन्य 11हम राउंड आर -1 की शुरुआत में हैं। इस प्रकार, Qr−2 = PAY r−2 सार्वजनिक रूप से ज्ञात है, और प्रतिद्वंद्वी निजी तौर पर वह जानता है कि उसके द्वारा नियंत्रित किये जाने वाले संभावित नेता कौन हैं। मान लें कि विरोधी 10% उपयोगकर्ताओं को नियंत्रित करता है, और कि, बहुत अधिक संभावना के साथ, एक दुर्भावनापूर्ण उपयोगकर्ता w राउंड r −1 का संभावित नेता है। यानी मान लीजिये एच एसआईजीडब्ल्यू आर −2, 1, क्यूआर−2 यह इतना छोटा है कि यह बेहद असंभव है कि कोई ईमानदार संभावित नेता वास्तव में होगा राउंड आर −1 का नेता। (याद रखें, चूँकि हम संभावित नेताओं को एक गुप्त क्रिप्टोग्राफ़िक सॉर्टिशन तंत्र के माध्यम से चुनते हैं, प्रतिद्वंद्वी को यह नहीं पता कि ईमानदार संभावित नेता कौन हैं।) इसलिए, प्रतिद्वंद्वी ईर्ष्यालु है वह जो भुगतान सेट PAY ′ चाहता है उसे चुनने की स्थिति, और क्या यह राउंड आर −1 का आधिकारिक भुगतान बन गया है। हालाँकि, वह और अधिक कर सकता है. वह यह भी सुनिश्चित कर सकता है कि, उच्च संभावना के साथ, () उसका कोई दुर्भावनापूर्ण उपयोगकर्ता नेता होगा राउंड आर का भी, ताकि वह स्वतंत्र रूप से चयन कर सके कि PAY r क्या होगा। (और इसी तरह। कम से कम लंबे समय तक, यानी, जब तक ये उच्च-संभावना वाली घटनाएं वास्तव में घटित होती हैं।) गारंटी देने के लिए (), प्रतिद्वंद्वी निम्नानुसार कार्य करता है। भुगतान करने दो'' राउंड आर −1 के लिए प्रतिद्वंद्वी द्वारा पसंद किया जाने वाला भुगतान सेट हो। फिर, वह H(PAY ′) की गणना करता है और जाँचता है कि क्या, कुछ के लिए पहले से ही दुर्भावनापूर्ण प्लेयर z, SIGz(r, 1, H(PAY ′)) विशेष रूप से छोटा है, यानी इतना छोटा कि बहुत अधिक के साथ प्रायिकता z राउंड आर का लीडर होगा। यदि यह मामला है, तो वह डब्ल्यू को अपना उम्मीदवार ब्लॉक चुनने का निर्देश देता हैयह सुनिश्चित करने के लिए पारंपरिक ब्लॉक मात्राओं पर आधारित विकल्पों का प्रतिद्वंद्वी द्वारा आसानी से उपयोग किया जा सकता है दुर्भावनापूर्ण नेता बहुत बार होते हैं। इसके बजाय हम अपने ब्रांड को विशेष रूप से और आगमनात्मक रूप से परिभाषित करते हैं नई मात्रा क्यूआर ताकि यह साबित करने में सक्षम हो सके कि यह प्रतिद्वंद्वी द्वारा गैर-हेरफेर योग्य है। अर्थात्, Qr \(\triangleq\)H(SIG\(\ell\)r(Qr−1), r), यदि Br खाली ब्लॉक नहीं है, और Qr \(\triangleq\)H(Qr−1, r) अन्यथा। क्यूआर का यह निर्माण क्यों काम करता है इसका अंतर्ज्ञान इस प्रकार है। एक पल के लिए मान लीजिए कि Qr−1 वास्तव में यादृच्छिक रूप से और स्वतंत्र रूप से चुना गया है। तो फिर, क्या क्यूआर भी ऐसा ही होगा? जब \(\ell\)r ईमानदार है उत्तर (मोटे तौर पर) हाँ है। ऐसा इसलिए है क्योंकि H(SIG\(\ell\)r( \(\cdot\) ), r) : {0, 1}256 −→{0, 1}256 एक यादृच्छिक कार्य है. हालाँकि, जब \(\ell\)r दुर्भावनापूर्ण होता है, तो Qr अब Qr−1 से एकतरफा परिभाषित नहीं होता है और \(\ell\)r. Qr के लिए कम से कम दो अलग-अलग मान हैं। एक Qr \(\triangleq\)H(SIG\(\ell\)r(Qr−1), r) बना रहता है। और दूसरा H(Qr−1, r) है। आइए पहले हम यह तर्क दें कि, जबकि दूसरा विकल्प कुछ हद तक मनमाना है, दूसरा विकल्प बिल्कुल अनिवार्य है। इसका कारण यह है कि एक दुर्भावनापूर्ण \(\ell\)r हमेशा कारण बन सकता है दूसरे चरण के ईमानदार सत्यापनकर्ताओं द्वारा पूरी तरह से अलग-अलग उम्मीदवार ब्लॉक प्राप्त किए जाएंगे।12 एक बार इस मामले में, यह सुनिश्चित करना आसान है कि ब्लॉक अंततः बीए प्रोटोकॉल के माध्यम से सहमत हो गया है राउंड आर डिफ़ॉल्ट होगा, और इस प्रकार इसमें Qr−1 के किसी के डिजिटल हस्ताक्षर शामिल नहीं होंगे। लेकिन सिस्टम को जारी रहना चाहिए, और इसके लिए इसे राउंड आर के लिए एक नेता की आवश्यकता है। यदि यह नेता स्वचालित रूप से है और खुले तौर पर चुना गया, तो विरोधी उसे तुच्छ रूप से भ्रष्ट कर देगा। यदि यह पिछले द्वारा चयनित है Qr−1 उसी प्रक्रिया के माध्यम से, \(\ell\)r फिर से राउंड r+1 में अग्रणी होगा। हम विशेष रूप से प्रस्ताव करते हैं उसी गुप्त क्रिप्टोग्राफ़िक सॉर्टिशन तंत्र का उपयोग करें, लेकिन एक नई क्यू-मात्रा पर लागू करें: अर्थात्, H(Qr−1, r). इस मात्रा को H का आउटपुट मानकर यह गारंटी देता है कि आउटपुट यादृच्छिक है, और H के दूसरे इनपुट के रूप में r को शामिल करके, जबकि H के अन्य सभी उपयोगों में एक या 3+ इनपुट हैं, "गारंटी" देता है कि ऐसा क्यूआर स्वतंत्र रूप से चुना गया है। फिर से, वैकल्पिक क्यूआर की हमारी विशिष्ट पसंद इससे कोई फर्क नहीं पड़ता, फर्क यह है कि \(\ell\)r के पास Qr के लिए दो विकल्प हैं, और इस प्रकार वह अपनी संभावनाओं को दोगुना कर सकता है अगले नेता के रूप में किसी अन्य दुर्भावनापूर्ण उपयोगकर्ता को रखना। दुर्भावनापूर्ण \(\ell\)r को नियंत्रित करने वाले प्रतिद्वंद्वी के लिए Qr के विकल्प और भी अधिक हो सकते हैं। उदाहरण के लिए, मान लें कि x, y और z राउंड आर के तीन दुर्भावनापूर्ण संभावित नेता हैं एच \(\sigma\)r,1 एक्स  < एच \(\sigma\)r,1 य  < एच \(\sigma\)r,1 z  और एच  \(\sigma\)r,1 z  विशेष रूप से छोटा है. यानी इतना छोटा कि इसकी अच्छी संभावना है कि एच  \(\sigma\)r,1 z  है प्रत्येक ईमानदार संभावित नेता की hashed साख से छोटा। फिर, x से उसे छिपाने के लिए कहकर क्रेडेंशियल, प्रतिद्वंद्वी के पास वाई राउंड आर -1 का नेता बनने का अच्छा मौका है। यह तात्पर्य यह है कि उसके पास Qr के लिए एक और विकल्प है: अर्थात्, SIGy Qr−1 . इसी प्रकार, प्रतिद्वंद्वी भी ऐसा कर सकता है x और y दोनों से उनकी साख वापस लेने के लिए कहें, ताकि z राउंड r −1 का लीडर बन जाए और Qr के लिए एक और विकल्प प्राप्त कर रहा है: अर्थात्, SIGz Qr−1 . बेशक, हालांकि, इनमें से प्रत्येक और अन्य विकल्पों के विफल होने की एक गैर-शून्य संभावना है, क्योंकि प्रतिद्वंद्वी ईमानदार संभावित उपयोगकर्ताओं के डिजिटल हस्ताक्षरों के hash का अनुमान नहीं लगा सकता। ब्र−1 मैं = (r −1, PAY ′, H(Br−2)। अन्यथा, उसके पास दो अन्य दुर्भावनापूर्ण उपयोगकर्ता x और y हैं जो नया भुगतान उत्पन्न करते रहते हैं \(\wp\)′, एक से दूसरे तक, जब तक, कुछ दुर्भावनापूर्ण उपयोगकर्ता z के लिए (या यहां तक कि कुछ निश्चित उपयोगकर्ता z के लिए) H (SIGz (PAY ′ \(\cup\){\(\wp\)})) है विशेष रूप से छोटा भी. यह प्रयोग बहुत जल्दी बंद हो जाएगा. और जब ऐसा होता है तो विरोधी प्रस्ताव देने के लिए कहता है उम्मीदवार ब्लॉक Br−1 मैं = (r −1, PAY ′ \(\cup\){\(\wp\)}, H(Br−2). 12उदाहरण के लिए, इसे सरल (लेकिन चरम) रखने के लिए, "जब दूसरे चरण का समय समाप्त होने वाला हो", \(\ell\)r कर सकता है प्रत्येक उपयोगकर्ता को सीधे एक अलग उम्मीदवार ब्लॉक Bi ईमेल करें। इस तरह, चरण-2 सत्यापनकर्ता कोई भी हों, वे पूरी तरह से अलग-अलग ब्लॉक प्राप्त होंगे।एक सावधानीपूर्वक, मार्कोव-श्रृंखला-जैसे विश्लेषण से पता चलता है कि, इससे कोई फर्क नहीं पड़ता कि प्रतिद्वंद्वी कौन सा विकल्प चुनता है राउंड आर −1 पर बनाने के लिए, जब तक वह सिस्टम में नए उपयोगकर्ताओं को शामिल नहीं कर सकता, वह कम नहीं कर सकता एक ईमानदार उपयोगकर्ता के राउंड आर + 40 का लीडर बनने की संभावना एच से काफी नीचे है। यही कारण है हम मांग करते हैं कि राउंड आर के संभावित नेता राउंड आर −k में पहले से मौजूद उपयोगकर्ता हों। यह सुनिश्चित करने का एक तरीका है कि, राउंड r -k पर, प्रतिद्वंद्वी इस संभावना को बहुत अधिक नहीं बदल सकता है कि एक ईमानदार उपयोगकर्ता राउंड आर का नेता बन जाता है। वास्तव में, इससे कोई फर्क नहीं पड़ता कि वह कौन से उपयोगकर्ता जोड़ सकता है राउंड आर −के से आर तक सिस्टम में, वे संभावित नेता बनने के लिए अयोग्य हैं (और एक फोर्टियोरी) नेता) राउंड आर के। इस प्रकार लुक-बैक पैरामीटर k अंततः एक सुरक्षा पैरामीटर है। (हालांकि, जैसा कि हम धारा 7 में देखेंगे, यह एक प्रकार का "सुविधा पैरामीटर" भी हो सकता है।) क्षणिक कुंजियाँ हालाँकि हमारे प्रोटोकॉल का निष्पादन एक कांटा उत्पन्न नहीं कर सकता है, सिवाय इसके नगण्य संभावना, प्रतिद्वंद्वी वैध के बाद, आरटी ब्लॉक पर एक कांटा उत्पन्न कर सकता है ब्लॉक आर उत्पन्न हो गया है। मोटे तौर पर, एक बार Br उत्पन्न हो जाने के बाद, प्रतिद्वंद्वी को यह पता चल जाता है कि प्रत्येक चरण के सत्यापनकर्ता कौन हैं राउंड आर के हैं. इस प्रकार, वह उन सभी को भ्रष्ट कर सकता है और उन्हें एक नए ब्लॉक को प्रमाणित करने के लिए बाध्य कर सकता है च ब्र. चूँकि यह नकली ब्लॉक केवल वैध ब्लॉक के बाद ही प्रचारित किया जा सकता है, जो उपयोगकर्ता रहे हैं ध्यान देने से मूर्ख नहीं बनाया जा सकेगा।13 फिर भी, एफ Br वाक्यात्मक दृष्टि से सही होगा और हम बनने से रोकना चाहते हैं. हम एक नये नियम के जरिये ऐसा करते हैं. अनिवार्य रूप से, सत्यापनकर्ता के सदस्य एक चरण के एसवी आर, एस सेट करते हैं राउंड आर के लिए अल्पकालिक सार्वजनिक कुंजी पीकेआर, एस का उपयोग करें मैं उनके संदेशों पर डिजिटल हस्ताक्षर करने के लिए। ये कुंजियाँ केवल एकल उपयोग के लिए हैं और उनसे संबंधित गुप्त कुंजियाँ skr,s हैं मैं एक बार उपयोग करने के बाद नष्ट हो जाते हैं। इस तरह, यदि कोई सत्यापनकर्ता है बाद में भ्रष्ट हो जाने पर, विरोधी उसे किसी अन्य चीज़ पर हस्ताक्षर करने के लिए बाध्य नहीं कर सकता जिस पर उसने मूल रूप से हस्ताक्षर नहीं किए थे। स्वाभाविक रूप से, हमें यह सुनिश्चित करना चाहिए कि प्रतिद्वंद्वी के लिए नई कुंजी जी की गणना करना असंभव है पीआर,एस मैं और एक ईमानदार उपयोगकर्ता को विश्वास दिलाएं कि यह चरण एस में उपयोग करने के लिए सत्यापनकर्ता आई \(\in\)एसवी आर,एस की सही अल्पकालिक कुंजी है। 4.2 नोटेशन, धारणाओं और पैरामीटर्स का सामान्य सारांश संकेतन • आर \(\geq\)0: वर्तमान राउंड संख्या। • s \(\geq\)1: राउंड आर में वर्तमान चरण संख्या। • बीआर: राउंड आर में उत्पन्न ब्लॉक। • पीकेआर: राउंड आर -1 के अंत तक और राउंड आर की शुरुआत में सार्वजनिक कुंजियों का सेट। • सीनियर: राउंड आर −1 के अंत तक और राउंड आर.14 की शुरुआत में सिस्टम की स्थिति • PAY r: Br में निहित भुगतान। • \(\ell\)r: राउंड-आर लीडर। \(\ell\)r राउंड आर का पेसेट PAY r चुनता है (और अगला Qr निर्धारित करता है)। • क्यूआर: राउंड आर का बीज, एक मात्रा (यानी, बाइनरी स्ट्रिंग) जो राउंड आर के अंत में उत्पन्न होती है और इसका उपयोग राउंड आर + 1 के लिए सत्यापनकर्ताओं को चुनने के लिए किया जाता है। क्यूआर ब्लॉक में भुगतान सेट से स्वतंत्र है और \(\ell\)r द्वारा हेरफेर नहीं किया जा सकता। 13 एक प्रमुख टीवी नेटवर्क के समाचार एंकर को भ्रष्ट करने और आज एक न्यूज़रील का निर्माण और प्रसारण करने पर विचार करें पिछले राष्ट्रपति चुनाव में सचिव क्लिंटन को जीतते हुए दिखाया गया है। हममें से अधिकांश लोग इसे एक धोखा के रूप में पहचानेंगे। लेकिन कोमा से बाहर आने वाले किसी व्यक्ति को मूर्ख बनाया जा सकता है। 14 ऐसी प्रणाली में जो समकालिक नहीं है, "राउंड आर -1 का अंत" और "राउंड आर की शुरुआत" की धारणा सावधानीपूर्वक परिभाषित करने की आवश्यकता है। गणितीय रूप से, PKr और Sr की गणना प्रारंभिक स्थिति S0 और ब्लॉक से की जाती है बी1, . . . , ब्र−1.• एसवी आर,एस: राउंड आर के चरण एस के लिए चुने गए सत्यापनकर्ताओं का सेट। • एसवी आर: राउंड आर, एसवी आर = \(\cup\)s\(\geq\)1SV आर, एस के लिए चुने गए सत्यापनकर्ताओं का सेट। • एमएसवी आर,एस और एचएसवी आर,एस: क्रमशः, दुर्भावनापूर्ण सत्यापनकर्ताओं का सेट और ईमानदार सत्यापनकर्ताओं का सेट एसवी आर,एस में। एमएसवी आर,एस \(\cup\)एचएसवी आर,एस = एसवी आर,एस और एमएसवी आर,एस ∩एचएसवी आर,एस = \(\emptyset\). • n1 \(\in\)Z+ और n \(\in\)Z+: क्रमशः, प्रत्येक SV r,1 में संभावित नेताओं की अपेक्षित संख्या, और s > 1 के लिए प्रत्येक SV r,s में सत्यापनकर्ताओं की अपेक्षित संख्या। ध्यान दें कि n1 << n, चूँकि हमें SV r,1 में कम से कम एक ईमानदार ईमानदार सदस्य की आवश्यकता है, लेकिन कम से कम एस > 1 के लिए प्रत्येक एसवी आर, एस में अधिकांश ईमानदार सदस्य। • h \(\in\)(0, 1): 2/3 से बड़ा स्थिरांक। h सिस्टम में ईमानदारी का अनुपात है। अर्थात प्रत्येक पीकेआर में उपयोग की गई धारणा के आधार पर ईमानदार उपयोगकर्ताओं या ईमानदार धन का अंश है कम से कम एच. • एच: एक क्रिप्टोग्राफ़िक hash फ़ंक्शन, जिसे यादृच्छिक oracle के रूप में तैयार किया गया है। • \(\bot\): H के आउटपुट के समान लंबाई की एक विशेष स्ट्रिंग। • एफ \(\in\)(0, 1): अनुमत त्रुटि संभावना निर्दिष्ट करने वाला पैरामीटर। एक प्रायिकता \(\leq\)F है "नगण्य" माना जाता है, और एक संभावना \(\geq\)1 −F को "भारी" माना जाता है। • ph \(\in\)(0, 1): संभावना है कि एक राउंड r, \(\ell\)r का नेता ईमानदार है। आदर्शतः ph = h. साथ प्रतिद्वंद्वी के अस्तित्व, पीएच का मान विश्लेषण में निर्धारित किया जाएगा। • k \(\in\)Z+: लुक-बैक पैरामीटर। यानी, राउंड आर −k वह जगह है जहां राउंड आर के लिए सत्यापनकर्ता हैं से चुना गया - अर्थात्, SV r \(\subseteq\)PKr−k.15 • p1 \(\in\)(0, 1): राउंड r के पहले चरण के लिए, राउंड r −k में एक उपयोगकर्ता को SV r,1 में चुना जाता है संभाव्यता p1 \(\triangleq\) n1 |पी क्र−क|. • p \(\in\)(0, 1): राउंड r के प्रत्येक चरण s > 1 के लिए, राउंड r −k में एक उपयोगकर्ता को SV r,s में चुना जाता है। संभाव्यता पी \(\triangleq\) एन |पी क्र−क|. • CERT r: ब्र के लिए प्रमाणपत्र। यह उचित सत्यापनकर्ताओं से H(Br) के TH हस्ताक्षरों का एक सेट है गोल आर. • Br \(\triangleq\)(Br, CERT r) एक सिद्ध ब्लॉक है। एक उपयोगकर्ता जिसे मैं Br जानता हूं यदि उसके पास सिद्ध ब्लॉक के दोनों भाग हैं (और सफलतापूर्वक सत्यापित हैं)। ध्यान दें कि अलग-अलग उपयोगकर्ताओं द्वारा देखा गया CERT अलग-अलग हो सकता है। • τ आर i : वह (स्थानीय) समय जब मैं एक उपयोगकर्ता को जानता हूं Br. Algorand प्रोटोकॉल में प्रत्येक उपयोगकर्ता का अपना होता है अपनी घड़ी. विभिन्न उपयोगकर्ताओं की घड़ियों को सिंक्रनाइज़ करने की आवश्यकता नहीं है, लेकिन उनकी गति समान होनी चाहिए। केवल विश्लेषण के उद्देश्य से, हम एक संदर्भ घड़ी पर विचार करते हैं और खिलाड़ियों की क्षमता को मापते हैं इसके संबंध में संबंधित समय. • \(\alpha\)r,s मैं और \(\beta\)r,s i: क्रमशः (स्थानीय) समय जब उपयोगकर्ता i अपने चरण का निष्पादन प्रारंभ और समाप्त करता है गोल आर. • Λ और \(\lambda\): अनिवार्य रूप से, क्रमशः, चरण 1 और को निष्पादित करने के लिए आवश्यक समय की ऊपरी सीमा Algorand प्रोटोकॉल के किसी अन्य चरण के लिए आवश्यक समय। पैरामीटर Λ एकल 1एमबी ब्लॉक को प्रचारित करने के समय को ऊपरी सीमा में रखता है। (हमारे नोटेशन में, Λ = \(\lambda\) \(\rho\),1MB. हमारे अंकन को याद करते हुए, हमने सरलता के लिए \(\rho\) = 1 निर्धारित किया है, और वह ब्लॉक हैं अधिकतम 1एमबी-लंबा चुना गया, हमारे पास Λ = \(\lambda\)1,1,1एमबी है।) 15सख्ती से कहें तो, "r −k" "max{0, r −k}" होना चाहिए।पैरामीटर \(\lambda\) चरण s > 1 में प्रति सत्यापनकर्ता एक छोटे संदेश को प्रसारित करने के समय को ऊपरी सीमा में रखता है। (Bitcoin की तरह, 32B कुंजियों के साथ अण्डाकार वक्र हस्ताक्षरों का उपयोग करके, एक सत्यापनकर्ता संदेश 200B लंबा होता है। इस प्रकार, हमारे अंकन में, \(\lambda\) = \(\lambda\)n,\(\rho\),200B.) हम मानते हैं कि Λ = O(\(\lambda\)). धारणाएँ • सत्यापनकर्ता चयन. प्रत्येक राउंड r और चरण s > 1 के लिए, SV r,s \(\triangleq\){i \(\in\)PKr−k : .H(SIGi(r, s, Qr−1)) \(\leq\)p}। प्रत्येक उपयोगकर्ता i \(\in\)PKr−k निजी तौर पर अपनी दीर्घकालिक कुंजी का उपयोग करके अपने हस्ताक्षर की गणना करता है और निर्णय लेता है कि क्या i \(\in\)SV r,s या नहीं। यदि i \(\in\)SV r,s, तो SIGi(r, s, Qr−1) i's (r, s)-क्रेडेंशियल है, जिसे संक्षिप्त रूप से दर्शाया गया है \(\sigma\)r,s द्वारा मैं . राउंड r, SV r,1 और \(\sigma\)r,1 के पहले चरण के लिए मैं समान रूप से परिभाषित किए गए हैं, जिसमें p को p1 द्वारा प्रतिस्थापित किया गया है। द एसवी आर,1 में सत्यापनकर्ता संभावित नेता हैं। • नेता चयन. उपयोगकर्ता i \(\in\)SV r,1 राउंड r का लीडर है, जिसे \(\ell\)r द्वारा दर्शाया जाता है, यदि H(\(\sigma\)r,1) मैं ) \(\leq\)H(\(\sigma\)r,1 j ) सभी संभावनाओं के लिए नेता जे \(\in\)एसवी आर,1. जब भी दो खिलाड़ियों के hashes की तुलना की जाती है, तो असंभावित स्थिति में संबंधों की घटना, प्रोटोकॉल हमेशा दीर्घकालिक सार्वजनिक के अनुसार संबंधों को तोड़ता है संभावित नेताओं की चाबियाँ। परिभाषा के अनुसार, प्लेयर \(\ell\)r के क्रेडेंशियल का hash मान भी सभी उपयोगकर्ताओं के बीच सबसे छोटा है पीकेआर−के. ध्यान दें कि एक संभावित नेता निजी तौर पर यह तय नहीं कर सकता कि वह नेता है या नहीं, अन्य संभावित नेताओं की साख देखे बिना। चूंकि hash मान यादृच्छिक रूप से एक समान होते हैं, जब SV r,1 गैर-रिक्त होता है, तो \(\ell\)r हमेशा मौजूद होता है और होता है संभाव्यता के साथ ईमानदार कम से कम ज. पैरामीटर n1 इतना बड़ा है कि यह सुनिश्चित किया जा सके कि प्रत्येक एसवी आर,1 अत्यधिक संभावना के साथ गैर-रिक्त है। • ब्लॉक संरचना. एक गैर-रिक्त ब्लॉक Br = (r, PAY r, SIG\(\ell\)r(Qr−1), H(Br−1)) के रूप का होता है, और एक खाली ब्लॉक ब्र रूप का है ǫ = (r, \(\emptyset\), Qr−1, H(Br−1)). ध्यान दें कि यदि कोई भुगतान नहीं होता है, तो एक गैर-रिक्त ब्लॉक में अभी भी एक खाली पेसेट PAY r हो सकता है यह दौर या यदि नेता दुर्भावनापूर्ण है। हालाँकि, एक गैर-रिक्त ब्लॉक का तात्पर्य है कि की पहचान \(\ell\)r, उसकी साख \(\sigma\)r,1 \(\ell\)r और SIG\(\ell\)r(Qr−1) सभी का समय पर खुलासा किया गया है। प्रोटोकॉल गारंटी देता है कि, यदि नेता ईमानदार है, तो अत्यधिक संभावना के साथ ब्लॉक खाली नहीं होगा। • बीज Qr. यदि Br गैर-रिक्त है, तो Qr \(\triangleq\)H(SIG\(\ell\)r(Qr−1), r), अन्यथा Qr \(\triangleq\)H(Qr−1, r)। पैरामीटर्स • विभिन्न मापदंडों के बीच संबंध। - राउंड आर के सत्यापनकर्ताओं और संभावित नेताओं को पीकेआर−के में उपयोगकर्ताओं से चुना जाता है, जहां k को चुना गया है ताकि प्रतिद्वंद्वी r -k -1 के दौर में Qr−1 की भविष्यवाणी न कर सके एफ से बेहतर संभावना के साथ: अन्यथा, वह दुर्भावनापूर्ण उपयोगकर्ताओं को पेश करने में सक्षम होगा राउंड आर −के के लिए, ये सभी राउंड आर में सफल होने वाले संभावित नेता/सत्यापनकर्ता होंगे

कुछ कदमों के लिए एसवी आर,एस में एक दुर्भावनापूर्ण नेता या दुर्भावनापूर्ण बहुमत होना वांछित है उसे. - प्रत्येक राउंड r के चरण 1 के लिए, n1 को चुना जाता है ताकि अत्यधिक संभावना के साथ, SV r,1 ̸= \(\emptyset\)। • महत्वपूर्ण मापदंडों के उदाहरण विकल्प। — H के आउटपुट 256-बिट लंबे हैं। - एच = 80%, एन1 = 35। - Λ = 1 मिनट और \(\lambda\) = 10 सेकंड। • प्रोटोकॉल का आरंभीकरण. प्रोटोकॉल समय 0 पर r = 0 के साथ शुरू होता है। चूँकि "B−1" या "CERT −1" मौजूद नहीं है, वाक्यविन्यास की दृष्टि से B−1 एक सार्वजनिक पैरामीटर है जिसका तीसरा घटक Q−1 और सभी उपयोगकर्ताओं को निर्दिष्ट करता है समय 0 पर B−1 जानें।

Algorand ′

\(\text{Algorand}^\prime\)

1 In this section, we construct a version of \(\text{Algorand}^\prime\) working under the following assumption. Honest Majority of Users Assumption: More than 2/3 of the users in each \(PK^r\) are honest. In Section 8, we show how to replace the above assumption with the desired Honest Majority of Money assumption. 5.1 Additional Notations and Parameters Notations • \(m \in \mathbb{Z}^+\): the maximum number of steps in the binary BA protocol, a multiple of 3. • \(L_r \leq m/3\): a random variable representing the number of Bernoulli trials needed to see a 1, when each trial is 1 with probability \(\frac{p_h}{2}\) and there are at most \(m/3\) trials. If all trials fail then \(L_r \triangleq m/3\). \(L_r\) will be used to upper-bound the time needed to generate block \(B_r\). • \(t_H = \frac{2n}{3} + 1\): the number of signatures needed in the ending conditions of the protocol. • \(CERT_r\): the certificate for \(B_r\). It is a set of \(t_H\) signatures of \(H(B_r)\) from proper verifiers in round \(r\). Parameters • Relationships among various parameters. — For each step \(s > 1\) of round \(r\), \(n\) is chosen so that, with overwhelming probability, \(|HSV^{r,s}| > 2|MSV^{r,s}|\) and \(|HSV^{r,s}| + 4|MSV^{r,s}| < 2n\). The closer to 1 the value of \(h\) is, the smaller \(n\) needs to be. In particular, we use (variants of) Chernoffbounds to ensure the desired conditions hold with overwhelming probability. — \(m\) is chosen such that \(L_r < m/3\) with overwhelming probability. • Example choices of important parameters. — \(F = 10^{-12}\). — \(n \approx 1500\), \(k = 40\) and \(m = 180\).

5.2 Implementing Ephemeral Keys in \(\text{Algorand}'_1\)

As already mentioned, we wish that a verifier \(i \in SV^{r,s}\) digitally signs his message \(m_i^{r,s}\) of step \(s\) in round \(r\), relative to an ephemeral public key \(pk_i^{r,s}\), using an ephemeral secrete key \(sk_i^{r,s}\) that he promptly destroys after using. We thus need an efficient method to ensure that every user can verify that \(pk_i^{r,s}\) is indeed the key to use to verify \(i\)'s signature of \(m_i^{r,s}\). We do so by a (to the best of our knowledge) new use of identity-based signature schemes. At a high level, in such a scheme, a central authority A generates a public master key, PMK, and a corresponding secret master key, SMK. Given the identity, U, of a player U, A computes, via SMK, a secret signature key skU relative to the public key U, and privately gives skU to U. (Indeed, in an identity-based digital signature scheme, the public key of a user U is U itself!) This way, if A destroys SMK after computing the secret keys of the users he wants to enable to produce digital signatures, and does not keep any computed secret key, then U is the only one who can digitally sign messages relative to the public key U. Thus, anyone who knows “U’s name”, automatically knows U’s public key, and thus can verify U’s signatures (possibly using also the public master key PMK). In our application, the authority A is user \(i\), and the set of all possible users U coincides with the round-step pair \((r, s)\) in —say— \(S = \{i\} \times \{r', \ldots, r' + 10^6\} \times \{1, \ldots, m+3\}\), where \(r'\) is a given round, and \(m + 3\) the upperbound to the number of steps that may occur within a round. This way, \(pk_i^{r,s} \triangleq (i, r, s)\), so that everyone seeing \(i\)'s signature \(\text{SIG}_{pk_i^{r,s}}^{r,s}(m_i^{r,s})\) can, with overwhelming probability, immediately verify it for the first million rounds \(r\) following \(r'\). In other words, \(i\) first generates \(PMK\) and \(SMK\). Then, he publicizes that \(PMK\) is \(i\)'s master public key for any round \(r \in [r', r' + 10^6]\), and uses \(SMK\) to privately produce and store the secret key \(sk_i^{r,s}\) for each triple \((i, r, s) \in S\). This done, he destroys \(SMK\). If he determines that he is not part of \(SV^{r,s}\), then \(i\) may leave \(sk_i^{r,s}\) alone (as the protocol does not require that he aunthenticates any message in Step \(s\) of round \(r\)). Else, \(i\) first uses \(sk_i^{r,s}\) to digitally sign his message \(m_i^{r,s}\), and then destroys \(sk_i^{r,s}\). Note that \(i\) can publicize his first public master key when he first enters the system. That is, the same payment \(\wp\) that brings \(i\) into the system (at a round \(r'\) or at a round close to \(r'\)), may also specify, at \(i\)'s request, that \(i\)'s public master key for any round \(r \in [r', r' + 10^6]\) is \(PMK\) —e.g., by including a pair of the form \((PMK, [r', r' + 10^6])\). Also note that, since \(m + 3\) is the maximum number of steps in a round, assuming that a round takes a minute, the stash of ephemeral keys so produced will last \(i\) for almost two years. At the same time, these ephemeral secret keys will not take \(i\) too long to produce. Using an elliptic-curve based system with 32B keys, each secret key is computed in a few microseconds. Thus, if \(m + 3 = 180\), then all 180M secret keys can be computed in less than one hour. When the current round is getting close to \(r' + 10^6\), to handle the next million rounds, \(i\) generates a new \((PMK', SMK')\) pair, and informs what his next stash of ephemeral keys is by —for example— having \(\text{SIG}_i(PMK', [r' + 10^6 + 1, r' + 2 \cdot 10^6 + 1])\) enter a new block, either as a separate "transaction" or as some additional information that is part of a payment. By so doing, \(i\) informs everyone that he/she should use \(PMK'\) to verify \(i\)'s ephemeral signatures in the next million rounds. And so on. (Note that, following this basic approach, other ways for implementing ephemeral keys without using identity-based signatures are certainly possible. For instance, via Merkle trees.16) 16In this method, \(i\) generates a public-secret key pair \((pk_i^{r,s}, sk_i^{r,s})\) for each round-step pair \((r, s)\) in —say—

Other ways for implementing ephemeral keys are certainly possible —e.g., via Merkle trees. 5.3 Matching the Steps of \(\text{Algorand}'_1\) with those of \(\text{BA}^\star\) As we said, a round in \(\text{Algorand}'_1\) has at most \(m + 3\) steps. Step 1. In this step, each potential leader \(i\) computes and propagates his candidate block \(B_i^r\), together with his own credential, \(\sigma_i^{r,1}\). Recall that this credential explicitly identifies \(i\). This is so, because \(\sigma_i^{r,1} \triangleq \text{SIG}_i(r, 1, Q_{r-1})\). Potential verifier \(i\) also propagates, as part of his message, his proper digital signature of \(H(B_i^r)\). Not dealing with a payment or a credential, this signature of \(i\) is relative to his ephemeral public key \(pk_i^{r,1}\): that is, he propagates \(\text{sig}_{pk_i^{r,1}}(H(B_i^r))\). Given our conventions, rather than propagating \(B_i^r\) and \(\text{sig}_{pk_i^{r,1}}(H(B_i^r))\), he could have propagated \(\text{SIG}_{pk_i^{r,1}}(H(B_i^r))\). However, in our analysis we need to have explicit access to \(\text{sig}_{pk_i^{r,1}}(H(B_i^r))\). Steps 2. In this step, each verifier \(i\) sets \(\ell_i^r\) to be the potential leader whose hashed credential is the smallest, and \(B_i^r\) to be the block proposed by \(\ell_i^r\). Since, for the sake of efficiency, we wish to agree on \(H(B_r)\), rather than directly on \(B_r\), \(i\) propagates the message he would have propagated in the first step of \(\text{BA}^\star\) with initial value \(v'_i = H(B_i^r)\). That is, he propagates \(v'_i\), after ephemerally signing it, of course. (Namely, after signing it relative to the right ephemeral public key, which in this case is \(pk_i^{r,2}\).) Of course too, \(i\) also transmits his own credential. Since the first step of \(\text{BA}^\star\) consists of the first step of the graded consensus protocol GC, Step 2 of \(\text{Algorand}^\prime\) corresponds to the first step of GC. Steps 3. In this step, each verifier \(i \in SV^{r,2}\) executes the second step of \(\text{BA}^\star\). That is, he sends the same message he would have sent in the second step of GC. Again, \(i\)'s message is ephemerally signed and accompanied by \(i\)'s credential. (From now on, we shall omit saying that a verifier ephemerally signs his message and also propagates his credential.) Step 4. In this step, every verifier \(i \in SV^{r,4}\) computes the output of GC, \((v_i, g_i)\), and ephemerally signs and sends the same message he would have sent in the third step of \(\text{BA}^\star\), that is, in the first step of \(\text{BBA}^\star\), with initial bit 0 if \(g_i = 2\), and 1 otherwise. Step \(s = 5, \ldots, m + 2\). Such a step, if ever reached, corresponds to step \(s - 1\) of \(\text{BA}^\star\), and thus to step \(s - 3\) of \(\text{BBA}^\star\). Since our propagation model is sufficiently asynchronous, we must account for the possibility that, in the middle of such a step \(s\), a verifier \(i \in SV^{r,s}\) is reached by information proving him that block \(B_r\) has already been chosen. In this case, \(i\) stops his own execution of round \(r\) of \(\text{Algorand}^\prime\), and starts executing his round-\((r + 1)\) instructions. \(\{r', \ldots, r' + 10^6\} \times \{1, \ldots, m + 3\}\). Then he orders these public keys in a canonical way, stores the \(j\)th public key in the \(j\)th leaf of a Merkle tree, and computes the root value \(R_i\), which he publicizes. When he wants to sign a message relative to key \(pk_i^{r,s}\), \(i\) not only provides the actual signature, but also the authenticating path for \(pk_i^{r,s}\) relative to \(R_i\). Notice that this authenticating path also proves that \(pk_i^{r,s}\) is stored in the \(j\)th leaf. The rest of the details can be easily filled.

Accordingly, the instructions of a verifier \(i \in SV^{r,s}\), in addition to the instructions corresponding to Step \(s - 3\) of \(\text{BBA}^\star\), include checking whether the execution of \(\text{BBA}^\star\) has halted in a prior Step \(s'\). Since \(\text{BBA}^\star\) can only halt is a Coin-Fixed-to-0 Step or in a Coin-Fixed-to-1 step, the instructions distinguish whether A (Ending Condition 0): \(s' - 2 \equiv 0 \bmod 3\), or B (Ending Condition 1): \(s' - 2 \equiv 1 \bmod 3\). In fact, in case A, the block \(B_r\) is non-empty, and thus additional instructions are necessary to ensure that \(i\) properly reconstructs \(B_r\), together with its proper certificate \(CERT_r\). In case B, the block \(B_r\) is empty, and thus \(i\) is instructed to set \(B_r = B_\epsilon^r = (r, \emptyset, H(Q_{r-1}, r), H(B_{r-1}))\), and to compute \(CERT_r\). If, during his execution of step \(s\), \(i\) does not see any evidence that the block \(B_r\) has already been generated, then he sends the same message he would have sent in step \(s - 3\) of \(\text{BBA}^\star\). Step \(m + 3\). If, during step \(m + 3\), \(i \in SV^{r,m+3}\) sees that the block \(B_r\) was already generated in a prior step \(s'\), then he proceeds just as explained above. Else, rather then sending the same message he would have sent in step \(m\) of \(\text{BBA}^\star\), \(i\) is instructed, based on the information in his possession, to compute \(B_r\) and its corresponding certificate \(CERT_r\). Recall, in fact, that we upperbound by \(m + 3\) the total number of steps of a round. 5.4 The Actual Protocol Recall that, in each step \(s\) of a round \(r\), a verifier \(i \in SV^{r,s}\) uses his long-term public-secret key pair to produce his credential, \(\sigma_i^{r,s} \triangleq \text{SIG}_i(r, s, Q_{r-1})\), as well as \(\text{SIG}_i(Q_{r-1})\) in case \(s = 1\). Verifier \(i\) uses his ephemeral secret key \(sk_i^{r,s}\) to sign his \((r, s)\)-message \(m_i^{r,s}\). For simplicity, when \(r\) and \(s\) are clear, we write \(esig_i(x)\) rather than \(sig_{pk_i^{r,s}}(x)\) to denote \(i\)'s proper ephemeral signature of a value \(x\) in step \(s\) of round \(r\), and write \(\text{ESIG}_i(x)\) instead of \(\text{SIG}_{pk_i^{r,s}}(x)\) to denote \((i, x, esig_i(x))\). Step 1: Block Proposal Instructions for every user \(i \in PK^{r-k}\): User \(i\) starts his own Step 1 of round \(r\) as soon as he knows \(B_{r-1}\). \(\bullet\) User \(i\) computes \(Q_{r-1}\) from the third component of \(B_{r-1}\) and checks whether \(i \in SV^{r,1}\) or not. \(\bullet\) If \(i \notin SV^{r,1}\), then \(i\) stops his own execution of Step 1 right away. \(\bullet\) If \(i \in SV^{r,1}\), that is, if \(i\) is a potential leader, then he collects the round-\(r\) payments that have been propagated to him so far and computes a maximal payset \(PAY_i^r\) from them. Next, he computes his "candidate block" \(B_i^r = (r, PAY_i^r, \text{SIG}_i(Q_{r-1}), H(B_{r-1}))\). Finally, he computes the message \(m_i^{r,1} = (B_i^r, esig_i(H(B_i^r)), \sigma_i^{r,1})\), destroys his ephemeral secret key \(sk_i^{r,1}\), and then propagates \(m_i^{r,1}\).

Remark. In practice, to shorten the global execution of Step 1, it is important that the \((r, 1)\)- messages are selectively propagated. That is, for every user \(i\) in the system, for the first \((r, 1)\)- message that he ever receives and successfully verifies,17 player \(i\) propagates it as usual. For all the other \((r, 1)\)-messages that player \(i\) receives and successfully verifies, he propagates it only if the hash value of the credential it contains is the smallest among the hash values of the credentials contained in all \((r, 1)\)-messages he has received and successfully verified so far. Furthermore, as suggested by Georgios Vlachos, it is useful that each potential leader \(i\) also propagates his credential \(\sigma_i^{r,1}\) separately: those small messages travel faster than blocks, ensure timely propagation of the \(m_j^{r,1}\)'s where the contained credentials have small hash values, while make those with large hash values disappear quickly. Step 2: The First Step of the Graded Consensus Protocol \(\text{GC}\) Instructions for every user \(i \in PK^{r-k}\): User \(i\) starts his own Step 2 of round \(r\) as soon as he knows \(B_{r-1}\). \(\bullet\) User \(i\) computes \(Q_{r-1}\) from the third component of \(B_{r-1}\) and checks whether \(i \in SV^{r,2}\) or not. \(\bullet\) If \(i \notin SV^{r,2}\) then \(i\) stops his own execution of Step 2 right away. \(\bullet\) If \(i \in SV^{r,2}\), then after waiting an amount of time \(t_2 \triangleq \lambda + \Lambda\), \(i\) acts as follows. 1. He finds the user \(\ell\) such that \(H(\sigma_\ell^{r,1}) \leq H(\sigma_j^{r,1})\) for all credentials \(\sigma_j^{r,1}\) that are part of the successfully verified \((r, 1)\)-messages he has received so far.a 2. If he has received from \(\ell\) a valid message \(m_\ell^{r,1} = (B_\ell^r, esig_\ell(H(B_\ell^r)), \sigma_\ell^{r,1})\),b then \(i\) sets \(v'_i \triangleq H(B_\ell^r)\); otherwise \(i\) sets \(v'_i \triangleq \bot\). 3. \(i\) computes the message \(m_i^{r,2} \triangleq (\text{ESIG}_i(v'_i), \sigma_i^{r,2})\),c destroys his ephemeral secret key \(sk_i^{r,2}\), and then propagates \(m_i^{r,2}\). aEssentially, user \(i\) privately decides that the leader of round \(r\) is user \(\ell\). bAgain, player \(\ell\)'s signatures and the hashes are all successfully verified, and \(PAY_\ell^r\) in \(B_\ell^r\) is a valid payset for round \(r\) —although \(i\) does not check whether \(PAY_\ell^r\) is maximal for \(\ell\) or not. cThe message \(m_i^{r,2}\) signals that player \(i\) considers \(v'_i\) to be the hash of the next block, or considers the next block to be empty. 17That is, all the signatures are correct and both the block and its hash are valid —although \(i\) does not check whether the included payset is maximal for its proposer or not.

Step 3: The Second Step of \(\text{GC}\) Instructions for every user \(i \in PK^{r-k}\): User \(i\) starts his own Step 3 of round \(r\) as soon as he knows \(B_{r-1}\). \(\bullet\) User \(i\) computes \(Q_{r-1}\) from the third component of \(B_{r-1}\) and checks whether \(i \in SV^{r,3}\) or not. \(\bullet\) If \(i \notin SV^{r,3}\), then \(i\) stops his own execution of Step 3 right away. \(\bullet\) If \(i \in SV^{r,3}\), then after waiting an amount of time \(t_3 \triangleq t_2 + 2\lambda = 3\lambda + \Lambda\), \(i\) acts as follows. 1. If there exists a value \(v' \neq \bot\) such that, among all the valid messages \(m_j^{r,2}\) he has received, more than \(2/3\) of them are of the form \((\text{ESIG}_j(v'), \sigma_j^{r,2})\), without any contradiction,a then he computes the message \(m_i^{r,3} \triangleq (\text{ESIG}_i(v'), \sigma_i^{r,3})\). Otherwise, he computes \(m_i^{r,3} \triangleq (\text{ESIG}_i(\bot), \sigma_i^{r,3})\). 2. \(i\) destroys his ephemeral secret key \(sk_i^{r,3}\), and then propagates \(m_i^{r,3}\). aThat is, he has not received two valid messages containing \(\text{ESIG}_j(v')\) and a different \(\text{ESIG}_j(v'')\) respectively, from a player \(j\). Here and from here on, except in the Ending Conditions defined later, whenever an honest player wants messages of a given form, messages contradicting each other are never counted or considered valid.

Step 4: Output of \(\text{GC}\) and The First Step of \(\text{BBA}^\star\) Instructions for every user \(i \in PK^{r-k}\): User \(i\) starts his own Step 4 of round \(r\) as soon as he knows \(B_{r-1}\). \(\bullet\) User \(i\) computes \(Q_{r-1}\) from the third component of \(B_{r-1}\) and checks whether \(i \in SV^{r,4}\) or not. \(\bullet\) If \(i \notin SV^{r,4}\), then \(i\) his stops his own execution of Step 4 right away. \(\bullet\) If \(i \in SV^{r,4}\), then after waiting an amount of time \(t_4 \triangleq t_3 + 2\lambda = 5\lambda + \Lambda\), \(i\) acts as follows. 1. He computes \(v_i\) and \(g_i\), the output of \(\text{GC}\), as follows. (a) If there exists a value \(v' \neq \bot\) such that, among all the valid messages \(m_j^{r,3}\) he has received, more than \(2/3\) of them are of the form \((\text{ESIG}_j(v'), \sigma_j^{r,3})\), then he sets \(v_i \triangleq v'\) and \(g_i \triangleq 2\). (b) Otherwise, if there exists a value \(v' \neq \bot\) such that, among all the valid messages \(m_j^{r,3}\) he has received, more than \(1/3\) of them are of the form \((\text{ESIG}_j(v'), \sigma_j^{r,3})\), then he sets \(v_i \triangleq v'\) and \(g_i \triangleq 1\).a (c) Else, he sets \(v_i \triangleq H(B_\epsilon^r)\) and \(g_i \triangleq 0\). 2. He computes \(b_i\), the input of \(\text{BBA}^\star\), as follows: \(b_i \triangleq 0\) if \(g_i = 2\), and \(b_i \triangleq 1\) otherwise. 3. He computes the message \(m_i^{r,4} \triangleq (\text{ESIG}_i(b_i), \text{ESIG}_i(v_i), \sigma_i^{r,4})\), destroys his ephemeral secret key \(sk_i^{r,4}\), and then propagates \(m_i^{r,4}\). aIt can be proved that the \(v'\) in case (b), if exists, must be unique.

Step \(s\), \(5 \leq s \leq m + 2\), \(s - 2 \equiv 0 \bmod 3\): A Coin-Fixed-To-0 Step of \(\text{BBA}^\star\) Instructions for every user \(i \in PK^{r-k}\): User \(i\) starts his own Step \(s\) of round \(r\) as soon as he knows \(B_{r-1}\). \(\bullet\) User \(i\) computes \(Q_{r-1}\) from the third component of \(B_{r-1}\) and checks whether \(i \in SV^{r,s}\). \(\bullet\) If \(i \notin SV^{r,s}\), then \(i\) stops his own execution of Step \(s\) right away. \(\bullet\) If \(i \in SV^{r,s}\) then he acts as follows. – He waits until an amount of time \(t_s \triangleq t_{s-1} + 2\lambda = (2s - 3)\lambda + \Lambda\) has passed. – Ending Condition 0: If, during such waiting and at any point of time, there exists a string \(v \neq \bot\) and a step \(s'\) such that (a) \(5 \leq s' \leq s\), \(s' - 2 \equiv 0 \bmod 3\) —that is, Step \(s'\) is a Coin-Fixed-To-0 step, (b) \(i\) has received at least \(t_H = \frac{2n}{3} + 1\) valid messages \(m_j^{r,s'-1} = (\text{ESIG}_j(0), \text{ESIG}_j(v), \sigma_j^{r,s'-1})\),a and (c) \(i\) has received a valid message \(m_j^{r,1} = (B_j^r, esig_j(H(B_j^r)), \sigma_j^{r,1})\) with \(v = H(B_j^r)\), then, \(i\) stops his own execution of Step \(s\) (and in fact of round \(r\)) right away without propagating anything; sets \(B_r = B_j^r\); and sets his own \(\text{CERT}^r\) to be the set of messages \(m_j^{r,s'-1}\) of sub-step (b).b – Ending Condition 1: If, during such waiting and at any point of time, there exists a step \(s'\) such that (a') \(6 \leq s' \leq s\), \(s' - 2 \equiv 1 \bmod 3\) —that is, Step \(s'\) is a Coin-Fixed-To-1 step, and (b') \(i\) has received at least \(t_H\) valid messages \(m_j^{r,s'-1} = (\text{ESIG}_j(1), \text{ESIG}_j(v_j), \sigma_j^{r,s'-1})\),c then, \(i\) stops his own execution of Step \(s\) (and in fact of round \(r\)) right away without propagating anything; sets \(B_r = B_\epsilon^r\); and sets his own \(\text{CERT}^r\) to be the set of messages \(m_j^{r,s'-1}\) of sub-step (b'). – Otherwise, at the end of the wait, user \(i\) does the following. He sets \(v_i\) to be the majority vote of the \(v_j\)'s in the second components of all the valid \(m_j^{r,s-1}\)'s he has received. He computes \(b_i\) as follows. If more than \(2/3\) of all the valid \(m_j^{r,s-1}\)'s he has received are of the form \((\text{ESIG}_j(0), \text{ESIG}_j(v_j), \sigma_j^{r,s-1})\), then he sets \(b_i \triangleq 0\). Else, if more than \(2/3\) of all the valid \(m_j^{r,s-1}\)'s he has received are of the form \((\text{ESIG}_j(1), \text{ESIG}_j(v_j), \sigma_j^{r,s-1})\), then he sets \(b_i \triangleq 1\). Else, he sets \(b_i \triangleq 0\). He computes the message \(m_i^{r,s} \triangleq (\text{ESIG}_i(b_i), \text{ESIG}_i(v_i), \sigma_i^{r,s})\), destroys his ephemeral secret key \(sk_i^{r,s}\), and then propagates \(m_i^{r,s}\). aSuch a message from player \(j\) is counted even if player \(i\) has also received a message from \(j\) signing for 1. Similar things for Ending Condition 1. As shown in the analysis, this is done to ensure that all honest users know \(B_r\) within time \(\lambda\) from each other. bUser \(i\) now knows \(B_r\) and his own round \(r\) finishes. He still helps propagating messages as a generic user, but does not initiate any propagation as a \((r, s)\)-verifier. In particular, he has helped propagating all messages in his \(\text{CERT}^r\), which is enough for our protocol. Note that he should also set \(b_i \triangleq 0\) for the binary BA protocol, but \(b_i\) is not needed in this case anyway. Similar things for all future instructions. cIn this case, it does not matter what the \(v_j\)'s are.

Step \(s\), \(6 \leq s \leq m + 2\), \(s - 2 \equiv 1 \bmod 3\): A Coin-Fixed-To-1 Step of \(\text{BBA}^\star\) Instructions for every user \(i \in PK^{r-k}\): User \(i\) starts his own Step \(s\) of round \(r\) as soon as he knows \(B_{r-1}\). \(\bullet\) User \(i\) computes \(Q_{r-1}\) from the third component of \(B_{r-1}\) and checks whether \(i \in SV^{r,s}\) or not. \(\bullet\) If \(i \notin SV^{r,s}\), then \(i\) stops his own execution of Step \(s\) right away. \(\bullet\) If \(i \in SV^{r,s}\) then he does the follows. – He waits until an amount of time \(t_s \triangleq (2s - 3)\lambda + \Lambda\) has passed. – Ending Condition 0: The same instructions as Coin-Fixed-To-0 steps. – Ending Condition 1: The same instructions as Coin-Fixed-To-0 steps. – Otherwise, at the end of the wait, user \(i\) does the following. He sets \(v_i\) to be the majority vote of the \(v_j\)'s in the second components of all the valid \(m_j^{r,s-1}\)'s he has received. He computes \(b_i\) as follows. If more than \(2/3\) of all the valid \(m_j^{r,s-1}\)'s he has received are of the form \((\text{ESIG}_j(0), \text{ESIG}_j(v_j), \sigma_j^{r,s-1})\), then he sets \(b_i \triangleq 0\). Else, if more than \(2/3\) of all the valid \(m_j^{r,s-1}\)'s he has received are of the form \((\text{ESIG}_j(1), \text{ESIG}_j(v_j), \sigma_j^{r,s-1})\), then he sets \(b_i \triangleq 1\). Else, he sets \(b_i \triangleq 1\). He computes the message \(m_i^{r,s} \triangleq (\text{ESIG}_i(b_i), \text{ESIG}_i(v_i), \sigma_i^{r,s})\), destroys his ephemeral secret key \(sk_i^{r,s}\), and then propagates \(m_i^{r,s}\).

Step \(s\), \(7 \leq s \leq m + 2\), \(s - 2 \equiv 2 \bmod 3\): A Coin-Genuinely-Flipped Step of \(\text{BBA}^\star\) Instructions for every user \(i \in PK^{r-k}\): User \(i\) starts his own Step \(s\) of round \(r\) as soon as he knows \(B_{r-1}\). \(\bullet\) User \(i\) computes \(Q_{r-1}\) from the third component of \(B_{r-1}\) and checks whether \(i \in SV^{r,s}\) or not. \(\bullet\) If \(i \notin SV^{r,s}\), then \(i\) stops his own execution of Step \(s\) right away. \(\bullet\) If \(i \in SV^{r,s}\) then he does the follows. – He waits until an amount of time \(t_s \triangleq (2s - 3)\lambda + \Lambda\) has passed. – Ending Condition 0: The same instructions as Coin-Fixed-To-0 steps. – Ending Condition 1: The same instructions as Coin-Fixed-To-0 steps. – Otherwise, at the end of the wait, user \(i\) does the following. He sets \(v_i\) to be the majority vote of the \(v_j\)'s in the second components of all the valid \(m_j^{r,s-1}\)'s he has received. He computes \(b_i\) as follows. If more than \(2/3\) of all the valid \(m_j^{r,s-1}\)'s he has received are of the form \((\text{ESIG}_j(0), \text{ESIG}_j(v_j), \sigma_j^{r,s-1})\), then he sets \(b_i \triangleq 0\). Else, if more than \(2/3\) of all the valid \(m_j^{r,s-1}\)'s he has received are of the form \((\text{ESIG}_j(1), \text{ESIG}_j(v_j), \sigma_j^{r,s-1})\), then he sets \(b_i \triangleq 1\). Else, let \(SV_i^{r,s-1}\) be the set of \((r, s - 1)\)-verifiers from whom he has received a valid message \(m_j^{r,s-1}\). He sets \(b_i \triangleq \text{lsb}(\min_{j \in SV_i^{r,s-1}} H(\sigma_j^{r,s-1}))\). He computes the message \(m_i^{r,s} \triangleq (\text{ESIG}_i(b_i), \text{ESIG}_i(v_i), \sigma_i^{r,s})\), destroys his ephemeral secret key \(sk_i^{r,s}\), and then propagates \(m_i^{r,s}\).

Step \(m + 3\): The Last Step of \(\text{BBA}^\star\)a Instructions for every user \(i \in PK^{r-k}\): User \(i\) starts his own Step \(m + 3\) of round \(r\) as soon as he knows \(B_{r-1}\). \(\bullet\) User \(i\) computes \(Q_{r-1}\) from the third component of \(B_{r-1}\) and checks whether \(i \in SV^{r,m+3}\) or not. \(\bullet\) If \(i \notin SV^{r,m+3}\), then \(i\) stops his own execution of Step \(m + 3\) right away. \(\bullet\) If \(i \in SV^{r,m+3}\) then he does the follows. – He waits until an amount of time \(t_{m+3} \triangleq t_{m+2} + 2\lambda = (2m + 3)\lambda + \Lambda\) has passed. – Ending Condition 0: The same instructions as Coin-Fixed-To-0 steps. – Ending Condition 1: The same instructions as Coin-Fixed-To-0 steps. – Otherwise, at the end of the wait, user \(i\) does the following. He sets \(out_i \triangleq 1\) and \(B_r \triangleq B_\epsilon^r\). He computes the message \(m_i^{r,m+3} = (\text{ESIG}_i(out_i), \text{ESIG}_i(H(B_r)), \sigma_i^{r,m+3})\), destroys his ephemeral secret key \(sk_i^{r,m+3}\), and then propagates \(m_i^{r,m+3}\) to certify \(B_r\).b aWith overwhelming probability \(\text{BBA}^\star\) has ended before this step, and we specify this step for completeness. bA certificate from Step \(m + 3\) does not have to include \(\text{ESIG}_i(out_i)\). We include it for uniformity only: the certificates now have a uniform format no matter in which step they are generated.

Reconstruction of the Round-\(r\) Block by Non-Verifiers Instructions for every user \(i\) in the system: User \(i\) starts his own round \(r\) as soon as he knows \(B_{r-1}\), and waits for block information as follows. – If, during such waiting and at any point of time, there exists a string \(v\) and a step \(s'\) such that (a) \(5 \leq s' \leq m + 3\) with \(s' - 2 \equiv 0 \bmod 3\), (b) \(i\) has received at least \(t_H\) valid messages \(m_j^{r,s'-1} = (\text{ESIG}_j(0), \text{ESIG}_j(v), \sigma_j^{r,s'-1})\), and (c) \(i\) has received a valid message \(m_j^{r,1} = (B_j^r, esig_j(H(B_j^r)), \sigma_j^{r,1})\) with \(v = H(B_j^r)\), then, \(i\) stops his own execution of round \(r\) right away; sets \(B_r = B_j^r\); and sets his own \(\text{CERT}^r\) to be the set of messages \(m_j^{r,s'-1}\) of sub-step (b). – If, during such waiting and at any point of time, there exists a step \(s'\) such that (a') \(6 \leq s' \leq m + 3\) with \(s' - 2 \equiv 1 \bmod 3\), and (b') \(i\) has received at least \(t_H\) valid messages \(m_j^{r,s'-1} = (\text{ESIG}_j(1), \text{ESIG}_j(v_j), \sigma_j^{r,s'-1})\), then, \(i\) stops his own execution of round \(r\) right away; sets \(B_r = B_\epsilon^r\); and sets his own \(\text{CERT}^r\) to be the set of messages \(m_j^{r,s'-1}\) of sub-step (b'). – If, during such waiting and at any point of time, \(i\) has received at least \(t_H\) valid messages \(m_j^{r,m+3} = (\text{ESIG}_j(1), \text{ESIG}_j(H(B_\epsilon^r)), \sigma_j^{r,m+3})\), then \(i\) stops his own execution of round \(r\) right away, sets \(B_r = B_\epsilon^r\), and sets his own \(\text{CERT}^r\) to be the set of messages \(m_j^{r,m+3}\) for 1 and \(H(B_\epsilon^r)\). 5.5 Analysis of \(\text{Algorand}'_1\) We introduce the following notations for each round \(r \geq 0\), used in the analysis. \(\bullet\) Let \(T^r\) be the time when the first honest user knows \(B_{r-1}\). \(\bullet\) Let \(I^{r+1}\) be the interval \([T^{r+1}, T^{r+1} + \lambda]\). Note that \(T^0 = 0\) by the initialization of the protocol. For each \(s \geq 1\) and \(i \in SV^{r,s}\), recall that \(\alpha_i^{r,s}\)

and \(\beta_i^{r,s}\) are respectively the starting time and the ending time of player \(i\)'s step \(s\). Moreover, recall that \(t_s = (2s - 3)\lambda + \Lambda\) for each \(2 \leq s \leq m + 3\). In addition, let \(I_0 \triangleq \{0\}\) and \(t_1 \triangleq 0\). Finally, recall that \(L_r \leq m/3\) is a random variable representing the number of Bernoulli trials needed to see a 1, when each trial is 1 with probability \(\frac{p_h}{2}\) and there are at most \(m/3\) trials. If all trials fail then \(L_r \triangleq m/3\). In the analysis we ignore computation time, as it is in fact negligible relative to the time needed to propagate messages. In any case, by using slightly larger \(\lambda\) and \(\Lambda\), the computation time can be incorporated into the analysis directly. Most of the statements below hold “with overwhelming probability,” and we may not repeatedly emphasize this fact in the analysis.

5.6 Main Theorem Theorem 5.1. The following properties hold with overwhelming probability for each round \(r \geq 0\): 1. All honest users agree on the same block \(B_r\). 2. When the leader \(\ell_r\) is honest, the block \(B_r\) is generated by \(\ell_r\), \(B_r\) contains a maximal payset received by \(\ell_r\) by time \(\alpha_{\ell_r}^{r,1}\), \(T^{r+1} \leq T^r + 8\lambda + \Lambda\) and all honest users know \(B_r\) in the time interval \(I_{r+1}\). 3. When the leader \(\ell_r\) is malicious, \(T^{r+1} \leq T^r + (6L_r + 10)\lambda + \Lambda\) and all honest users know \(B_r\) in the time interval \(I_{r+1}\). 4. \(p_h = h^2(1 + h - h^2)\) for \(L_r\), and the leader \(\ell_r\) is honest with probability at least \(p_h\). Before proving our main theorem, let us make two remarks. Remarks. • Block-Generation and True Latency. The time to generate block \(B_r\) is defined to be \(T^{r+1} - T^r\). That is, it is defined to be the difference between the first time some honest user learns \(B_r\) and the first time some honest user learns \(B_{r-1}\). When the round-\(r\) leader is honest, Property 2 our main theorem guarantees that the exact time to generate \(B_r\) is \(8\lambda + \Lambda\) time, no matter what the precise value of \(h > 2/3\) may be. When the leader is malicious, Property 3 implies that the expected time to generate \(B_r\) is upperbounded by \((\frac{12}{p_h} + 10)\lambda + \Lambda\), again no matter the precise value of \(h\).18 However, the expected time to generate \(B_r\) depends on the precise value of \(h\). Indeed, by Property 4, \(p_h = h^2(1 + h - h^2)\) and the leader is honest with probability at least \(p_h\), thus \(E[T^{r+1} - T^r] \leq h^2(1 + h - h^2) \cdot (8\lambda + \Lambda) + (1 - h^2(1 + h - h^2))((\frac{12}{h^2(1 + h - h^2)} + 10)\lambda + \Lambda)\). For instance, if \(h = 80\%\), then \(E[T^{r+1} - T^r] \leq 12.7\lambda + \Lambda\). • \(\lambda\) vs. \(\Lambda\). Note that the size of the messages sent by the verifiers in a step \(\text{Algorand}^\prime\) is dominated by the length of the digital signature keys, which can remain fixed, even when the number of users is enormous. Also note that, in any step \(s > 1\), the same expected number \(n\) of verifiers can be used whether the number of users is 100K, 100M, or 100M. This is so because \(n\) solely depends on \(h\) and \(F\). In sum, therefore, barring a sudden need to increase secret key length, the value of \(\lambda\) should remain the same no matter how large the number of users may be in the foreseeable future. By contrast, for any transaction rate, the number of transactions grows with the number of users. Therefore, to process all new transactions in a timely fashion, the size of a block should also grow with the number of users, causing \(\Lambda\) to grow too. Thus, in the long run, we should have \(\lambda \ll \Lambda\). Accordingly, it is proper to have a larger coefficient for \(\lambda\), and actually a coefficient of 1 for \(\Lambda\). Proof of Theorem 5.1. We prove Properties 1–3 by induction: assuming they hold for round \(r - 1\) (without loss of generality, they automatically hold for "round -1" when \(r = 0\)), we prove them for round \(r\). 18Indeed, \(E[T^{r+1} - T^r] \leq (6E[L_r] + 10)\lambda + \Lambda = (6 \cdot \frac{2}{p_h} + 10)\lambda + \Lambda = (\frac{12}{p_h} + 10)\lambda + \Lambda\).

Since \(B_{r-1}\) is uniquely defined by the inductive hypothesis, the set \(SV^{r,s}\) is uniquely defined for each step \(s\) of round \(r\). By the choice of \(n_1\), \(SV^{r,1} \neq \emptyset\) with overwhelming probability. We now state the following two lemmas, proved in Sections 5.7 and 5.8. Throughout the induction and in the proofs of the two lemmas, the analysis for round 0 is almost the same as the inductive step, and we will highlight the differences when they occur. Lemma 5.2. [Completeness Lemma] Assuming Properties 1–3 hold for round \(r-1\), when the leader \(\ell_r\) is honest, with overwhelming probability, • All honest users agree on the same block \(B_r\), which is generated by \(\ell_r\) and contains a maximal payset received by \(\ell_r\) by time \(\alpha_{\ell_r}^{r,1} \in I_r\); and • \(T^{r+1} \leq T^r + 8\lambda + \Lambda\) and all honest users know \(B_r\) in the time interval \(I_{r+1}\). Lemma 5.3. [Soundness Lemma] Assuming Properties 1–3 hold for round \(r - 1\), when the leader \(\ell_r\) is malicious, with overwhelming probability, all honest users agree on the same block \(B_r\), \(T^{r+1} \leq T^r + (6L_r + 10)\lambda + \Lambda\) and all honest users know \(B_r\) in the time interval \(I_{r+1}\). Properties 1–3 hold by applying Lemmas 5.2 and 5.3 to r = 0 and to the inductive step. Finally, we restate Property 4 as the following lemma, proved in Section 5.9. Lemma 5.4. Given Properties 1–3 for each round before \(r\), \(p_h = h^2(1 + h - h^2)\) for \(L_r\), and the leader \(\ell_r\) is honest with probability at least \(p_h\). Combining the above three lemmas together, Theorem 5.1 holds. ■ The lemma below states several important properties about round \(r\) given the inductive hypothesis, and will be used in the proofs of the above three lemmas. Lemma 5.5. Assume Properties 1–3 hold for round \(r - 1\). For each step \(s \geq 1\) of round \(r\) and each honest verifier \(i \in HSV^{r,s}\), we have that (a) \(\alpha_i^{r,s} \in I_r\); (b) if player \(i\) has waited an amount of time \(t_s\), then \(\beta_i^{r,s} \in [T^r + t_s, T^r + \lambda + t_s]\) for \(r > 0\) and \(\beta_i^{r,s} = t_s\) for \(r = 0\); and (c) if player \(i\) has waited an amount of time \(t_s\), then by time \(\beta_i^{r,s}\), he has received all messages sent by all honest verifiers \(j \in HSV^{r,s'}\) for all steps \(s' < s\). Moreover, for each step \(s \geq 3\), we have that (d) there do not exist two different players \(i, i' \in SV^{r,s}\) and two different values \(v, v'\) of the same length, such that both players have waited an amount of time \(t_s\), more than 2/3 of all the valid messages \(m_j^{r,s-1}\) player \(i\) receives have signed for \(v\), and more than 2/3 of all the valid messages \(m_j^{r,s-1}\) player \(i'\) receives have signed for \(v'\). Proof. Property (a) follows directly from the inductive hypothesis, as player \(i\) knows \(B_{r-1}\) in the time interval \(I_r\) and starts his own step \(s\) right away. Property (b) follows directly from (a): since player \(i\) has waited an amount of time \(t_s\) before acting, \(\beta_i^{r,s} = \alpha_i^{r,s} + t_s\). Note that \(\alpha_i^{r,s} = 0\) for \(r = 0\). We now prove Property (c). If \(s = 2\), then by Property (b), for all verifiers \(j \in HSV^{r,1}\) we have \(\beta_i^{r,s} = \alpha_i^{r,s} + t_s \geq T^r + t_s = T^r + \lambda + \Lambda \geq \beta_j^{r,1} + \Lambda\).

Since each verifier \(j \in HSV^{r,1}\) sends his message at time \(\beta_j^{r,1}\) and the message reaches all honest users in at most \(\Lambda\) time, by time \(\beta_i^{r,s}\) player \(i\) has received the messages sent by all verifiers in \(HSV^{r,1}\) as desired. If \(s > 2\), then \(t_s = t_{s-1} + 2\lambda\). By Property (b), for all steps \(s' < s\) and all verifiers \(j \in HSV^{r,s'}\), \(\beta_i^{r,s} = \alpha_i^{r,s} + t_s \geq T^r + t_s = T^r + t_{s-1} + 2\lambda \geq T^r + t_{s'} + 2\lambda = T^r + \lambda + t_{s'} + \lambda \geq \beta_j^{r,s'} + \lambda\). Since each verifier \(j \in HSV^{r,s'}\) sends his message at time \(\beta_j^{r,s'}\) and the message reaches all honest users in at most \(\lambda\) time, by time \(\beta_i^{r,s}\) player \(i\) has received all messages sent by all honest verifiers in \(HSV^{r,s'}\) for all \(s' < s\). Thus Property (c) holds. Finally, we prove Property (d). Note that the verifiers \(j \in SV^{r,s-1}\) sign at most two things in Step \(s - 1\) using their ephemeral secret keys: a value \(v_j\) of the same length as the output of the hash function, and also a bit \(b_j \in \{0, 1\}\) if \(s - 1 \geq 4\). That is why in the statement of the lemma we require that \(v\) and \(v'\) have the same length: many verifiers may have signed both a hash value \(v\) and a bit \(b\), thus both pass the 2/3 threshold. Assume for the sake of contradiction that there exist the desired verifiers \(i, i'\) and values \(v, v'\). Note that some malicious verifiers in \(MSV^{r,s-1}\) may have signed both \(v\) and \(v'\), but each honest verifier in \(HSV^{r,s-1}\) has signed at most one of them. By Property (c), both \(i\) and \(i'\) have received all messages sent by all honest verifiers in \(HSV^{r,s-1}\). Let \(HSV^{r,s-1}(v)\) be the set of honest \((r, s - 1)\)-verifiers who have signed \(v\), \(MSV_i^{r,s-1}\) the set of malicious \((r, s - 1)\)-verifiers from whom \(i\) has received a valid message, and \(MSV_i^{r,s-1}(v)\) the subset of \(MSV_i^{r,s-1}\) from whom \(i\) has received a valid message signing \(v\). By the requirements for \(i\) and \(v\), we have \(\text{ratio} \triangleq \frac{|HSV^{r,s-1}(v)| + |MSV_i^{r,s-1}(v)|}{|HSV^{r,s-1}| + |MSV_i^{r,s-1}|} > \frac{2}{3}\). (1) We first show \(|MSV_i^{r,s-1}(v)| \leq |HSV^{r,s-1}(v)|\). (2) Assuming otherwise, by the relationships among the parameters, with overwhelming probability \(|HSV^{r,s-1}| > 2|MSV^{r,s-1}| \geq 2|MSV_i^{r,s-1}|\), thus \(\text{ratio} < \frac{|HSV^{r,s-1}(v)| + |MSV_i^{r,s-1}(v)|}{3|MSV_i^{r,s-1}|} < \frac{2|MSV_i^{r,s-1}(v)|}{3|MSV_i^{r,s-1}|} \leq \frac{2}{3},\) contradicting Inequality 1. Next, by Inequality 1 we have \(2|HSV^{r,s-1}| + 2|MSV_i^{r,s-1}| < 3|HSV^{r,s-1}(v)| + 3|MSV_i^{r,s-1}(v)| \leq 3|HSV^{r,s-1}(v)| + 2|MSV_i^{r,s-1}| + |MSV_i^{r,s-1}(v)|.\) Combining with Inequality 2, \(2|HSV^{r,s-1}| < 3|HSV^{r,s-1}(v)| + |MSV_i^{r,s-1}(v)| \leq 4|HSV^{r,s-1}(v)|,\) which implies \(|HSV^{r,s-1}(v)| > \frac{1}{2}|HSV^{r,s-1}|.\)

Similarly, by the requirements for \(i'\) and \(v'\), we have \(|HSV^{r,s-1}(v')| > \frac{1}{2}|HSV^{r,s-1}|.\) Since an honest verifier \(j \in HSV^{r,s-1}\) destroys his ephemeral secret key \(sk_j^{r,s-1}\) before propagating his message, the Adversary cannot forge \(j\)'s signature for a value that \(j\) did not sign, after learning that \(j\) is a verifier. Thus, the two inequalities above imply \(|HSV^{r,s-1}| \geq |HSV^{r,s-1}(v)| +\) \(|HSV^{r,s-1}(v')| > |HSV^{r,s-1}|\), a contradiction. Accordingly, the desired \(i, i', v, v'\) do not exist, and Property (d) holds. ■ 5.7 The Completeness Lemma Lemma 5.2. [Completeness Lemma, restated] Assuming Properties 1–3 hold for round \(r-1\), when the leader \(\ell_r\) is honest, with overwhelming probability, - All honest users agree on the same block \(B_r\), which is generated by \(\ell_r\) and contains a maximal payset received by \(\ell_r\) by time \(\alpha_{\ell_r}^{r,1} \in I_r\); and - \(T^{r+1} \leq T^r + 8\lambda + \Lambda\) and all honest users know \(B_r\) in the time interval \(I_{r+1}\). Proof. By the inductive hypothesis and Lemma 5.5, for each step \(s\) and verifier \(i \in HSV^{r,s}\), \(\alpha_i^{r,s} \in I_r\). Below we analyze the protocol step by step. Step 1. By definition, every honest verifier \(i \in HSV^{r,1}\) propagates the desired message \(m_i^{r,1}\) at time \(\beta_i^{r,1} = \alpha_i^{r,1}\), where \(m_i^{r,1} = (B_i^r, \text{esig}_i(H(B_i^r)), \sigma_i^{r,1})\), \(B_i^r = (r, PAY_i^r, \text{SIG}_i(Q_{r-1}), H(B_{r-1}))\), and \(PAY_i^r\) is a maximal payset among all payments that \(i\) has seen by time \(\alpha_i^{r,1}\). Step 2. Arbitrarily fix an honest verifier \(i \in HSV^{r,2}\). By Lemma 5.5, when player \(i\) is done waiting at time \(\beta_i^{r,2} = \alpha_i^{r,2} + t_2\), he has received all messages sent by verifiers in \(HSV^{r,1}\), including \(m_{\ell_r}^{r,1}\). By the definition of \(\ell_r\), there does not exist another player in \(PK^{r-k}\) whose credential's hash value is smaller than \(H(\sigma_{\ell_r}^{r,1})\). Of course, the Adversary can corrupt \(\ell_r\) after seeing that \(H(\sigma_{\ell_r}^{r,1})\) is very small, but by that time player \(\ell_r\) has destroyed his ephemeral key and the message \(m_{\ell_r}^{r,1}\) has been propagated. Thus verifier \(i\) sets his own leader to be player \(\ell_r\). Accordingly, at time \(\beta_i^{r,2}\), verifier \(i\) propagates \(m_i^{r,2} = (\text{ESIG}_i(v'_i), \sigma_i^{r,2})\), where \(v'_i = H(B_{\ell_r}^r)\). When \(r = 0\), the only difference is that \(\beta_i^{r,2} = t_2\) rather than being in a range. Similar things can be said for future steps and we will not emphasize them again. Step 3. Arbitrarily fix an honest verifier \(i \in HSV^{r,3}\). By Lemma 5.5, when player \(i\) is done waiting at time \(\beta_i^{r,3} = \alpha_i^{r,3} + t_3\), he has received all messages sent by verifiers in \(HSV^{r,2}\). By the relationships among the parameters, with overwhelming probability \(|HSV^{r,2}| >\) \(2|MSV^{r,2}|\). Moreover, no honest verifier would sign contradicting messages, and the Adversary cannot forge a signature of an honest verifier after the latter has destroyed his corresponding ephemeral secret key. Thus more than 2/3 of all the valid \((r, 2)\)-messages \(i\) has received are from honest verifiers and of the form \(m_j^{r,2} = (\text{ESIG}_j(H(B_{\ell_r}^r)), \sigma_j^{r,2})\), with no contradiction. Accordingly, at time \(\beta_i^{r,3}\) player \(i\) propagates \(m_i^{r,3} = (\text{ESIG}_i(v'), \sigma_i^{r,3})\), where \(v' = H(B_{\ell_r}^r)\).

Step 4. Arbitrarily fix an honest verifier \(i \in HSV^{r,4}\). By Lemma 5.5, player \(i\) has received all messages sent by verifiers in \(HSV^{r,3}\) when he is done waiting at time \(\beta_i^{r,4} = \alpha_i^{r,4} + t_4\). Similar to Step 3, more than 2/3 of all the valid \((r, 3)\)-messages \(i\) has received are from honest verifiers and of the form \(m_j^{r,3} = (\text{ESIG}_j(H(B_{\ell_r}^r)), \sigma_j^{r,3})\). Accordingly, player \(i\) sets \(v_i = H(B_{\ell_r}^r)\), \(g_i = 2\) and \(b_i = 0\). At time \(\beta_i^{r,4} = \alpha_i^{r,4} + t_4\) he propagates \(m_i^{r,4} = (\text{ESIG}_i(0), \text{ESIG}_i(H(B_{\ell_r}^r)), \sigma_i^{r,4})\). Step 5. Arbitrarily fix an honest verifier \(i \in HSV^{r,5}\). By Lemma 5.5, player \(i\) would have received all messages sent by the verifiers in \(HSV^{r,4}\) if he has waited till time \(\alpha_i^{r,5} + t_5\). Note that \(|HSV^{r,4}| \geq t_H\).19 Also note that all verifiers in \(HSV^{r,4}\) have signed for \(H(B_{\ell_r}^r)\). As \(|MSV^{r,4}| < t_H\), there does not exist any \(v' \neq H(B_{\ell_r}^r)\) that could have been signed by \(t_H\) verifiers in \(SV^{r,4}\) (who would necessarily be malicious), so player \(i\) does not stop before he has received \(t_H\) valid messages \(m_j^{r,4} = (\text{ESIG}_j(0), \text{ESIG}_j(H(B_{\ell_r}^r)), \sigma_j^{r,4})\). Let \(T\) be the time when the latter event happens. Some of those messages may be from malicious players, but because \(|MSV^{r,4}| < t_H\), at least one of them is from an honest verifier in \(HSV^{r,4}\) and is sent after time \(T^r + t_4\). Accordingly, \(T \geq T^r + t_4 > T^r + \lambda + \Lambda \geq \beta_{\ell_r}^{r,1} + \Lambda\), and by time \(T\) player \(i\) has also received the message \(m_{\ell_r}^{r,1}\). By the construction of the protocol, player \(i\) stops at time \(\beta_i^{r,5} = T\) without propagating anything; sets \(B_r = B_{\ell_r}^r\); and sets his own \(\text{CERT}^r\) to be the set of \((r, 4)\)-messages for 0 and \(H(B_{\ell_r}^r)\) that he has received. Step \(s > 5\). Similarly, for any step \(s > 5\) and any verifier \(i \in HSV^{r,s}\), player \(i\) would have received all messages sent by the verifiers in \(HSV^{r,4}\) if he has waited till time \(\alpha_i^{r,s} + t_s\). By the same analysis, player \(i\) stops without propagating anything, setting \(B_r = B_{\ell_r}^r\) (and setting his own \(\text{CERT}^r\) properly). Of course, the malicious verifiers may not stop and may propagate arbitrary messages, but because \(|MSV^{r,s}| < t_H\), by induction no other \(v'\) could be signed by \(t_H\) verifiers in any step \(4 \leq s' < s\), thus the honest verifiers only stop because they have received \(t_H\) valid \((r, 4)\)-messages for 0 and \(H(B_{\ell_r}^r)\). Reconstruction of the Round-\(r\) Block. The analysis of Step 5 applies to a generic honest user \(i\) almost without any change. Indeed, player \(i\) starts his own round \(r\) in the interval \(I_r\) and will only stop at a time \(T\) when he has received \(t_H\) valid \((r, 4)\)-messages for \(H(B_{\ell_r}^r)\). Again because at least one of those messages are from honest verifiers and are sent after time \(T^r + t_4\), player \(i\) has also received \(m_{\ell_r}^{r,1}\) by time \(T\). Thus he sets \(B_r = B_{\ell_r}^r\) with the proper \(\text{CERT}^r\). It only remains to show that all honest users finish their round \(r\) within the time interval \(I_{r+1}\). By the analysis of Step 5, every honest verifier \(i \in HSV^{r,5}\) knows \(B_r\) on or before \(\alpha_i^{r,5} + t_5 \leq\) \(T^r + \lambda + t_5 = T^r + 8\lambda + \Lambda\). Since \(T^{r+1}\) is the time when the first honest user \(i_r\) knows \(B_r\), we have \(T^{r+1} \leq T^r + 8\lambda + \Lambda\) as desired. Moreover, when player \(i_r\) knows \(B_r\), he has already helped propagating the messages in his \(\text{CERT}^r\). Note that all those messages will be received by all honest users within time \(\lambda\), even if 19Strictly speaking, this happens with very high probability but not necessarily overwhelming. However, this probability slightly effects the running time of the protocol, but does not affect its correctness. When \(h = 80\%\), then \(|HSV^{r,4}| \geq t_H\) with probability \(1 - 10^{-8}\). If this event does not occur, then the protocol will continue for another 3 steps. As the probability that this does not occur in two steps is negligible, the protocol will finish at Step 8. In expectation, then, the number of steps needed is almost 5.

player \(i_r\) were the first player to propagate them. Moreover, following the analysis above we have \(T^{r+1} \geq T^r + t_4 \geq \beta_{\ell_r}^{r,1} + \Lambda\), thus all honest users have received \(m_{\ell_r}^{r,1}\) by time \(T^{r+1} + \lambda\). Accordingly, all honest users know \(B_r\) in the time interval \(I_{r+1} = [T^{r+1}, T^{r+1} + \lambda]\). Finally, for \(r = 0\) we actually have \(T^1 \leq t_4 + \lambda = 6\lambda + \Lambda\). Combining everything together, Lemma 5.2 holds. ■ 5.8 The Soundness Lemma Lemma 5.3. [Soundness Lemma, restated] Assuming Properties 1–3 hold for round \(r - 1\), when the leader \(\ell_r\) is malicious, with overwhelming probability, all honest users agree on the same block \(B_r\), \(T^{r+1} \leq T^r + (6L_r + 10)\lambda + \Lambda\) and all honest users know \(B_r\) in the time interval \(I_{r+1}\). Proof. We consider the two parts of the protocol, GC and \(\text{BBA}^\star\), separately. GC. By the inductive hypothesis and by Lemma 5.5, for any step \(s \in \{2, 3, 4\}\) and any honest verifier \(i \in HSV^{r,s}\), when player \(i\) acts at time \(\beta_i^{r,s} = \alpha_i^{r,s} + t_s\), he has received all messages sent by all the honest verifiers in steps \(s' < s\). We distinguish two possible cases for step 4. Case 1. No verifier \(i \in HSV^{r,4}\) sets \(g_i = 2\). In this case, by definition \(b_i = 1\) for all verifiers \(i \in HSV^{r,4}\). That is, they start with an agreement on 1 in the binary BA protocol. They may not have an agreement on their \(v_i\)'s, but this does not matter as we will see in the binary BA. Case 2. There exists a verifier \(\hat{i} \in HSV^{r,4}\) such that \(g_{\hat{i}} = 2\). In this case, we show that (1) \(g_i \geq 1\) for all \(i \in HSV^{r,4}\), (2) there exists a value \(v'\) such that \(v_i = v'\) for all \(i \in HSV^{r,4}\), and (3) there exists a valid message \(m_\ell^{r,1}\) from some verifier \(\ell \in SV^{r,1}\) such that \(v' = H(B_\ell^r)\). Indeed, since player \(\hat{i}\) is honest and sets \(g_{\hat{i}} = 2\), more than 2/3 of all the valid messages \(m_j^{r,3}\) he has received are for the same value \(v' \neq \bot\), and he has set \(v_{\hat{i}} = v'\). By Property (d) in Lemma 5.5, for any other honest \((r, 4)\)-verifier \(i\), it cannot be that more than 2/3 of all the valid messages \(m_j^{r,3}\) that \(i'\) has received are for the same value \(v'' \neq v'\). Accordingly, if \(i\) sets \(g_i = 2\), it must be that \(i\) has seen > 2/3 majority for \(v'\) as well and set \(v_i = v'\), as desired. Now consider an arbitrary verifier \(i \in HSV^{r,4}\) with \(g_i < 2\). Similar to the analysis of Property (d) in Lemma 5.5, because player \(\hat{i}\) has seen > 2/3 majority for \(v'\), more than \(\frac{1}{2}|HSV^{r,3}|\) honest \((r, 3)\)-verifiers have signed \(v'\). Because \(i\) has received all messages by honest \((r, 3)\)-verifiers by time \(\beta_i^{r,4} = \alpha_i^{r,4} + t_4\), he has in particular received more than \(\frac{1}{2}|HSV^{r,3}|\) messages from them for \(v'\). Because \(|HSV^{r,3}| > 2|MSV^{r,3}|\), \(i\) has seen > 1/3 majority for \(v'\). Accordingly, player \(i\) sets \(g_i = 1\), and Property (1) holds. Does player \(i\) necessarily set \(v_i = v'\)? Assume there exists a different value \(v'' \neq \bot\) such that player \(i\) has also seen > 1/3 majority for \(v''\). Some of those messages may be from malicious verifiers, but at least one of them is from some honest verifier \(j \in HSV^{r,3}\): indeed, because \(|HSV^{r,3}| > 2|MSV^{r,3}|\) and \(i\) has received all messages from \(HSV^{r,3}\), the set of malicious verifiers from whom \(i\) has received a valid \((r, 3)\)-message counts for < 1/3 of all the valid messages he has received.

By definition, player j must have seen > 2/3 majority for \(v''\) among all the valid (r, 2)-messages he has received. However, we already have that some other honest (r, 3)-verifiers have seen

2/3 majority for \(v'\) (because they signed \(v'\)). By Property (d) of Lemma 5.5, this cannot happen and such a value \(v''\) does not exist. Thus player i must have set \(v_i = v'\) as desired, and Property (2) holds. Finally, given that some honest (r, 3)-verifiers have seen > 2/3 majority for \(v'\), some (actually, more than half of) honest (r, 2)-verifiers have signed for \(v'\) and propagated their messages. By the construction of the protocol, those honest (r, 2)-verifiers must have received a valid message \(m_\ell^{r,1}\) from some player \(\ell \in SV^{r,1}\) with \(v'\) = \(H(B_\ell^r)\), thus Property (3) holds. \(\text{BBA}^\star\). We again distinguish two cases. Case 1. All verifiers \(i \in HSV^{r,4}\) have \(b_i = 1\). This happens following Case 1 of GC. As \(|MSV^{r,4}|\) < \(t_H\), in this case no verifier in \(SV^{r,5}\) could collect or generate \(t_H\) valid (r, 4)-messages for bit 0. Thus, no honest verifier in \(HSV^{r,5}\) would stop because he knows a non-empty block \(B_r\). Moreover, although there are at least \(t_H\) valid \((r, 4)\)-messages for bit 1, \(s' = 5\) does not satisfy \(s' - 2 \equiv 1 \mod 3\), thus no honest verifier in \(HSV^{r,5}\) would stop because he knows \(B_r = B_\epsilon^r\). Instead, every verifier \(i \in HSV^{r,5}\) acts at time \(\beta_i^{r,5} = \alpha_i^{r,5} + t_5\), by when he has received all messages sent by \(HSV^{r,4}\) following Lemma 5.5. Thus player \(i\) has seen > 2/3 majority for 1 and sets \(b_i = 1\). In Step 6 which is a Coin-Fixed-To-1 step, although \(s' = 5\) satisfies \(s' - 2 \equiv 0 \mod 3\), there do not exist \(t_H\) valid \((r, 4)\)-messages for bit 0, thus no verifier in \(HSV^{r,6}\) would stop because he knows a non-empty block \(B_r\). However, with \(s' = 6\), \(s' - 2 \equiv 1 \mod 3\) and there do exist \(|HSV^{r,5}| \geq t_H\) valid \((r, 5)\)-messages for bit 1 from \(HSV^{r,5}\). For every verifier \(i \in HSV^{r,6}\), following Lemma 5.5, on or before time \(\alpha_i^{r,6} + t_6\) player \(i\) has received all messages from \(HSV^{r,5}\), thus \(i\) stops without propagating anything and sets \(B_r = B_\epsilon^r\). His \(\text{CERT}^r\) is the set of \(t_H\) valid \((r, 5)\)-messages \(m_j^{r,5} = (\text{ESIG}_j(1), \text{ESIG}_j(v_j), \sigma_j^{r,5})\) received by him when he stops. Next, let player \(i\) be either an honest verifier in a step \(s > 6\) or a generic honest user (i.e., non-verifier). Similar to the proof of Lemma 5.2, player \(i\) sets \(B_r = B_\epsilon^r\) and sets his own \(\text{CERT}^r\) to be the set of \(t_H\) valid \((r, 5)\)-messages \(m_j^{r,5} = (\text{ESIG}_j(1), \text{ESIG}_j(v_j), \sigma_j^{r,5})\) he has received. Finally, similar to Lemma 5.2, \(T^{r+1} \leq \min_{i \in HSV^{r,6}} \alpha_i^{r,6} + t_6 \leq T^r + \lambda + t_6 = T^r + 10\lambda + \Lambda,\) and all honest users know \(B_r\) in the time interval \(I_{r+1}\), because the first honest user \(i\) who knows \(B_r\) has helped propagating the \((r, 5)\)-messages in his \(\text{CERT}^r\). Case 2. There exists a verifier \(\hat{i} \in HSV^{r,4}\) with \(b_{\hat{i}} = 0\). This happens following Case 2 of GC and is the more complex case. By the analysis of GC, in this case there exists a valid message \(m_\ell^{r,1}\) such that \(v_i = H(B_\ell^r)\) for all \(i \in HSV^{r,4}\). Note that the verifiers in \(HSV^{r,4}\) may not have an agreement on their \(b_i\)'s. For any step \(s \in \{5, \ldots, m + 3\}\) and verifier \(i \in HSV^{r,s}\), by Lemma 5.5 player \(i\) would have received all messages sent by all honest verifiers in \(HSV^{r,4} \cup \cdots \cup HSV^{r,s-1}\) if he has waited for time \(t_s\).

We now consider the following event E: there exists a step \(s^* \geq 5\) such that, for the first time in the binary BA, some player \(i^* \in SV^{r,s^*}\) (whether malicious or honest) should stop without propagating anything. We use "should stop" to emphasize the fact that, if player \(i^*\) is malicious, then he may pretend that he should not stop according to the protocol and propagate messages of the Adversary's choice. Moreover, by the construction of the protocol, either (E.a) \(i^*\) is able to collect or generate at least \(t_H\) valid messages \(m_j^{r,s'-1} = (\text{ESIG}_j(0), \text{ESIG}_j(v), \sigma_j^{r,s'-1})\) for the same \(v\) and \(s'\), with \(5 \leq s' \leq s^*\) and \(s' - 2 \equiv 0 \mod 3\); or (E.b) \(i^*\) is able to collect or generate at least \(t_H\) valid messages \(m_j^{r,s'-1} = (\text{ESIG}_j(1), \text{ESIG}_j(v_j), \sigma_j^{r,s'-1})\) for the same \(s'\), with \(6 \leq s' \leq s^*\) and \(s' - 2 \equiv 1 \mod 3\). Because the honest \((r, s' - 1)\)-messages are received by all honest \((r, s')\)-verifiers before they are done waiting in Step \(s'\), and because the Adversary receives everything no later than the honest users, without loss of generality we have \(s' = s^*\) and player \(i^*\) is malicious. Note that we did not require the value v in E.a to be the hash of a valid block: as it will become clear in the analysis, v = \(H(B_\ell^r)\) in this sub-event. Below we first analyze Case 2 following event E, and then show that the value of \(s^*\) is essentially distributed accordingly to \(L_r\) (thus event E happens before Step m + 3 with overwhelming probability given the relationships for parameters). To begin with, for any step \(5 \leq s < s^*\), every honest verifier \(i \in HSV^{r,s}\) has waited time \(t_s\) and set \(v_i\) to be the majority vote of the valid \((r, s-1)\)-messages he has received. Since player \(i\) has received all honest \((r, s-1)\)-messages following Lemma 5.5, since all honest verifiers in \(HSV^{r,4}\) have signed \(H(B_\ell^r)\) following Case 2 of GC, and since \(|HSV^{r,s-1}| > 2|MSV^{r,s-1}|\) for each \(s\), by induction we have that player \(i\) has set \(v_i = H(B_\ell^r)\). The same holds for every honest verifier \(i \in HSV^{r,s^*}\) who does not stop without propagating anything. Now we consider Step \(s^*\) and distinguish four subcases. Case 2.1.a. Event E.a happens and there exists an honest verifier \(i' \in HSV^{r,s^*}\) who should also stop without propagating anything. In this case, we have \(s^* - 2 \equiv 0 \mod 3\) and Step \(s^*\) is a Coin-Fixed-To-0 step. By definition, player \(i'\) has received at least \(t_H\) valid (r, \(s^* - 1\))-messages of the form \((\text{ESIG}_j(0), \text{ESIG}_j(v), \sigma_j^{r,s^*-1})\). Since all verifiers in \(HSV^{r,s^*-1}\) have signed \(H(B_\ell^r)\) and \(|MSV^{r,s^*-1}| < t_H\), we have v = \(H(B_\ell^r)\). Since at least \(t_H - |MSV^{r,s^*-1}| \geq 1\) of the (r, \(s^* - 1\))-messages received by \(i'\) for 0 and v are sent by verifiers in \(HSV^{r,s^*-1}\) after time \(T^r + t_{s^*-1} \geq T^r + t_4 \geq T^r + \lambda + \Lambda \geq \beta_{\ell}^{r,1} + \Lambda\), player \(i'\) has received \(m_\ell^{r,1}\) by the time he receives those (r, \(s^* - 1\))-messages. Thus player \(i'\) stops without propagating anything; sets \(B_r = B_\ell^r\); and sets his own \(\text{CERT}^r\) to be the set of valid (r, \(s^* - 1\))-messages for 0 and v that he has received. Next, we show that, any other verifier \(i \in HSV^{r,s^*}\) has either stopped with \(B_r = B_\ell^r\), or has set \(b_i = 0\) and propagated \((\text{ESIG}_i(0), \text{ESIG}_i(H(B_\ell^r)), \sigma_i^{r,s^*})\). Indeed, because Step \(s^*\) is the first time some verifier should stop without propagating anything, there does not exist a step \(s' < s^*\) with \(s' - 2 \equiv 1 \mod 3\) such that \(t_H\) \((r, s' - 1)\)-verifiers have signed 1. Accordingly, no verifier in \(HSV^{r,s^*}\) stops with \(B_r = B_\epsilon^r\).

Moreover, as all honest verifiers in steps {4, 5, . . . , \(s^* - 1\)} have signed \(H(B_\ell^r)\), there does not exist a step \(s' \leq s^*\) with \(s' - 2 \equiv 0 \mod 3\) such that \(t_H\) \((r, s' - 1)\)-verifiers have signed some \(v'' \neq H(B_\ell^r)\) —indeed, \(|MSV^{r,s'-1}| < t_H\). Accordingly, no verifier in \(HSV^{r,s^*}\) stops with \(B_r \neq B_\epsilon^r\) and \(B_r \neq B_\ell^r\). That is, if a player \(i \in HSV^{r,s^*}\) has stopped without propagating anything, he must have set \(B_r = B_\ell^r\). If a player \(i \in HSV^{r,s^*}\) has waited time \(t_{s^*}\) and propagated a message at time \(\beta_i^{r,s^*} = \alpha_i^{r,s^*} + t_{s^*}\), he has received all messages from \(HSV^{r,s^*-1}\), including at least \(t_H - |MSV^{r,s^*-1}|\) of them for 0 and v. If i has seen > 2/3 majority for 1, then he has seen more than \(2(t_H - |MSV^{r,s^*-1}|)\) valid (r, \(s^* - 1\))-messages for 1, with more than \(2t_H - 3|MSV^{r,s^*-1}|\) of them from honest (r, \(s^* - 1\))-verifiers. However, this implies \(|HSV^{r,s^*-1}| \geq t_H - |MSV^{r,s^*-1}| + 2t_H - 3|MSV^{r,s^*-1}| > 2n - 4|MSV^{r,s^*-1}|\), contradicting the fact that \(|HSV^{r,s^*-1}| + 4|MSV^{r,s^*-1}| < 2n\), which comes from the relationships for the parameters. Accordingly, i does not see > 2/3 majority for 1, and he sets \(b_i = 0\) because Step \(s^*\) is a Coin-Fixed-To-0 step. As we have seen, \(v_i = H(B_\ell^r)\). Thus i propagates \((\text{ESIG}_i(0), \text{ESIG}_i(H(B_\ell^r)), \sigma_i^{r,s^*})\) as we wanted to show. For Step \(s^* + 1\), since player \(i'\) has helped propagating the messages in his \(\text{CERT}^r\) on or before time \(\alpha_{i'}^{r,s^*} + t_{s^*}\), all honest verifiers in \(HSV^{r,s^*+1}\) have received at least \(t_H\) valid (r, \(s^* - 1\))-messages for bit 0 and value \(H(B_\ell^r)\) on or before they are done waiting. Furthermore, verifiers in \(HSV^{r,s^*+1}\) will not stop before receiving those (r, \(s^* - 1\))- messages, because there do not exist any other \(t_H\) valid \((r, s' - 1)\)-messages for bit 1 with \(s' - 2 \equiv 1 \mod 3\) and \(6 \leq s' \leq s^* + 1\), by the definition of Step \(s^*\). In particular, Step \(s^* + 1\) itself is a Coin-Fixed-To-1 step, but no honest verifier in \(HSV^{r,s^*}\) has propagated a message for 1, and \(|MSV^{r,s^*}| < t_H\). Thus all honest verifiers in \(HSV^{r,s^*+1}\) stop without propagating anything and set \(B_r = B_\ell^r\): as before, they have received \(m_\ell^{r,1}\) before they receive the desired (r, \(s^* - 1\))-messages.20 The same can be said for all honest verifiers in future steps and all honest users in general. In particular, they all know \(B_r = B_\ell^r\) within the time interval \(I_{r+1}\) and \(T^{r+1} \leq \alpha_{i'}^{r,s^*} + t_{s^*} \leq T^r + \lambda + t_{s^*}\). Case 2.1.b. Event E.b happens and there exists an honest verifier \(i' \in HSV^{r,s^*}\) who should also stop without propagating anything. In this case we have \(s^* - 2 \equiv 1 \mod 3\) and Step \(s^*\) is a Coin-Fixed-To-1 step. The analysis is similar to Case 2.1.a and many details have been omitted. 20If \(\ell\) is malicious, he might send out \(m_\ell^{r,1}\) late, hoping that some honest users/verifiers have not received \(m_\ell^{r,1}\) yet when they receive the desired certificate for it. However, since verifier \(\hat{i} \in HSV^{r,4}\) has set \(b_{\hat{i}} = 0\) and \(v_{\hat{i}} = H(B_\ell^r)\), as before we have that more than half of honest verifiers \(i \in HSV^{r,3}\) have set \(v_i = H(B_\ell^r)\). This further implies more than half of honest verifiers \(i \in HSV^{r,2}\) have set \(v_i = H(B_\ell^r)\), and those (r, 2)-verifiers have all received \(m_\ell^{r,1}\). As the Adversary cannot distinguish a verifier from a non-verifier, he cannot target the propagation of \(m_\ell^{r,1}\) to (r, 2)-verifiers without having the non-verifiers seeing it. In fact, with high probability, more than half (or a good constant fraction) of all honest users have seen \(m_\ell^{r,1}\) after waiting for \(t_2\) from the beginning of their own round r. From here on, the time \(\lambda'\) needed for \(m_\ell^{r,1}\) to reach the remaining honest users is much smaller than \(\Lambda\), and for simplicity we do not write it out in the analysis. If \(4\lambda \geq \lambda'\) then the analysis goes through without any change: by the end of Step 4, all honest users would have received \(m_\ell^{r,1}\). If the size of the block becomes enormous and \(4\lambda < \lambda'\), then in Steps 3 and 4, the protocol could ask each verifier to wait for \(\lambda'/2\) rather than \(2\lambda\), and the analysis continues to hold.

As before, player \(i'\) must have received at least \(t_H\) valid (r, \(s^* - 1\))-messages of the form \((\text{ESIG}_j(1), \text{ESIG}_j(v_j), \sigma_j^{r,s^*-1})\). Again by the definition of \(s^*\), there does not exist a step \(5 \leq s' < s^*\) with \(s' - 2 \equiv 0 \mod 3\), where at least \(t_H\) \((r, s' - 1)\)-verifiers have signed 0 and the same v. Thus player \(i'\) stops without propagating anything; sets \(B_r = B_\epsilon^r\); and sets his own \(\text{CERT}^r\) to be the set of valid (r, \(s^* - 1\))-messages for bit 1 that he has received. Moreover, any other verifier \(i \in HSV^{r,s^*}\) has either stopped with \(B_r = B_\epsilon^r\) , or has set \(b_i = 1\) and propagated \((\text{ESIG}_i(1), \text{ESIG}_i(v_i), \sigma_i^{r,s^*})\). Since player \(i'\) has helped propagating the (r, \(s^* - 1\))-messages in his \(\text{CERT}^r\) by time \(\alpha_{i'}^{r,s^*} + t_{s^*}\), again all honest verifiers in \(HSV^{r,s^*+1}\) stop without propagating anything and set \(B_r = B_\epsilon^r\) . Similarly, all honest users know \(B_r = B_\epsilon^r\) within the time interval \(I_{r+1}\) and \(T^{r+1} \leq \alpha_{i'}^{r,s^*} + t_{s^*} \leq T^r + \lambda + t_{s^*}\). Case 2.2.a. Event E.a happens and there does not exist an honest verifier \(i' \in HSV^{r,s^*}\) who should also stop without propagating anything. In this case, note that player \(i^*\) could have a valid \(\text{CERT}_{i^*}^r\) consisting of the \(t_H\) desired (r, \(s^* - 1\))-messages the Adversary is able to collect or generate. However, the malicious verifiers may not help propagating those messages, so we cannot conclude that the honest users will receive them in time \(\lambda\). In fact, \(|MSV^{r,s^*-1}|\) of those messages may be from malicious (r, \(s^* - 1\))-verifiers, who did not propagate their messages at all and only send them to the malicious verifiers in step \(s^*\). Similar to Case 2.1.a, here we have \(s^* - 2 \equiv 0 \mod 3\), Step \(s^*\) is a Coin-Fixed-To-0 step, and the (r, \(s^* - 1\))-messages in \(\text{CERT}_{i^*}^r\) are for bit 0 and v = \(H(B_\ell^r)\). Indeed, all honest (r, \(s^* - 1\))-verifiers sign v, thus the Adversary cannot generate \(t_H\) valid (r, \(s^* - 1\))-messages for a different \(v'\). Moreover, all honest (r, \(s^*\))-verifiers have waited time \(t_{s^*}\) and do not see > 2/3 majority for bit 1, again because \(|HSV^{r,s^*-1}| + 4|MSV^{r,s^*-1}| < 2n\). Thus every honest verifier \(i \in HSV^{r,s^*}\) sets \(b_i = 0\), \(v_i = H(B_\ell^r)\) by the majority vote, and propagates \(m_i^{r,s^*} =\) \((\text{ESIG}_i(0), \text{ESIG}_i(H(B_\ell^r)), \sigma_i^{r,s^*})\) at time \(\alpha_i^{r,s^*} + t_{s^*}\). Now consider the honest verifiers in Step \(s^* + 1\) (which is a Coin-Fixed-To-1 step). If the Adversary actually sends the messages in \(\text{CERT}_{i^*}^r\) to some of them and causes them to stop, then similar to Case 2.1.a, all honest users know \(B_r = B_\ell^r\) within the time interval \(I_{r+1}\) and \(T^{r+1} \leq T^r + \lambda + t_{s^*+1}\). Otherwise, all honest verifiers in Step \(s^* + 1\) have received all the (r, \(s^*\))-messages for 0 and \(H(B_\ell^r)\) from \(HSV^{r,s^*}\) after waiting time \(t_{s^*+1}\), which leads to > 2/3 majority, because \(|HSV^{r,s^*}| > 2|MSV^{r,s^*}|\). Thus all the verifiers in \(HSV^{r,s^*+1}\) propagate their messages for 0 and \(H(B_\ell^r)\) accordingly. Note that the verifiers in \(HSV^{r,s^*+1}\) do not stop with \(B_r = B_\ell^r\), because Step \(s^* + 1\) is not a Coin-Fixed-To-0 step. Now consider the honest verifiers in Step \(s^* + 2\) (which is a Coin-Genuinely-Flipped step). If the Adversary sends the messages in \(\text{CERT}_{i^*}^r\) to some of them and causes them to stop, then again all honest users know \(B_r = B_\ell^r\) within the time interval \(I_{r+1}\) and \(T^{r+1} \leq T^r + \lambda + t_{s^*+2}\).

Otherwise, all honest verifiers in Step \(s^* + 2\) have received all the (r, \(s^* + 1\))-messages for 0 and \(H(B_\ell^r)\) from \(HSV^{r,s^*+1}\) after waiting time \(t_{s^*+2}\), which leads to > 2/3 majority. Thus all of them propagate their messages for 0 and \(H(B_\ell^r)\) accordingly: that is they do not “flip a coin” in this case. Again, note that they do not stop without propagating, because Step \(s^* + 2\) is not a Coin-Fixed-To-0 step. Finally, for the honest verifiers in Step \(s^* + 3\) (which is another Coin-Fixed-To-0 step), all of them would have received at least \(t_H\) valid messages for 0 and \(H(B_\ell^r)\) from \(HSV^{s^*+2}\), if they really wait time \(t_{s^*+3}\). Thus, whether or not the Adversary sends the messages in \(\text{CERT}_{i^*}^r\) to any of them, all verifiers in \(HSV^{r,s^*+3}\) stop with \(B_r = B_\ell^r\), without propagating anything. Depending on how the Adversary acts, some of them may have their own \(\text{CERT}^r\) consisting of those \((r, s^*-1)\)-messages in \(\text{CERT}_{i^*}^r\), and the others have their own \(\text{CERT}^r\) consisting of those (r, \(s^* + 2\))-messages. In any case, all honest users know \(B_r = B_\ell^r\) within the time interval \(I_{r+1}\) and \(T^{r+1} \leq T^r + \lambda + t_{s^*+3}\). Case 2.2.b. Event E.b happens and there does not exist an honest verifier \(i' \in HSV^{r,s^*}\) who should also stop without propagating anything. The analysis in this case is similar to those in Case 2.1.b and Case 2.2.a, thus many details have been omitted. In particular, \(\text{CERT}_{i^*}^r\) consists of the \(t_H\) desired \((r, s^*-1)\)-messages for bit 1 that the Adversary is able to collect or generate, \(s^* - 2 \equiv 1 \mod 3\), Step \(s^*\) is a Coin-Fixed-To-1 step, and no honest \((r, s^*)\)-verifier could have seen > 2/3 majority for 0. Thus, every verifier \(i \in HSV^{r,s^*}\) sets \(b_i = 1\) and propagates \(m_i^{r,s^*} = (\text{ESIG}_i(1), \text{ESIG}_i(v_i), \sigma_i^{r,s^*})\) at time \(\alpha_i^{r,s^*} + t_{s^*}\). Similar to Case 2.2.a, in at most 3 more steps (i.e., the protocol reaches Step \(s^* + 3\), which is another Coin-Fixed-To-1 step), all honest users know \(B_r = B_\epsilon^r\) within the time interval \(I_{r+1}\). Moreover, \(T^{r+1}\) may be \(\leq T^r + \lambda + t_{s^*+1}\), or \(\leq T^r + \lambda + t_{s^*+2}\), or \(\leq T^r + \lambda + t_{s^*+3}\), depending on when is the first time an honest verifier is able to stop without propagating. Combining the four sub-cases, we have that all honest users know \(B_r\) within the time interval \(I_{r+1}\), with \(T^{r+1} \leq T^r + \lambda + t_{s^*}\) in Cases 2.1.a and 2.1.b, and \(T^{r+1} \leq T^r + \lambda + t_{s^*+3}\) in Cases 2.2.a and 2.2.b. It remains to upper-bound \(s^*\) and thus \(T^{r+1}\) for Case 2, and we do so by considering how many times the Coin-Genuinely-Flipped steps are actually executed in the protocol: that is, some honest verifiers actually have flipped a coin. In particular, arbitrarily fix a Coin-Genuinely-Flipped step \(s'\) (i.e., \(7 \leq s' \leq m + 2\) and \(s' - 2 \equiv 2 \mod 3\)), and let \(\ell' \triangleq \arg \min_{j \in SV^{r,s'-1}} H(\sigma_j^{r,s'-1})\). For now let us assume \(s' < s^*\), because otherwise no honest verifier actually flips a coin in Step \(s'\), according to previous discussions. By the definition of \(SV^{r,s'-1}\), the hash value of the credential of \(\ell'\) is also the smallest among all users in \(PK^{r-k}\). Since the hash function is a random oracle, ideally player \(\ell'\) is honest with probability at least h. As we will show later, even if the Adversary tries his best to predict the output of the random oracle and tilt the probability, player \(\ell'\) is still honest with probability

at least \(p_h = h^2(1 + h - h^2)\). Below we consider the case when that indeed happens: that is, \(\ell' \in HSV^{r,s'-1}\). Note that every honest verifier \(i \in HSV^{r,s'}\) has received all messages from \(HSV^{r,s'-1}\) by time \(\alpha_i^{r,s'} + t_{s'}\). If player i needs to flip a coin (i.e., he has not seen > 2/3 majority for the same bit \(b \in \{0, 1\}\)), then he sets \(b_i = \text{lsb}(H(\sigma_{\ell'}^{r,s'-1}))\). If there exists another honest verifier \(i' \in HSV^{r,s'}\) who has seen > 2/3 majority for a bit \(b \in \{0, 1\}\), then by Property (d) of Lemma 5.5, no honest verifier in \(HSV^{r,s'}\) would have seen > 2/3 majority for a bit \(b' \neq b\). Since \(\text{lsb}(H(\sigma_{\ell'}^{r,s'-1})) = b\) with probability \(1/2\), all honest verifiers in \(HSV^{r,s'}\) reach an agreement on b with probability \(1/2\). Of course, if such a verifier \(i'\) does not exist, then all honest verifiers in \(HSV^{r,s'}\) agree on the bit \(\text{lsb}(H(\sigma_{\ell'}^{r,s'-1}))\) with probability \(1\). Combining the probability for \(\ell' \in HSV^{r,s'-1}\), we have that the honest verifiers in \(HSV^{r,s'}\) reach an agreement on a bit \(b \in \{0, 1\}\) with probability at least \(\frac{p_h}{2} = \frac{h^2(1+h-h^2)}{2}\). Moreover, by induction on the majority vote as before, all honest verifiers in \(HSV^{r,s'}\) have their \(v_i\)'s set to be \(H(B_\ell^r)\). Thus, once an agreement on b is reached in Step \(s'\), \(T^{r+1}\) is either \(\leq T^r + \lambda + t_{s'+1}\) or \(\leq T^r + \lambda + t_{s'+2}\), depending on whether \(b = 0\) or \(b = 1\), following the analysis of Cases 2.1.a and 2.1.b. In particular, no further Coin-Genuinely-Flipped step will be executed: that is, the verifiers in such steps still check that they are the verifiers and thus wait, but they will all stop without propagating anything. Accordingly, before Step \(s^*\), the number of times the Coin-GenuinelyFlipped steps are executed is distributed according to the random variable \(L_r\). Letting Step \(s'\) be the last Coin-Genuinely-Flipped step according to \(L_r\), by the construction of the protocol we have \(s' = 4 + 3L_r\). When should the Adversary make Step \(s^*\) happen if he wants to delay \(T^{r+1}\) as much as possible? We can even assume that the Adversary knows the realization of \(L_r\) in advance. If \(s^*\) > \(s'\) then it is useless, because the honest verifiers have already reached an agreement in Step \(s'\). To be sure, in this case \(s^*\) would be \(s' + 1\) or \(s' + 2\), again depending on whether \(b = 0\) or \(b = 1\). However, this is actually Cases 2.1.a and 2.1.b, and the resulting \(T^{r+1}\) is exactly the same as in that case. More precisely, \(T^{r+1} \leq T^r + \lambda + t_{s^*} \leq T^r + \lambda + t_{s'+2}\). If \(s^*\) < \(s' - 3\) —that is, \(s^*\) is before the second-last Coin-Genuinely-Flipped step— then by the analysis of Cases 2.2.a and 2.2.b, \(T^{r+1} \leq T^r + \lambda + t_{s^*+3} < T^r + \lambda + t_{s'}\). That is, the Adversary is actually making the agreement on \(B_r\) happen faster. If \(s^* = s' - 2\) or \(s' - 1\) —that is, the Coin-Fixed-To-0 step or the Coin-Fixed-To-1 step immediately before Step \(s'\)— then by the analysis of the four sub-cases, the honest verifiers in Step \(s'\) do not get to flip coins anymore, because they have either stopped without propagating, or have seen > 2/3 majority for the same bit \(b\). Therefore we have \(T^{r+1} \leq T^r + \lambda + t_{s^*+3} \leq T^r + \lambda + t_{s'+2}\).

In sum, no matter what \(s^*\) is, we have \(T^{r+1} \leq T^r + \lambda + t_{s'+2} = T^r + \lambda + t_{3L_r+6}\) \(= T^r + \lambda + (2(3L_r + 6) - 3)\lambda + \Lambda\) \(= T^r + (6L_r + 10)\lambda + \Lambda\), as we wanted to show. The worst case is when \(s^* = s' - 1\) and Case 2.2.b happens. Combining Cases 1 and 2 of the binary BA protocol, Lemma 5.3 holds. ■ 5.9 Security of the Seed \(Q_r\) and Probability of An Honest Leader It remains to prove Lemma 5.4. Recall that the verifiers in round \(r\) are taken from \(PK^{r-k}\) and are chosen according to the quantity \(Q_{r-1}\). The reason for introducing the look-back parameter \(k\) is to make sure that, back at round \(r - k\), when the Adversary is able to add new malicious users to \(PK^{r-k}\), he cannot predict the quantity \(Q_{r-1}\) except with negligible probability. Note that the hash function is a random oracle and \(Q_{r-1}\) is one of its inputs when selecting verifiers for round \(r\). Thus, no matter how malicious users are added to \(PK^{r-k}\), from the Adversary's point of view each one of them is still selected to be a verifier in a step of round \(r\) with the required probability \(p\) (or \(p_1\) for Step 1). More precisely, we have the following lemma. Lemma 5.6. With \(k = O(\log_{1/2} F)\), for each round \(r\), with overwhelming probability the Adversary did not query \(Q_{r-1}\) to the random oracle back at round \(r - k\). Proof. We proceed by induction. Assume that for each round \(\gamma < r\), the Adversary did not query \(Q_{\gamma-1}\) to the random oracle back at round \(\gamma - k\).21 Consider the following mental game played by the Adversary at round \(r - k\), trying to predict \(Q_{r-1}\). In Step 1 of each round \(\gamma = r - k, \ldots, r - 1\), given a specific \(Q_{\gamma-1}\) not queried to the random oracle, by ordering the players \(i \in PK^{\gamma-k}\) according to the hash values \(H(\text{SIG}_i(\gamma, 1, Q_{\gamma-1}))\) increasingly, we obtain a random permutation over \(PK^{\gamma-k}\). By definition, the leader \(\ell_\gamma\) is the first user in the permutation and is honest with probability \(h\). Moreover, when \(PK^{\gamma-k}\) is large enough, for any integer \(x \geq 1\), the probability that the first \(x\) users in the permutation are all malicious but the \((x + 1)\)st is honest is \((1 - h)^x h\). If \(\ell_\gamma\) is honest, then \(Q_\gamma = H(\text{SIG}_{\ell_\gamma}(Q_{\gamma-1}), \gamma)\). As the Adversary cannot forge the signature of \(\ell_\gamma\), \(Q_\gamma\) is distributed uniformly at random from the Adversary's point of view and, except with exponentially small probability,22 was not queried to \(H\) at round \(r - k\). Since each \(Q_{\gamma+1}, Q_{\gamma+2}, \ldots, Q_{r-1}\) respectively is the output of \(H\) with \(Q_\gamma, Q_{\gamma+1}, \ldots, Q_{r-2}\) as one of the inputs, they all look random to the Adversary and the Adversary could not have queried \(Q_{r-1}\) to \(H\) at round \(r - k\). Accordingly, the only case where the Adversary can predict \(Q_{r-1}\) with good probability at round \(r - k\) is when all the leaders \(\ell_{r-k}, \ldots, \ell_{r-1}\) are malicious. Again consider a round \(\gamma \in \{r - k \ldots, r - 1\}\) and the random permutation over \(PK^{\gamma-k}\) induced by the corresponding hash values. If for some \(x \geq 2\), the first \(x - 1\) users in the permutation are all malicious and the \(x\)-th is honest, then the Adversary has \(x\) possible choices for \(Q_\gamma\): either of the form \(H(\text{SIG}_i(Q_{\gamma-1}, \gamma))\), where \(i\) is one of 21As \(k\) is a small integer, without loss of generality one can assume that the first \(k\) rounds of the protocol are run under a safe environment and the inductive hypothesis holds for those rounds. 22That is, exponential in the length of the output of \(H\). Note that this probability is way smaller than \(F\).

the first \(x - 1\) malicious users, by making player \(i\) the actually leader of round \(\gamma\); or \(H(Q_{\gamma-1}, \gamma)\), by forcing \(B_\gamma = B_\gamma^\epsilon\). Otherwise, the leader of round \(\gamma\) will be the first honest user in the permutation and \(Q_{r-1}\) becomes unpredictable to the Adversary. Which of the above \(x\) options of \(Q_\gamma\) should the Adversary pursue? To help the Adversary answer this question, in the mental game we actually make him more powerful than he actually is, as follows. First of all, in reality, the Adversary cannot compute the hash of a honest user's signature, thus cannot decide, for each \(Q_\gamma\), the number \(x(Q_\gamma)\) of malicious users at the beginning of the random permutation in round \(\gamma + 1\) induced by \(Q_\gamma\). In the mental game, we give him the numbers \(x(Q_\gamma)\) for free. Second of all, in reality, having the first \(x\) users in the permutation all being malicious does not necessarily mean they can all be made into the leader, because the hash values of their signatures must also be less than \(p_1\). We have ignored this constraint in the mental game, giving the Adversary even more advantages. It is easy to see that in the mental game, the optimal option for the Adversary, denoted by \(\hat{Q}_\gamma\), is the one that produces the longest sequence of malicious users at the beginning of the random permutation in round \(\gamma + 1\). Indeed, given a specific \(Q_\gamma\), the protocol does not depend on \(Q_{\gamma-1}\) anymore and the Adversary can solely focus on the new permutation in round \(\gamma + 1\), which has the same distribution for the number of malicious users at the beginning. Accordingly, in each round \(\gamma\), the above mentioned \(\hat{Q}_\gamma\) gives him the largest number of options for \(Q_{\gamma+1}\) and thus maximizes the probability that the consecutive leaders are all malicious. Therefore, in the mental game the Adversary is following a Markov Chain from round \(r - k\) to round \(r - 1\), with the state space being \(\{0\} \cup \{x : x \geq 2\}\). State 0 represents the fact that the first user in the random permutation in the current round \(\gamma\) is honest, thus the Adversary fails the game for predicting \(Q_{r-1}\); and each state \(x \geq 2\) represents the fact that the first \(x - 1\) users in the permutation are malicious and the \(x\)-th is honest, thus the Adversary has \(x\) options for \(Q_\gamma\). The transition probabilities \(P(x, y)\) are as follows. • \(P(0, 0) = 1\) and \(P(0, y) = 0\) for any \(y \geq 2\). That is, the Adversary fails the game once the first user in the permutation becomes honest. • \(P(x, 0) = h^x\) for any \(x \geq 2\). That is, with probability \(h^x\), all the \(x\) random permutations have their first users being honest, thus the Adversary fails the game in the next round. • For any \(x \geq 2\) and \(y \geq 2\), \(P(x, y)\) is the probability that, among the \(x\) random permutations induced by the \(x\) options of \(Q_\gamma\), the longest sequence of malicious users at the beginning of some of them is \(y - 1\), thus the Adversary has \(y\) options for \(Q_{\gamma+1}\) in the next round. That is, \(P(x, y) = \left(\sum_{i=0}^{y-1} (1 - h)^i h\right)^x - \left(\sum_{i=0}^{y-2} (1 - h)^i h\right)^x = (1 - (1 - h)^y)^x - (1 - (1 - h)^{y-1})^x\). Note that state 0 is the unique absorbing state in the transition matrix \(P\), and every other state \(x\) has a positive probability of going to 0. We are interested in upper-bounding the number \(k\) of rounds needed for the Markov Chain to converge to 0 with overwhelming probability: that is, no matter which state the chain starts at, with overwhelming probability the Adversary loses the game and fails to predict \(Q_{r-1}\) at round \(r - k\). Consider the transition matrix \(P^{(2)} \triangleq P \cdot P\) after two rounds. It is easy to see that \(P^{(2)}(0, 0) = 1\) and \(P^{(2)}(0, x) = 0\) for any \(x \geq 2\). For any \(x \geq 2\) and \(y \geq 2\), as \(P(0, y) = 0\), we have \(P^{(2)}(x, y) = P(x, 0)P(0, y) + \sum_{z \geq 2} P(x, z)P(z, y) = \sum_{z \geq 2} P(x, z)P(z, y)\).

Letting \(\bar{h} \triangleq 1 - h\), we have \(P(x, y) = (1 - \bar{h}^y)^x - (1 - \bar{h}^{y-1})^x\) and \(P^{(2)}(x, y) = \sum_{z \geq 2} [(1 - \bar{h}^z)^x - (1 - \bar{h}^{z-1})^x][(1 - \bar{h}^y)^z - (1 - \bar{h}^{y-1})^z]\). Below we compute the limit of \(\frac{P^{(2)}(x,y)}{P(x,y)}\) as \(h\) goes to 1 —that is, \(\bar{h}\) goes to 0. Note that the highest order of \(\bar{h}\) in \(P(x, y)\) is \(\bar{h}^{y-1}\), with coefficient \(x\). Accordingly, \(\lim_{h \to 1} \frac{P^{(2)}(x, y)}{P(x, y)} = \lim_{\bar{h} \to 0} \frac{P^{(2)}(x, y)}{P(x, y)} = \lim_{\bar{h} \to 0} \frac{P^{(2)}(x, y)}{x\bar{h}^{y-1} + O(\bar{h}^y)}\) \(= \lim_{\bar{h} \to 0} \frac{\sum_{z \geq 2} [x\bar{h}^{z-1} + O(\bar{h}^z)][z\bar{h}^{y-1} + O(\bar{h}^y)]}{x\bar{h}^{y-1} + O(\bar{h}^y)} = \lim_{\bar{h} \to 0} \frac{2x\bar{h}^y + O(\bar{h}^{y+1})}{x\bar{h}^{y-1} + O(\bar{h}^y)}\) \(= \lim_{\bar{h} \to 0} \frac{2x\bar{h}^y}{x\bar{h}^{y-1}} = \lim_{\bar{h} \to 0} 2\bar{h} = 0\). When \(h\) is sufficiently close to 1,23 we have \(\frac{P^{(2)}(x, y)}{P(x, y)} \leq \frac{1}{2}\) for any \(x \geq 2\) and \(y \geq 2\). By induction, for any \(k > 2\), \(P^{(k)} \triangleq P^k\) is such that • \(P^{(k)}(0, 0) = 1\), \(P^{(k)}(0, x) = 0\) for any \(x \geq 2\), and • for any \(x \geq 2\) and \(y \geq 2\), \(P^{(k)}(x, y) = P^{(k-1)}(x, 0)P(0, y) + \sum_{z \geq 2} P^{(k-1)}(x, z)P(z, y) = \sum_{z \geq 2} P^{(k-1)}(x, z)P(z, y)\) \(\leq \sum_{z \geq 2} \frac{P(x, z)}{2^{k-2}} \cdot P(z, y) = \frac{P^{(2)}(x, y)}{2^{k-2}} \leq \frac{P(x, y)}{2^{k-1}}\). As \(P(x, y) \leq 1\), after \(1 - \log_2 F\) rounds, the transition probability into any state \(y \geq 2\) is negligible, starting with any state \(x \geq 2\). Although there are many such states \(y\), it is easy to see that \(\lim_{y \to +\infty} \frac{P(x, y)}{P(x, y + 1)} = \lim_{y \to +\infty} \frac{(1 - \bar{h}^y)^x - (1 - \bar{h}^{y-1})^x}{(1 - \bar{h}^{y+1})^x - (1 - \bar{h}^y)^x} = \lim_{y \to +\infty} \frac{\bar{h}^{y-1} - \bar{h}^y}{\bar{h}^y - \bar{h}^{y+1}} = \frac{1}{\bar{h}} = \frac{1}{1 - h}\). Therefore each row \(x\) of the transition matrix \(P\) decreases as a geometric sequence with rate \(\frac{1}{1-h} > 2\) when \(y\) is large enough, and the same holds for \(P^{(k)}\). Accordingly, when \(k\) is large enough but still on the order of \(\log_{1/2} F\), \(\sum_{y \geq 2} P^{(k)}(x, y) < F\) for any \(x \geq 2\). That is, with overwhelming probability the Adversary loses the game and fails to predict \(Q_{r-1}\) at round \(r - k\). For \(h \in (2/3, 1]\), a more complex analysis shows that there exists a constant \(C\) slightly larger than 1/2, such that it suffices to take \(k = O(\log_C F)\). Thus Lemma 5.6 holds. ■ Lemma 5.4. (restated) Given Properties 1–3 for each round before \(r\), \(p_h = h^2(1 + h - h^2)\) for \(L_r\), and the leader \(\ell_r\) is honest with probability at least \(p_h\). 23For example, \(h = 80\%\) as suggested by the specific choices of parameters.

Proof. Following Lemma 5.6, the Adversary cannot predict \(Q_{r-1}\) back at round \(r - k\) except with negligible probability. Note that this does not mean the probability of an honest leader is \(h\) for each round. Indeed, given \(Q_{r-1}\), depending on how many malicious users are at the beginning of the random permutation of \(PK^{r-k}\), the Adversary may have more than one options for \(Q_r\) and thus can increase the probability of a malicious leader in round \(r + 1\) —again we are giving him some unrealistic advantages as in Lemma 5.6, so as to simplify the analysis. However, for each \(Q_{r-1}\) that was not queried to \(H\) by the Adversary back at round \(r - k\), for any \(x \geq 1\), with probability \((1 - h)^{x-1} h\) the first honest user occurs at position \(x\) in the resulting random permutation of \(PK^{r-k}\). When \(x = 1\), the probability of an honest leader in round \(r + 1\) is indeed \(h\); while when \(x = 2\), the Adversary has two options for \(Q_r\) and the resulting probability is \(h^2\). Only by considering these two cases, we have that the probability of an honest leader in round \(r + 1\) is at least \(h \cdot h + (1 - h)h \cdot h^2 = h^2(1 + h - h^2)\) as desired. Note that the above probability only considers the randomness in the protocol from round \(r - k\) to round \(r\). When all the randomness from round 0 to round \(r\) is taken into consideration, \(Q_{r-1}\) is even less predictable to the Adversary and the probability of an honest leader in round \(r + 1\) is at least \(h^2(1 + h - h^2)\). Replacing \(r + 1\) with \(r\) and shifts everything back by one round, the leader \(\ell_r\) is honest with probability at least \(h^2(1 + h - h^2)\), as desired. Similarly, in each Coin-Genuinely-Flipped step \(s\), the "leader" of that step —that is the verifier in \(SV^{r,s}\) whose credential has the smallest hash value, is honest with probability at least $h^2(1 + h - h^2)\(. Thus \)p_h = h^2(1 + h - h^2)\( for \)L_r$ and Lemma 5.4 holds. ■

Algorand '

1 इस अनुभाग में, हम निम्नलिखित धारणा के तहत काम करते हुए Algorand ' का एक संस्करण बनाते हैं। अधिकांश उपयोगकर्ता ईमानदार हैं। धारणा: प्रत्येक पीकेआर में 2/3 से अधिक उपयोगकर्ता ईमानदार हैं। धारा 8 में, हम दिखाते हैं कि उपरोक्त धारणा को वांछित ईमानदार बहुमत से कैसे बदला जाए धन संबंधी धारणा. 5.1 अतिरिक्त सूचनाएँ और पैरामीटर्स संकेतन • m \(\in\)Z+: बाइनरी बीए प्रोटोकॉल में चरणों की अधिकतम संख्या, 3 का गुणक। • एलआर \(\leq\)एम/3: 1 देखने के लिए आवश्यक बर्नौली परीक्षणों की संख्या का प्रतिनिधित्व करने वाला एक यादृच्छिक चर, जब प्रत्येक परीक्षण संभाव्यता पीएच के साथ 1 है 2 और अधिकतम एम/3 परीक्षण हैं। यदि सभी परीक्षण विफल हो जाएं तो एलआर \(\triangleq\)एम/3. Lr का उपयोग ब्लॉक Br उत्पन्न करने के लिए आवश्यक समय को ऊपरी सीमा में करने के लिए किया जाएगा। • tH = 2n 3 + 1: प्रोटोकॉल की अंतिम शर्तों में आवश्यक हस्ताक्षरों की संख्या। • CERT r: ब्र के लिए प्रमाणपत्र। यह उचित सत्यापनकर्ताओं से H(Br) के TH हस्ताक्षरों का एक सेट है गोल आर. पैरामीटर्स • विभिन्न मापदंडों के बीच संबंध। - राउंड आर के प्रत्येक चरण s > 1 के लिए, n को चुना गया है ताकि, अत्यधिक संभावना के साथ, |एचएसवी आर,एस| > 2|एमएसवी आर,एस| और |एचएसवी आर,एस| + 4|एमएसवी आर,एस| <2एन. h का मान 1 के जितना करीब होगा, n उतना ही छोटा होना चाहिए। विशेष रूप से, हम (वेरिएंट) का उपयोग करते हैं का) चेर्नोफ़िबाउंड यह सुनिश्चित करने के लिए कि वांछित स्थितियाँ अत्यधिक संभावना के साथ बनी रहें। — m को इस प्रकार चुना गया है कि Lr < m/3 अत्यधिक संभावना के साथ। • महत्वपूर्ण मापदंडों के उदाहरण विकल्प। — एफ = 10−12. - n \(\approx\)1500, k = 40 और m = 180।5.2 Algorand में अल्पकालिक कुंजियाँ लागू करना 1 जैसा कि पहले ही उल्लेख किया गया है, हम चाहते हैं कि एक सत्यापनकर्ता i\(\in\)SV r,s डिजिटल रूप से अपने संदेश पर हस्ताक्षर करे mr,s मैं कदम का राउंड आर में एस, एक अल्पकालिक सार्वजनिक कुंजी पीकेआर, एस के सापेक्ष मैं, एक क्षणिक गुप्त कुंजी skr,s का उपयोग कर रहा हूँ मैं वह वह उपयोग के बाद तुरंत नष्ट कर देता है। इस प्रकार हमें यह सुनिश्चित करने के लिए एक कुशल विधि की आवश्यकता है कि प्रत्येक उपयोगकर्ता ऐसा कर सके सत्यापित करें कि pkr,s मैं यह वास्तव में श्रीमान के हस्ताक्षर को सत्यापित करने के लिए उपयोग की जाने वाली कुंजी है मैं . हम ऐसा (सर्वोत्तम से) करके करते हैं हमारे ज्ञान का) पहचान-आधारित हस्ताक्षर योजनाओं का नया उपयोग। उच्च स्तर पर, ऐसी योजना में, एक केंद्रीय प्राधिकरण ए एक सार्वजनिक मास्टर कुंजी, पीएमके, उत्पन्न करता है। और संबंधित गुप्त मास्टर कुंजी, एसएमके। एक खिलाड़ी यू की पहचान, यू को देखते हुए, ए गणना करता है, एसएमके के माध्यम से, सार्वजनिक कुंजी यू के सापेक्ष एक गुप्त हस्ताक्षर कुंजी एसकेयू, और निजी तौर पर एसकेयू देता है यू. (वास्तव में, एक पहचान-आधारित डिजिटल हस्ताक्षर योजना में, उपयोगकर्ता यू की सार्वजनिक कुंजी यू ही है!) इस तरह, यदि A उन उपयोगकर्ताओं की गुप्त कुंजियों की गणना करने के बाद SMK को नष्ट कर देता है जिन्हें वह सक्षम करना चाहता है डिजिटल हस्ताक्षर तैयार करता है, और कोई गणना की गई गुप्त कुंजी नहीं रखता है, तो यू एकमात्र ऐसा व्यक्ति है जो सार्वजनिक कुंजी यू के सापेक्ष संदेशों पर डिजिटल रूप से हस्ताक्षर कर सकते हैं। इस प्रकार, जो कोई भी "यू का नाम" जानता है, यू की सार्वजनिक कुंजी को स्वचालित रूप से जानता है, और इस प्रकार यू के हस्ताक्षरों को सत्यापित कर सकता है (संभवतः इसका उपयोग भी कर सकता है)। सार्वजनिक मास्टर कुंजी पीएमके)। हमारे एप्लिकेशन में, प्राधिकरण A उपयोगकर्ता i है, और सभी संभावित उपयोगकर्ताओं का सेट U से मेल खाता है राउंड-स्टेप जोड़ी (आर, एस) में -कहें- एस = {आई}\(\times\){आर',। . . , r′ +106}\(\times\){1, . . . , m+3}, जहां r′ दिया गया है राउंड, और एम + 3 एक राउंड के भीतर होने वाले चरणों की संख्या के ऊपरी हिस्से में। यह रास्ता, पीकेआर, एस मैं \(\triangleq\)(i, r, s), ताकि हर कोई i का हस्ताक्षर देख सके SIGr,s पीकेआर, एस मैं (श्रीमान, एस मैं ) जबरदस्त तरीके से कर सकता हूं संभाव्यता, तुरंत इसे r′ के बाद पहले मिलियन राउंड r के लिए सत्यापित करें। दूसरे शब्दों में, मैं सबसे पहले पीएमके और एसएमके उत्पन्न करता हूं। फिर, वह प्रचारित करते हैं कि पीएमके मेरा मालिक है किसी भी दौर r \(\in\)[r′, r′ + 106] के लिए सार्वजनिक कुंजी, और गुप्त उत्पादन और भंडारण के लिए SMK का उपयोग करता है कुंजी एस.के.आर.,एस मैं प्रत्येक त्रिक (i, r, s) \(\in\)S के लिए। ऐसा करने पर, वह एसएमके को नष्ट कर देता है। यदि वह यह निश्चित कर ले कि वह ऐसा नहीं है एसवी आर,एस का हिस्सा, तो मैं एसकेआर,एस छोड़ सकता हूं मैं अकेले (क्योंकि प्रोटोकॉल के लिए आवश्यक नहीं है कि वह प्रमाणीकरण करे राउंड आर के चरण एस में कोई भी संदेश)। अन्यथा, मैं सबसे पहले skr,s का उपयोग करता हूँ मैं अपने संदेश पर डिजिटल हस्ताक्षर करने के लिए श्रीमान, एस मैं , और फिर skr,s को नष्ट कर देता है मैं . ध्यान दें कि जब वह पहली बार सिस्टम में प्रवेश करेगा तो मैं उसकी पहली सार्वजनिक मास्टर कुंजी का प्रचार कर सकता हूँ। अर्थात्, वही भुगतान \(\wp\) जो i को सिस्टम में लाता है (एक राउंड r' पर या r' के करीब एक राउंड पर), यह भी हो सकता है मेरे अनुरोध पर, निर्दिष्ट करें कि किसी भी राउंड r \(\in\)[r′, r′ + 106] के लिए i की सार्वजनिक मास्टर कुंजी PMK है - उदाहरण के लिए, द्वारा फॉर्म की एक जोड़ी सहित (पीएमके, [आर', आर' + 106])। यह भी ध्यान दें, चूँकि m + 3 एक चक्कर में चरणों की अधिकतम संख्या है, इसलिए इसे एक चक्कर माना जाता है एक मिनट लगता है, इस प्रकार उत्पादित क्षणिक कुंजियों का भंडार लगभग दो वर्षों तक चलेगा। उसी समय समय के साथ, इन अल्पकालिक गुप्त कुंजियों को तैयार करने में मुझे बहुत अधिक समय नहीं लगेगा। अण्डाकार-वक्र आधारित का उपयोग करना 32B कुंजियों वाला सिस्टम, प्रत्येक गुप्त कुंजी की गणना कुछ माइक्रोसेकंड में की जाती है। इस प्रकार, यदि m + 3 = 180, तब सभी 180M गुप्त कुंजियों की गणना एक घंटे से भी कम समय में की जा सकती है। जब वर्तमान दौर अगले मिलियन राउंड को संभालने के लिए r' + 106 के करीब पहुंच रहा हो, i एक नई (PMK′, SMK′) जोड़ी बनाता है, और सूचित करता है कि उसकी क्षणिक कुंजियों का अगला भंडार क्या है —उदाहरण के लिए—SIGi(PMK′, [r′ + 106 + 1, r′ + 2 \(\cdot\) 106 + 1]) होने पर एक नया ब्लॉक दर्ज करें, या तो a के रूप में अलग "लेन-देन" या कुछ अतिरिक्त जानकारी के रूप में जो भुगतान का हिस्सा है। ऐसा करने से, मैं सभी को सूचित करता हूं कि उन्हें अगले में मेरे अल्पकालिक हस्ताक्षरों को सत्यापित करने के लिए पीएमके' का उपयोग करना चाहिए लाख चक्कर. और इसी तरह। (ध्यान दें कि, इस बुनियादी दृष्टिकोण का पालन करते हुए, अल्पकालिक कुंजियों को लागू करने के अन्य तरीके बिना पहचान-आधारित हस्ताक्षरों का उपयोग निश्चित रूप से संभव है। उदाहरण के लिए, Merkle trees.16 के माध्यम से) 16 इस पद्धति में, मैं एक सार्वजनिक-गुप्त कुंजी जोड़ी (pkr,s) उत्पन्न करता हूं मैं , एसकेआर,एस मैं ) प्रत्येक राउंड-स्टेप जोड़ी (आर, एस) के लिए - मान लीजिए-अल्पकालिक कुंजियों को लागू करने के अन्य तरीके निश्चित रूप से संभव हैं - उदाहरण के लिए, Merkle trees के माध्यम से। 5.3 Algorand के चरणों का मिलान 1 BA⋆ वालों के साथ जैसा कि हमने कहा, Algorand में एक राउंड 1 में अधिकतम m + 3 चरण हैं। चरण 1. इस चरण में, प्रत्येक संभावित नेता अपने उम्मीदवार ब्लॉक ब्र की गणना और प्रचार करता है मैं , अपनी स्वयं की साख के साथ, \(\sigma\)r,1 मैं . याद रखें कि यह क्रेडेंशियल स्पष्ट रूप से i की पहचान करता है। ऐसा इसलिए है, क्योंकि \(\sigma\)r,1 मैं \(\triangleq\)SIGi(r, 1, Qr−1). संभावित सत्यापनकर्ता, अपने संदेश के भाग के रूप में, H(Br) के अपने उचित डिजिटल हस्ताक्षर का भी प्रचार करता है मैं ). किसी भुगतान या क्रेडेंशियल से संबंधित नहीं, मेरा यह हस्ताक्षर उसकी अल्पकालिक जनता से संबंधित है कुंजी पीकेआर,1 i : अर्थात, वह sigpkr,1 का प्रचार करता है मैं (एच(ब्र मैं )). हमारे सम्मेलनों को देखते हुए, ब्र. का प्रचार करने के बजाय मैं और sigpkr,1 मैं (एच(ब्र मैं )), वह कर सकता था प्रचारित SIGpkr,1 मैं (एच(ब्र मैं )). हालाँकि, हमारे विश्लेषण में हमें स्पष्ट पहुंच की आवश्यकता है sigpkr,1 मैं (एच(ब्र मैं )). चरण 2. इस चरण में, प्रत्येक सत्यापनकर्ता i \(\ell\)r सेट करता है मैं संभावित नेता हूं जिसकी hashed साख है सबसे छोटा है, और ब्र i को \(\ell\)r द्वारा प्रस्तावित ब्लॉक होना चाहिए मैं . चूंकि, दक्षता के लिए, हम मैं सीधे Br के बजाय H(Br) पर सहमत होना चाहता हूँ, मैं उसके संदेश का प्रचार करता हूँ प्रारंभिक मान v′ के साथ BA⋆ के पहले चरण में प्रचारित किया गया मैं = एच(ब्र मैं ). अर्थात वह v′ का प्रचार करता है मैं, बेशक, क्षणिक रूप से इस पर हस्ताक्षर करने के बाद। (अर्थात्, सही क्षणिक के सापेक्ष इस पर हस्ताक्षर करने के बाद सार्वजनिक कुंजी, जो इस मामले में पीकेआर,2 है मैं .) निःसंदेह, मैं भी अपना परिचय पत्र प्रसारित करता हूँ। चूँकि BA⋆ का पहला चरण ग्रेडेड सर्वसम्मति प्रोटोकॉल GC का पहला चरण शामिल है, चरण Algorand ′ का 2 GC के पहले चरण से मेल खाता है। चरण 3. इस चरण में, प्रत्येक सत्यापनकर्ता i \(\in\)SV r,2 BA⋆ के दूसरे चरण को निष्पादित करता है। यानी वह भेजता है यही संदेश उसने जीसी के दूसरे चरण में भी भेजा होगा। फिर, मेरा संदेश क्षणिक है हस्ताक्षरित और मेरे क्रेडेंशियल के साथ। (अब से, हम यह कहना छोड़ देंगे कि एक सत्यापनकर्ता क्षणिक रूप से अपने संदेश पर हस्ताक्षर करता है और अपनी साख का प्रचार भी करता है।) चरण 4. इस चरण में, प्रत्येक सत्यापनकर्ता i \(\in\)SV r,4 GC, (vi, gi) के आउटपुट की गणना करता है, और क्षणिक रूप से हस्ताक्षर करता है और वही संदेश भेजता है जो उसने BA⋆ के तीसरे चरण में भेजा होगा, अर्थात BBA⋆ का पहला चरण, प्रारंभिक बिट 0 के साथ यदि gi = 2, और 1 अन्यथा। चरण s = 5, . . . , एम + 2। ऐसा कदम, यदि कभी पहुंचा है, तो बीए⋆ के चरण एस −1 से मेल खाता है, और इस प्रकार BBA⋆ का चरण s −3। चूँकि हमारा प्रसार मॉडल पर्याप्त रूप से अतुल्यकालिक है, इसलिए हमें संभावना को ध्यान में रखना चाहिए कि, ऐसे चरण s के बीच में, एक सत्यापनकर्ता i \(\in\)SV r,s तक उसे साबित करने वाली जानकारी पहुँच जाती है वह ब्लॉक Br पहले ही चुना जा चुका है। इस मामले में, मैं राउंड आर के अपने निष्पादन को रोक देता हूं Algorand ', और अपने राउंड-(आर + 1) निर्देशों को निष्पादित करना शुरू कर देता है। {आर', । . . , आर' + 106} \(\times\) {1, . . . , एम + 3}. फिर वह इन सार्वजनिक कुंजियों को विहित तरीके से ऑर्डर करता है, jth सार्वजनिक को संग्रहीत करता है Merkle tree के jth पत्ते में कुंजी, और मूल मान Ri की गणना करता है, जिसे वह प्रचारित करता है। जब वह हस्ताक्षर करना चाहे कुंजी पीकेआर,एस से संबंधित एक संदेश मैं , मैं न केवल वास्तविक हस्ताक्षर प्रदान करता हूं, बल्कि पीकेआर,एस के लिए प्रमाणीकरण पथ भी प्रदान करता हूं मैं री के सापेक्ष. ध्यान दें कि यह प्रमाणीकरण पथ यह भी सिद्ध करता है कि pkr,s मैं जेवें पत्ते में संग्रहित है। शेष विवरण आसानी से भरा जा सकता है।तदनुसार, एक सत्यापनकर्ता के निर्देश i \(\in\)SV r,s, संबंधित निर्देशों के अतिरिक्त BBA⋆ के चरण s −3 में, यह जांचना शामिल है कि क्या BBA⋆ का निष्पादन पहले रुका हुआ है कदम एस'. चूंकि बीबीए केवल कॉइन-फिक्स्ड-टू-0 चरण या कॉइन-फिक्स्ड-टू-1 चरण में ही रुक सकता है, निर्देश भेद करते हैं कि क्या ए (अंतिम स्थिति 0): एस′ −2 ≡0 मॉड 3, या बी (अंतिम शर्त 1): एस′ −2 ≡1 मॉड 3। वास्तव में, ए के मामले में, ब्लॉक बी गैर-रिक्त है, और इस प्रकार अतिरिक्त निर्देश आवश्यक हैं सुनिश्चित करें कि मैं उचित प्रमाणपत्र सीईआरटी आर के साथ, बीआर का उचित ढंग से पुनर्निर्माण करता हूं। मामले बी में, ब्लॉक Br खाली है, और इस प्रकार मुझे Br = Br सेट करने का निर्देश दिया गया है \(\varepsilon\) = (आर, \(\emptyset\), एच(क्यूआर−1, आर), एच(बीआर−1)), और CERT r की गणना करने के लिए। यदि, चरणों के निष्पादन के दौरान, मुझे कोई सबूत नहीं दिखता कि ब्लॉक Br पहले से ही है उत्पन्न हो गया है, तो वह वही संदेश भेजता है जो उसने BBA⋆ के चरण s −3 में भेजा होगा। चरण m + 3। यदि, चरण m + 3 के दौरान, i \(\in\)SV r,m+3 देखता है कि ब्लॉक Br पहले ही उत्पन्न हो चुका था एक पूर्व कदम s', फिर वह ऊपर बताए अनुसार आगे बढ़ता है। अन्यथा, बजाय इसके कि वह वही संदेश भेजता जो उसने BBA⋆ के चरण m में भेजा होता, i है अपने पास मौजूद जानकारी के आधार पर, Br और उसके संगत की गणना करने का निर्देश दिया प्रमाणित CERT आर. वास्तव में, याद रखें कि हम एक दौर के चरणों की कुल संख्या को m + 3 से बढ़ाते हैं। 5.4 वास्तविक प्रोटोकॉल याद रखें कि, राउंड आर के प्रत्येक चरण में, एक सत्यापनकर्ता i \(\in\)SV r,s अपनी दीर्घकालिक सार्वजनिक-गुप्त कुंजी जोड़ी का उपयोग करता है उसकी साख, \(\sigma\)r,s प्रस्तुत करने के लिए मैं \(\triangleq\)SIGi(r, s, Qr−1), साथ ही SIGi Qr−1 मामले में s = 1. सत्यापनकर्ता i अपनी क्षणिक गुप्त कुंजी skr,s का उपयोग करता है मैं उसके (आर, एस)-संदेश श्रीमान, एस पर हस्ताक्षर करने के लिए मैं . सरलता के लिए, जब r और s हों स्पष्ट है, हम sigpkr,s के बजाय esigi(x) लिखते हैं i (x) किसी मूल्य के i के उचित क्षणिक हस्ताक्षर को दर्शाने के लिए राउंड आर के चरण एस में एक्स, और एसआईजीपीकेआर, एस के बजाय ईएसआईजीआई (एक्स) लिखें i (x) को निरूपित करने के लिए (i, x, esigi(x))। चरण 1: प्रस्ताव को ब्लॉक करें प्रत्येक उपयोगकर्ता i \(\in\)PKr−k के लिए निर्देश: उपयोगकर्ता i जैसे ही राउंड आर का अपना चरण 1 शुरू करता है Br−1 जानता है. • उपयोगकर्ता i, Br−1 के तीसरे घटक से Qr−1 की गणना करता है और जाँचता है कि क्या i \(\in\)SV r,1 या नहीं. • यदि i /\(\in\)SV r,1, तो मैं चरण 1 के अपने निष्पादन को तुरंत रोक देता हूं। • अगर मैं \(\in\)एसवी आर,1, यानी, अगर मैं एक संभावित नेता हूं, तो वह राउंड-आर भुगतान एकत्र करता है अब तक उसे प्रचारित किया गया है और अधिकतम भुगतान सेट PAY r की गणना की गई है मैं उनसे. अगला, वह अपने "उम्मीदवार ब्लॉक" ब्र की गणना करता है मैं = (आर, भुगतान आर i , SIGi(Qr−1), H(Br−1)). अंत में, वह गणना करता है संदेश श्रीमान,1 मैं = (ब्र मैं , ईएसजीआई(एच(बीआर मैं )), \(\sigma\)r,1 i), उसकी क्षणिक गुप्त कुंजी skr,1 को नष्ट कर देता है मैं , और फिर प्रचारित श्रीमान,1 मैं .टिप्पणी। व्यवहार में, चरण 1 के वैश्विक निष्पादन को छोटा करने के लिए, यह महत्वपूर्ण है कि (आर, 1)- संदेशों को चुनिंदा तरीके से प्रचारित किया जाता है। अर्थात्, सिस्टम में प्रत्येक उपयोगकर्ता के लिए, पहले (आर, 1) के लिए- संदेश जो वह कभी भी प्राप्त करता है और सफलतापूर्वक सत्यापित करता है, 17 खिलाड़ी मैं इसे हमेशा की तरह प्रचारित करता हूं। सभी के लिए अन्य (आर, 1)-संदेश जो खिलाड़ी मुझे प्राप्त होता है और सफलतापूर्वक सत्यापित करता है, वह इसे केवल तभी प्रचारित करता है जब hash इसमें शामिल क्रेडेंशियल का मान इसमें शामिल क्रेडेंशियल के hash मानों में सबसे छोटा है कुल मिलाकर (आर, 1)-संदेश उसे अब तक प्राप्त हुए हैं और सफलतापूर्वक सत्यापित किए गए हैं। इसके अलावा, जैसा कि सुझाव दिया गया है जॉर्जियोस व्लाचोस द्वारा, यह उपयोगी है कि प्रत्येक संभावित नेता अपनी साख का प्रचार भी करता है,1 मैं अलग से: वे छोटे संदेश ब्लॉकों की तुलना में तेजी से यात्रा करते हैं, श्रीमान का समय पर प्रसार सुनिश्चित करते हैं,1 j's जहां सम्मिलित क्रेडेंशियल में छोटे hash मान होते हैं, जबकि बड़े hash मान वाले क्रेडेंशियल बनाएं जल्दी से गायब हो जाओ. चरण 2: ग्रेडेड सर्वसम्मति प्रोटोकॉल जीसी का पहला चरण प्रत्येक उपयोगकर्ता i \(\in\)PKr−k के लिए निर्देश: उपयोगकर्ता i जैसे ही राउंड आर का अपना चरण 2 शुरू करता है Br−1 जानता है. • उपयोगकर्ता i, Br−1 के तीसरे घटक से Qr−1 की गणना करता है और जाँचता है कि क्या i \(\in\)SV r,2 या नहीं. • यदि i /\(\in\)SV r,2 तो मैं चरण 2 के अपने निष्पादन को तुरंत रोक देता हूं। • यदि i \(\in\)SV r,2, तो कुछ समय t2 \(\triangleq\) \(\lambda\) + Λ की प्रतीक्षा करने के बाद, i निम्नानुसार कार्य करता है। 1. वह उपयोगकर्ता को ऐसे पाता है कि H(\(\sigma\)r,1 \(\ell\)) \(\leq\)H(\(\sigma\)r,1 j ) सभी क्रेडेंशियल्स के लिए \(\sigma\)r,1 जे जिसका हिस्सा हैं सफलतापूर्वक सत्यापित (आर, 1)-संदेश उसे अब तक प्राप्त हुए हैं।ए 2. यदि उसे श्रीमान्,1 से कोई वैध संदेश प्राप्त हुआ हो \(\ell\) = (ब्र \(\ell\), esig\(\ell\)(H(Br \(\ell\))), \(\sigma\)r,1 \(\ell\)),बी फिर मैं सेट करता हूं वी′ मैं \(\triangleq\)H(Br \(\ell\)); अन्यथा मैं v' सेट करता हूं मैं \(\triangleq\) \(\bot\). 3. मैं संदेश की गणना करता हूं श्रीमान,2 मैं \(\triangleq\)(ESIGi(v′ मैं), \(\sigma\)r,2 i ),c उसकी क्षणिक गुप्त कुंजी को नष्ट कर देता है एसकेआर,2 i , और फिर श्रीमान,2 का प्रचार करता है मैं . अनिवार्य रूप से, उपयोगकर्ता i निजी तौर पर निर्णय लेता है कि राउंड आर का नेता उपयोगकर्ता \(\ell\) है। फिर, खिलाड़ी \(\ell\) के हस्ताक्षर और hashes सभी सफलतापूर्वक सत्यापित हैं, और भुगतान करें \(\ell\)ब्र में \(\ell\)के लिए एक वैध भुगतान सेट है राउंड आर - हालाँकि मैं यह जाँच नहीं करता कि PAY r है या नहीं \(\ell\)के लिए अधिकतम है या नहीं। सीसंदेश श्रीमान,2 मैं संकेत है कि मैं उस खिलाड़ी को v' मानता हूं मैं अगले ब्लॉक का hash हूं, या अगले पर विचार करता हूं ब्लॉक खाली होना. 17अर्थात, सभी हस्ताक्षर सही हैं और ब्लॉक और उसके hash दोनों वैध हैं - हालाँकि मैं जाँच नहीं करता हूँ क्या सम्मिलित भुगतान उसके प्रस्तावक के लिए अधिकतम है या नहीं।

चरण 3: जीसी का दूसरा चरण प्रत्येक उपयोगकर्ता i \(\in\)PKr−k के लिए निर्देश: उपयोगकर्ता i जैसे ही राउंड आर का अपना चरण 3 शुरू करता है Br−1 जानता है. • उपयोगकर्ता i, Br−1 के तीसरे घटक से Qr−1 की गणना करता है और जाँचता है कि क्या i \(\in\)SV r,3 या नहीं. • यदि i /\(\in\)SV r,3, तो मैं चरण 3 के अपने निष्पादन को तुरंत रोक देता हूं। • यदि i \(\in\)SV r,3, तो कुछ समय प्रतीक्षा करने के बाद t3 \(\triangleq\)t2 + 2\(\lambda\) = 3\(\lambda\) + Λ, i निम्नानुसार कार्य करता है। 1. यदि कोई मान v′ ̸= \(\bot\) मौजूद है, तो सभी वैध संदेशों के बीच mr,2 जे उसे प्राप्त हुआ है, उनमें से 2/3 से अधिक फॉर्म (ESIGj(v'), \(\sigma\)r,2 के हैं जे ), बिना किसी विरोधाभास के,ए फिर वह संदेश की गणना करता है श्रीमान,3 मैं \(\triangleq\)(ESIGi(v′), \(\sigma\)r,3 मैं ). अन्यथा, वह श्रीमान,3 की गणना करता है मैं \(\triangleq\) (ESIGi(\(\bot\)), \(\sigma\)r,3 मैं ). 2. मैं उसकी अल्पकालिक गुप्त कुंजी स्क्र,3 को नष्ट कर देता हूं मैं , और फिर श्रीमान,3 का प्रचार करता हूँ मैं . अर्थात्, उसे क्रमशः ESIGj(v′) और एक भिन्न ESIGj(v′′) वाले दो वैध संदेश प्राप्त नहीं हुए हैं, एक खिलाड़ी से जे. यहां और यहां से आगे, बाद में परिभाषित अंतिम स्थितियों को छोड़कर, जब भी कोई ईमानदार खिलाड़ी हो किसी दिए गए रूप के संदेश चाहता है, एक-दूसरे का खंडन करने वाले संदेशों को कभी भी गिना या मान्य नहीं माना जाता है।चरण 4: जीसी का आउटपुट और बीबीए⋆ का पहला चरण प्रत्येक उपयोगकर्ता i \(\in\)PKr−k के लिए निर्देश: उपयोगकर्ता i जैसे ही राउंड आर का अपना चरण 4 शुरू करता है Br−1 जानता है. • उपयोगकर्ता i, Br−1 के तीसरे घटक से Qr−1 की गणना करता है और जाँचता है कि क्या i \(\in\)SV r,4 या नहीं. • यदि i /\(\in\)SV r,4, तो मैं चरण 4 के अपने निष्पादन को तुरंत रोक देता है। • यदि i \(\in\)SV r,4, तो कुछ समय प्रतीक्षा करने के बाद t4 \(\triangleq\)t3 + 2\(\lambda\) = 5\(\lambda\) + Λ, i निम्नानुसार कार्य करता है। 1. वह जीसी के आउटपुट vi और gi की गणना निम्नानुसार करता है। (ए) यदि कोई मान मौजूद है v′ ̸= \(\bot\)ऐसा है कि, सभी वैध संदेशों के बीच mr,3 जे उसके पास है प्राप्त हुए, उनमें से 2/3 से अधिक फॉर्म (ESIGj(v'), \(\sigma\)r,3 के हैं j ), फिर वह सेट हो जाता है vi \(\triangleq\)v′ और gi \(\triangleq\)2. (बी) अन्यथा, यदि कोई मान मौजूद है v′ ̸= \(\bot\)ऐसा है कि, सभी वैध संदेशों के बीच श्रीमान,3 जे उसे प्राप्त हुआ है, उनमें से 1/3 से अधिक फॉर्म (ESIGj(v'), \(\sigma\)r,3 के हैं जे ), फिर वह vi \(\triangleq\)v′ और gi \(\triangleq\)1.a सेट करता है (सी) अन्यथा, वह vi \(\triangleq\)H(Br) सेट करता है ǫ ) और gi \(\triangleq\)0. 2. वह BBA⋆ के इनपुट bi की गणना इस प्रकार करता है: bi \(\triangleq\)0 यदि gi = 2, और bi \(\triangleq\)1 अन्यथा। 3. वह संदेश की गणना करता है श्रीमान,4 मैं \(\triangleq\)(ESIGi(bi), ESIGi(vi), \(\sigma\)r,4 i ), उसके क्षणभंगुर को नष्ट कर देता है गुप्त कुंजी skr,4 मैं , और फिर श्रीमान,4 का प्रचार करता हूँ मैं . यह साबित किया जा सकता है कि मामले (बी) में वी', यदि मौजूद है, तो अद्वितीय होना चाहिए।

चरण s, 5 \(\leq\)s \(\leq\)m + 2, s −2 ≡0 mod 3: BBA⋆ का एक कॉइन-फिक्स्ड-टू-0 चरण प्रत्येक उपयोगकर्ता के लिए निर्देश i \(\in\)PKr−k: उपयोगकर्ता i जैसे ही राउंड आर का अपना चरण शुरू करता है Br−1 जानता है. • उपयोगकर्ता i, Br−1 के तीसरे घटक से Qr−1 की गणना करता है और जाँचता है कि क्या i \(\in\)SV r,s है। • यदि i /\(\in\)SV r,s है, तो मैं स्टेप s के अपने निष्पादन को तुरंत रोक देता है। • यदि i \(\in\)SV r,s है तो वह निम्नानुसार कार्य करता है। - वह तब तक प्रतीक्षा करता है जब तक कि समय ts \(\triangleq\)ts−1 + 2\(\lambda\) = (2s −3)\(\lambda\) + Λ बीत न जाए। - समाप्ति शर्त 0: यदि, ऐसी प्रतीक्षा के दौरान और किसी भी समय, कोई मौजूद हो स्ट्रिंग v ̸= \(\bot\)और एक चरण s′ ऐसा कि (ए) 5 \(\leq\)s′ \(\leq\)s, s′ −2 ≡0 mod 3—अर्थात्, चरण s′ एक कॉइन-फिक्स्ड-टू-0 चरण है, (बी) मुझे कम से कम tH प्राप्त हुआ है = 2एन 3 + 1 वैध संदेश mr,s′−1 जे = (ईएसआईजीजे(0), ESIGj(v), \(\sigma\)r,s′−1 जे ),ए और (सी) मुझे एक वैध संदेश प्राप्त हुआ है श्रीमान, 1 जे = (ब्र j , esigj(H(Br जे )), \(\sigma\)r,1 जे ) वी = एच (बीआर) के साथ जे ), फिर, मैं स्टेप एस (और वास्तव में राउंड आर) के उसके स्वयं के निष्पादन को तुरंत बिना रोक देता हूं किसी भी चीज़ का प्रचार करना; सेट Br = Br जे ; और संदेशों के सेट के रूप में अपना स्वयं का CERT r सेट करता है श्रीमान,एस′−1 जे उप-चरण (बी).बी - समाप्ति शर्त 1: यदि, ऐसी प्रतीक्षा के दौरान और किसी भी समय, कोई मौजूद हो कदम ऐसे कि (ए') 6 \(\leq\)s′ \(\leq\)s, s′ −2 ≡1 mod 3—अर्थात, चरण s′ एक कॉइन-फिक्स्ड-टू-1 चरण है, और (बी') मुझे कम से कम वैध संदेश प्राप्त हुए हैं श्रीमान, एस′−1 जे = (ईएसआईजीजे(1), ईएसआईजीजे(वीजे), \(\sigma\)r,s′−1 जे ),सी फिर, मैं स्टेप एस (और वास्तव में राउंड आर) के उसके स्वयं के निष्पादन को तुरंत बिना रोक देता हूं किसी भी चीज़ का प्रचार करना; सेट Br = Br ǫ ; और संदेशों के सेट के रूप में अपना स्वयं का CERT r सेट करता है श्रीमान,एस′−1 जे उप-चरण (बी') का। - अन्यथा, प्रतीक्षा के अंत में, उपयोगकर्ता i निम्नलिखित कार्य करता है। वह सभी वैध के दूसरे घटकों में वीआई को वीजे का बहुमत वोट मानता है श्रीमान,s−1 जे उसे प्राप्त हो गया है. वह द्वि की गणना इस प्रकार करता है। यदि सभी वैध mr,s−1 के 2/3 से अधिक जे उसे जो प्राप्त हुआ है वह फॉर्म का है (ESIGj(0), ESIGj(vj), \(\sigma\)r,s−1 जे ), फिर वह द्वि \(\triangleq\)0 सेट करता है। अन्यथा, यदि सभी वैध mr,s−1 के 2/3 से अधिक है जे उसे जो प्राप्त हुआ है वह फॉर्म का है (ESIGj(1), ESIGj(vj), \(\sigma\)r,s−1 जे ), फिर वह द्वि \(\triangleq\)1 सेट करता है। अन्यथा, वह द्वि \(\triangleq\)0 सेट करता है। वह संदेश की गणना करता है श्रीमान मैं \(\triangleq\)(ESIGi(bi), ESIGi(vi), \(\sigma\)r,s i ), उसके क्षणभंगुर को नष्ट कर देता है गुप्त कुंजी skr,s मैं , और फिर श्रीमान का प्रचार करता हूं मैं . खिलाड़ी j से ऐसा संदेश गिना जाता है, भले ही खिलाड़ी I को भी 1 के लिए हस्ताक्षर करने वाले j से एक संदेश प्राप्त हुआ हो। समाप्ति स्थिति 1 के लिए समान बातें। जैसा कि विश्लेषण में दिखाया गया है, यह सुनिश्चित करने के लिए किया जाता है कि सभी ईमानदार उपयोगकर्ताओं को पता चले Br समय के भीतर \(\lambda\) एक दूसरे से। बस उपयोगकर्ता मैं अब बीआर को जानता हूं और उसका अपना राउंड आर खत्म हो गया है। वह अभी भी एक सामान्य उपयोगकर्ता के रूप में संदेशों के प्रचार-प्रसार में मदद करता है, लेकिन (आर, एस)-सत्यापनकर्ता के रूप में कोई प्रचार शुरू नहीं करता है। विशेष रूप से, उन्होंने अपने सभी संदेशों को प्रचारित करने में मदद की है CERT r, जो हमारे प्रोटोकॉल के लिए पर्याप्त है। ध्यान दें कि उसे बाइनरी बीए प्रोटोकॉल के लिए bi \(\triangleq\)0 भी सेट करना चाहिए, लेकिन bi वैसे भी इस मामले में इसकी आवश्यकता नहीं है। भविष्य के सभी निर्देशों के लिए समान बातें। इस मामले में, इससे कोई फर्क नहीं पड़ता कि वीजे क्या हैं।चरण s, 6 \(\leq\)s \(\leq\)m + 2, s −2 ≡1 मॉड 3: बीबीए का एक सिक्का-निर्धारित-से-1 चरण⋆ प्रत्येक उपयोगकर्ता के लिए निर्देश i \(\in\)PKr−k: उपयोगकर्ता i जैसे ही राउंड आर का अपना चरण शुरू करता है Br−1 जानता है. • उपयोगकर्ता i, Br−1 के तीसरे घटक से Qr−1 की गणना करता है और जाँचता है कि क्या i \(\in\)SV r,s या नहीं. • यदि i /\(\in\)SV r,s है, तो मैं स्टेप s के अपने निष्पादन को तुरंत रोक देता है। • यदि i \(\in\)SV r,s है तो वह निम्न कार्य करता है। - वह तब तक प्रतीक्षा करता है जब तक कि समय ts \(\triangleq\)(2s −3)\(\lambda\) + Λ बीत न जाए। - समाप्ति शर्त 0: कॉइन-फिक्स्ड-टू-0 चरणों के समान निर्देश। - अंतिम शर्त 1: कॉइन-फिक्स्ड-टू-0 चरणों के समान निर्देश। - अन्यथा, प्रतीक्षा के अंत में, उपयोगकर्ता i निम्नलिखित कार्य करता है। वह सभी वैध के दूसरे घटकों में वीआई को वीजे का बहुमत वोट मानता है श्रीमान,s−1 जे उसे प्राप्त हो गया है. वह द्वि की गणना इस प्रकार करता है। यदि सभी वैध mr,s−1 के 2/3 से अधिक जे उसे जो प्राप्त हुआ है वह फॉर्म का है (ESIGj(0), ESIGj(vj), \(\sigma\)r,s−1 जे ), फिर वह द्वि \(\triangleq\)0 सेट करता है। अन्यथा, यदि सभी वैध mr,s−1 के 2/3 से अधिक है जे उसे जो प्राप्त हुआ है वह फॉर्म का है (ESIGj(1), ESIGj(vj), \(\sigma\)r,s−1 जे ), फिर वह द्वि \(\triangleq\)1 सेट करता है। अन्यथा, वह द्वि \(\triangleq\)1 सेट करता है। वह संदेश की गणना करता है श्रीमान मैं \(\triangleq\)(ESIGi(bi), ESIGi(vi), \(\sigma\)r,s i ), उसके क्षणभंगुर को नष्ट कर देता है गुप्त कुंजी skr,s मैं , और फिर श्रीमान का प्रचार करता हूं मैं .

चरण s, 7 \(\leq\)s \(\leq\)m + 2, s −2 ≡2 मॉड 3: बीबीए का एक सिक्का-वास्तविक-फ़्लिप्ड चरण⋆ प्रत्येक उपयोगकर्ता के लिए निर्देश i \(\in\)PKr−k: उपयोगकर्ता i जैसे ही राउंड आर का अपना चरण शुरू करता है Br−1 जानता है. • उपयोगकर्ता i, Br−1 के तीसरे घटक से Qr−1 की गणना करता है और जाँचता है कि क्या i \(\in\)SV r,s या नहीं. • यदि i /\(\in\)SV r,s है, तो मैं स्टेप s के अपने निष्पादन को तुरंत रोक देता है। • यदि i \(\in\)SV r,s है तो वह निम्न कार्य करता है। - वह तब तक प्रतीक्षा करता है जब तक कि समय ts \(\triangleq\)(2s −3)\(\lambda\) + Λ बीत न जाए। - समाप्ति शर्त 0: कॉइन-फिक्स्ड-टू-0 चरणों के समान निर्देश। - अंतिम शर्त 1: कॉइन-फिक्स्ड-टू-0 चरणों के समान निर्देश। - अन्यथा, प्रतीक्षा के अंत में, उपयोगकर्ता i निम्नलिखित कार्य करता है। वह सभी वैध के दूसरे घटकों में वीआई को वीजे का बहुमत वोट मानता है श्रीमान,s−1 जे उसे प्राप्त हो गया है. वह द्वि की गणना इस प्रकार करता है। यदि सभी वैध mr,s−1 के 2/3 से अधिक जे उसे जो प्राप्त हुआ है वह फॉर्म का है (ESIGj(0), ESIGj(vj), \(\sigma\)r,s−1 जे ), फिर वह द्वि \(\triangleq\)0 सेट करता है। अन्यथा, यदि सभी वैध mr,s−1 के 2/3 से अधिक है जे उसे जो प्राप्त हुआ है वह फॉर्म का है (ESIGj(1), ESIGj(vj), \(\sigma\)r,s−1 जे ), फिर वह द्वि \(\triangleq\)1 सेट करता है। अन्यथा, मान लीजिए SV r,s−1 मैं (r, s −1)-सत्यापकों का समुच्चय बनें जिनसे उसे एक वैध प्राप्त हुआ है संदेश mr,s−1 जे . वह bi \(\triangleq\)lsb(minj\(\in\)SV r,s−1) सेट करता है मैं H(\(\sigma\)r,s−1 जे )). वह संदेश की गणना करता है श्रीमान मैं \(\triangleq\)(ESIGi(bi), ESIGi(vi), \(\sigma\)r,s i ), उसके क्षणभंगुर को नष्ट कर देता है गुप्त कुंजी skr,s मैं , और फिर श्रीमान का प्रचार करता हूं मैं .

चरण एम + 3: बीबीएए का अंतिम चरण प्रत्येक उपयोगकर्ता i \(\in\)PKr−k के लिए निर्देश: उपयोगकर्ता i जैसे ही राउंड आर का अपना चरण m + 3 शुरू करता है Br−1 जानता है. • उपयोगकर्ता i, Br−1 के तीसरे घटक से Qr−1 की गणना करता है और जाँचता है कि क्या i \(\in\)SV r,m+3 या नहीं. • यदि i /\(\in\)SV r,m+3, तो मैं चरण m + 3 के अपने निष्पादन को तुरंत रोक देता हूं। • यदि i \(\in\)SV r,m+3 तो वह निम्न कार्य करता है। - वह तब तक प्रतीक्षा करता है जब तक कि tm+3 \(\triangleq\)tm+2 + 2\(\lambda\) = (2m + 3)\(\lambda\) + Λ समय बीत न जाए। - समाप्ति शर्त 0: कॉइन-फिक्स्ड-टू-0 चरणों के समान निर्देश। - अंतिम शर्त 1: कॉइन-फिक्स्ड-टू-0 चरणों के समान निर्देश। - अन्यथा, प्रतीक्षा के अंत में, उपयोगकर्ता i निम्नलिखित कार्य करता है। वह \(\triangleq\)1 और Br \(\triangleq\)Br निर्धारित करता है .. . वह संदेश की गणना mr,m+3 करता है मैं = (ESIGi(outi), ESIGi(H(Br)), \(\sigma\)r,m+3 मैं ), उसका नाश कर देता है क्षणिक गुप्त कुंजी skr,m+3 मैं , और फिर mr,m+3 का प्रचार करता है मैं Br.b को प्रमाणित करने के लिए अत्यधिक संभावना के साथ बीबीए⋆ इस चरण से पहले समाप्त हो गया है, और हम पूर्णता के लिए इस चरण को निर्दिष्ट करते हैं। चरण एम + 3 से बीए प्रमाणपत्र में ईएसआईजीआई (आउटी) शामिल करना आवश्यक नहीं है। हम इसे केवल एकरूपता के लिए शामिल करते हैं: द प्रमाणपत्रों का प्रारूप अब एक समान है, चाहे वे किसी भी चरण में तैयार किए गए हों।गैर-सत्यापनकर्ताओं द्वारा राउंड-आर ब्लॉक का पुनर्निर्माण सिस्टम में प्रत्येक उपयोगकर्ता i के लिए निर्देश: जैसे ही उपयोगकर्ता i को पता चलता है, वह अपना स्वयं का राउंड आर शुरू कर देता है Br−1, और निम्नानुसार ब्लॉक जानकारी की प्रतीक्षा करता है। - यदि, ऐसी प्रतीक्षा के दौरान और किसी भी समय, एक स्ट्रिंग v और एक चरण s' मौजूद है वह (ए) 5 \(\leq\)s′ \(\leq\)m + 3 s′ −2 ≡0 मॉड 3 के साथ, (बी) मुझे कम से कम tH वैध संदेश प्राप्त हुए हैं mr,s′−1 जे = (ESIGj(0), ESIGj(v), \(\sigma\)r,s′−1 जे ), और (सी) मुझे एक वैध संदेश प्राप्त हुआ है श्रीमान, 1 जे = (ब्र j , esigj(H(Br जे )), \(\sigma\)r,1 जे ) वी = एच (बीआर) के साथ जे ), फिर, मैं राउंड आर के अपने निष्पादन को तुरंत रोक देता हूं; सेट Br = Br जे; और अपना स्वयं का CERT r सेट करता है संदेशों का सेट होना mr,s′−1 जे उप-चरण (बी) का। – यदि, ऐसी प्रतीक्षा के दौरान और किसी भी समय, कोई कदम ऐसा मौजूद हो (ए') 6 \(\leq\)s′ \(\leq\)m + 3 s′ −2 ≡1 मॉड 3 के साथ, और (बी') मुझे कम से कम वैध संदेश प्राप्त हुए हैं श्रीमान, एस′−1 जे = (ESIGj(1), ESIGj(vj), \(\sigma\)r,s′−1 जे ), फिर, मैं राउंड आर के अपने निष्पादन को तुरंत रोक देता हूं; सेट Br = Br ǫ; और अपना स्वयं का CERT r सेट करता है संदेशों का सेट होना mr,s′−1 जे उप-चरण (बी') का। - यदि, ऐसी प्रतीक्षा के दौरान और किसी भी समय, मुझे कम से कम वैध संदेश प्राप्त हुए हों श्रीमान,एम+3 जे = (ESIGj(1), ESIGj(H(Br ǫ )), \(\sigma\)r,m+3 जे ), फिर मैं राउंड आर के अपने निष्पादन को रोक देता हूं तुरंत, Br = Br सेट करता है ǫ, और अपने स्वयं के CERT r को संदेशों के सेट mr,m+3 के रूप में सेट करता है जे 1 के लिए और एच(ब्र ज़ू ). 5.5 Algorand का विश्लेषण' 1 हम विश्लेषण में प्रयुक्त प्रत्येक दौर r \(\geq\)0 के लिए निम्नलिखित नोटेशन प्रस्तुत करते हैं। • मान लीजिए कि T वह समय है जब पहला ईमानदार उपयोगकर्ता Br−1 को जानता है। • मान लीजिए कि Ir+1 अंतराल है [T r+1, T r+1 + \(\lambda\)]। ध्यान दें कि प्रोटोकॉल के आरंभीकरण से T 0 = 0। प्रत्येक s \(\geq\)1 और i \(\in\)SV r,s के लिए, उसे याद करें \(\alpha\)r,s मैं और \(\beta\)r,s मैं क्रमशः खिलाड़ी I के चरणों का प्रारंभ समय और समाप्ति समय हैं। इसके अलावा, याद रखें कि प्रत्येक 2 \(\leq\)s \(\leq\)m + 3 के लिए ts = (2s −3)\(\lambda\) + Λ। इसके अलावा, मान लीजिए I0 \(\triangleq\){0} और t1 \(\triangleq\)0। अंत में, याद रखें कि Lr \(\leq\)m/3 एक यादृच्छिक चर है जो बर्नौली परीक्षणों की संख्या का प्रतिनिधित्व करता है 1 देखने की आवश्यकता है, जब प्रत्येक परीक्षण प्रायिकता पीएच के साथ 1 है 2 और अधिकतम एम/3 परीक्षण हैं। यदि सभी परीक्षण विफल हो जाता है तो Lr \(\triangleq\)m/3। विश्लेषण में हम गणना समय को नजरअंदाज कर देते हैं, क्योंकि यह वास्तव में आवश्यक समय के सापेक्ष नगण्य है संदेशों का प्रचार-प्रसार करना। किसी भी स्थिति में, थोड़े बड़े \(\lambda\) और Λ का उपयोग करके, गणना समय बढ़ाया जा सकता है सीधे विश्लेषण में शामिल किया जाए। नीचे दिए गए अधिकांश कथन “जबरदस्त” हैं संभाव्यता," और हम विश्लेषण में इस तथ्य पर बार-बार जोर नहीं दे सकते।5.6 मुख्य प्रमेय प्रमेय 5.1. निम्नलिखित गुण प्रत्येक दौर r \(\geq\)0 के लिए अत्यधिक संभावना रखते हैं: 1. सभी ईमानदार उपयोगकर्ता एक ही ब्लॉक पर सहमत हैं ब्र. 2. जब नेता \(\ell\)r ईमानदार होता है, तो ब्लॉक Br \(\ell\)r द्वारा उत्पन्न होता है, Br में अधिकतम भुगतान सेट होता है समय \(\alpha\)r,1 द्वारा \(\ell\)r द्वारा प्राप्त किया गया \(\ell\)r , T r+1 \(\leq\)T r + 8\(\lambda\) + Λ और सभी ईमानदार उपयोगकर्ता उस समय Br को जानते हैं अंतराल आईआर+1. 3. जब नेता \(\ell\)r दुर्भावनापूर्ण है, तो T r+1 \(\leq\)T r + (6Lr + 10)\(\lambda\) + Λ और सभी ईमानदार उपयोगकर्ता Br को जानते हैं समय अंतराल में Ir+1. 4. Lr के लिए ph = h2(1 + h −h2), और नेता \(\ell\)r कम से कम ph की संभावना के साथ ईमानदार है। अपने मुख्य प्रमेय को सिद्ध करने से पहले, आइए हम दो टिप्पणियाँ करें। टिप्पणी। • ब्लॉक-जेनरेशन और ट्रू लेटेंसी। ब्लॉक Br उत्पन्न करने का समय T r+1 −T r निर्धारित किया गया है। अर्थात्, इसे पहली बार कुछ ईमानदार उपयोगकर्ता द्वारा Br सीखने और के बीच का अंतर माना जाता है। पहली बार कोई ईमानदार उपयोगकर्ता Br−1 सीखता है। जब राउंड-आर नेता ईमानदार होता है, संपत्ति 2 हमारी मुख्य प्रमेय गारंटी देता है कि Br उत्पन्न करने का सटीक समय 8\(\lambda\) + Λ समय है, चाहे कुछ भी हो h > 2/3 का सटीक मान हो सकता है। जब नेता दुर्भावनापूर्ण होता है, तो संपत्ति 3 का तात्पर्य है कि Br उत्पन्न करने का अपेक्षित समय (12) से अधिक है ph + 10)\(\lambda\) + Λ, फिर भी सटीक कोई फर्क नहीं पड़ता h.18 का मान हालाँकि, Br उत्पन्न करने का अपेक्षित समय h के सटीक मान पर निर्भर करता है। वास्तव में, संपत्ति 4 द्वारा, ph = h2(1 + h −h2) और नेता कम से कम संभाव्यता के साथ ईमानदार है पीएच, इस प्रकार E[T r+1 −T r] \(\leq\)h2(1 + h −h2) \(\cdot\) (8\(\lambda\) + Λ) + (1 −h2(1 + h −h2))(( 12 h2(1 + h −h2) + 10)\(\lambda\) + Λ). उदाहरण के लिए, यदि h = 80%, तो E[T r+1 −T r] \(\leq\)12.7\(\lambda\) + Λ। • \(\lambda\) बनाम Λ. ध्यान दें कि सत्यापनकर्ताओं द्वारा चरण Algorand 'में भेजे गए संदेशों का आकार हावी है डिजिटल हस्ताक्षर कुंजियों की लंबाई से, जो कि संख्या होने पर भी स्थिर रह सकती है उपयोगकर्ता बहुत अधिक हैं। यह भी ध्यान दें कि, किसी भी चरण s > 1 में, सत्यापनकर्ताओं की समान अपेक्षित संख्या n है इसका उपयोग किया जा सकता है चाहे उपयोगकर्ताओं की संख्या 100K, 100M, या 100M हो। ऐसा इसलिए है क्योंकि n केवल एच और एफ पर निर्भर करता है। कुल मिलाकर, गुप्त कुंजी लंबाई बढ़ाने की अचानक आवश्यकता को छोड़कर, \(\lambda\) का मान वही रहना चाहिए चाहे इसमें उपयोगकर्ताओं की संख्या कितनी भी अधिक क्यों न हो निकट भविष्य. इसके विपरीत, किसी भी लेनदेन दर के लिए, लेनदेन की संख्या संख्या के साथ बढ़ती है उपयोगकर्ता. इसलिए, सभी नए लेनदेन को समय पर संसाधित करने के लिए एक ब्लॉक का आकार होना चाहिए उपयोगकर्ताओं की संख्या के साथ-साथ Λ भी बढ़ता है। इस प्रकार, लंबे समय में, हमें ऐसा करना चाहिए \(\lambda\) << Λ. तदनुसार, \(\lambda\) के लिए एक बड़ा गुणांक और वास्तव में एक गुणांक होना उचित है Λ के लिए 1 का. प्रमेय 5.1 का प्रमाण. हम गुण 1-3 को प्रेरण द्वारा सिद्ध करते हैं: यह मानते हुए कि वे राउंड आर -1 के लिए मान्य हैं (व्यापकता की हानि के बिना, जब r = 0 होता है तो वे स्वचालित रूप से "राउंड -1" को पकड़ लेते हैं), हम उन्हें इसके लिए सिद्ध करते हैं गोल आर. 18दरअसल, ई[टी आर+1 −टी आर] \(\leq\)(6ई[एलआर] + 10)\(\lambda\) + Λ = (6 \(\cdot\) 2 पीएच + 10)\(\lambda\) + Λ = ( 12 पीएच + 10)\(\lambda\) + Λ.चूंकि Br−1 को आगमनात्मक परिकल्पना द्वारा विशिष्ट रूप से परिभाषित किया गया है, इसलिए सेट SV r,s को विशिष्ट रूप से परिभाषित किया गया है राउंड आर के प्रत्येक चरण के लिए। n1, SV r,1 ̸= \(\emptyset\) की पसंद से अत्यधिक संभावना के साथ। हम अब धारा 5.7 और 5.8 में सिद्ध निम्नलिखित दो सूत्र बताएं। प्रेरण के दौरान और अंदर दो लेम्माओं के प्रमाण, राउंड 0 के लिए विश्लेषण लगभग आगमनात्मक चरण के समान है, और जब अंतर घटित होंगे तो हम उन्हें उजागर करेंगे। लेम्मा 5.2. [पूर्णता लेम्मा] गुण 1-3 को राउंड आर−1 के लिए होल्ड मान लिया जाए, जब लीडर \(\ell\)r ईमानदार है, अत्यधिक संभावना के साथ, • सभी ईमानदार उपयोगकर्ता एक ही ब्लॉक Br पर सहमत हैं, जो \(\ell\)r द्वारा उत्पन्न होता है और इसमें अधिकतम होता है \(\ell\)r द्वारा समय \(\alpha\)r,1 द्वारा प्राप्त भुगतान \(\ell\)r \(\in\)Ir; और • T r+1 \(\leq\)T r + 8\(\lambda\) + Λ और सभी ईमानदार उपयोगकर्ता समय अंतराल Ir+1 में Br को जानते हैं। लेम्मा 5.3. [साउंडनेस लेम्मा] यह मानते हुए कि गुण 1-3 राउंड आर -1 के लिए हैं, जब नेता \(\ell\)r दुर्भावनापूर्ण है, अत्यधिक संभावना के साथ, सभी ईमानदार उपयोगकर्ता एक ही ब्लॉक पर सहमत हैं Br, T r+1 \(\leq\) T r + (6Lr + 10)\(\lambda\) + Λ और सभी ईमानदार उपयोगकर्ता समय अंतराल Ir+1 में Br को जानते हैं। लेम्मास 5.2 और 5.3 को आर = 0 और आगमनात्मक चरण पर लागू करने से गुण 1-3 कायम रहते हैं। अंततः, हम संपत्ति 4 को निम्नलिखित प्रमेय के रूप में पुनः प्रस्तुत करते हैं, जो धारा 5.9 में साबित हुआ है। लेम्मा 5.4. आर से पहले प्रत्येक दौर के लिए गुण 1-3 दिए गए हैं, एलआर के लिए पीएच = एच2(1 + एच −एच2), और नेता \(\ell\)r संभाव्यता के प्रति कम से कम ph ईमानदार है। उपरोक्त तीन नींबू को एक साथ मिलाकर, प्रमेय 5.1 कायम रहता है। ■ नीचे दिया गया लेम्मा आगमनात्मक दिए गए राउंड आर के बारे में कई महत्वपूर्ण गुण बताता है परिकल्पना, और उपरोक्त तीन नींबू के प्रमाण में उपयोग किया जाएगा। लेम्मा 5.5. मान लें कि गुण 1-3 राउंड आर −1 के लिए हैं। राउंड आर के प्रत्येक चरण s \(\geq\)1 के लिए प्रत्येक ईमानदार सत्यापनकर्ता i\(\in\)HSV r,s, हमारे पास वह है (ए) \(\alpha\)r,s मैं \(\in\)इर; (बी) यदि खिलाड़ी I ने ts की मात्रा तक प्रतीक्षा की है, तो \(\beta\)r,s मैं \(\in\)[T r + ts, T r + \(\lambda\) + ts] r > 0 और के लिए \(\beta\)r,s मैं = ts के लिए r = 0; और (सी) यदि खिलाड़ी I ने समय ts तक प्रतीक्षा की है, तो समय \(\beta\)r,s तक मैं, उसे सभी संदेश प्राप्त हो गए हैं सभी ईमानदार सत्यापनकर्ताओं द्वारा भेजा गया j \(\in\)HSV r,s′ सभी चरणों s′ < s के लिए। इसके अलावा, प्रत्येक चरण s \(\geq\)3 के लिए, हमारे पास वह है (डी) दो अलग-अलग खिलाड़ी i, i′ \(\in\)SV r,s और दो अलग-अलग मान v, v′ मौजूद नहीं हैं। लंबाई, ऐसी कि दोनों खिलाड़ियों ने कुल समय के 2/3 से अधिक समय तक प्रतीक्षा की है वैध संदेश m,s−1 जे मुझे प्राप्त खिलाड़ी ने वी के लिए हस्ताक्षर किए हैं, और सभी वैध के 2/3 से अधिक संदेश mr,s−1 जे मुझे प्राप्त होने वाले खिलाड़ी ने v' के लिए हस्ताक्षर किए हैं। सबूत। संपत्ति (ए) सीधे आगमनात्मक परिकल्पना से अनुसरण करती है, क्योंकि खिलाड़ी मैं Br−1 को जानता हूं समय अंतराल Ir और तुरंत अपना कदम शुरू करता है। संपत्ति (बी) सीधे (ए) से अनुसरण करती है: चूंकि खिलाड़ी मैंने अभिनय करने से पहले काफी समय तक इंतजार किया है, \(\beta\)r,s मैं = \(\alpha\)r,s मैं + टी.एस. ध्यान दें कि \(\alpha\)r,s मैं = 0 के लिए आर = 0. अब हम संपत्ति (सी) साबित करते हैं। यदि s = 2, तो संपत्ति (बी) द्वारा, सभी सत्यापनकर्ताओं के लिए j \(\in\)HSV r,1 हमारे पास है \(\beta\)r,s मैं = \(\alpha\)r,s मैं + ts \(\geq\)T r + ts = T r + \(\lambda\) + Λ \(\geq\) \(\beta\)r,1 जे + Λ.चूँकि प्रत्येक सत्यापनकर्ता j \(\in\)HSV r,1 समय \(\beta\)r,1 पर अपना संदेश भेजता है जे और संदेश सभी ईमानदारों तक पहुंचे अधिकतम Λ समय में उपयोगकर्ता, समय \(\beta\)r,s के अनुसार मैं प्लेयर मुझे सभी सत्यापनकर्ताओं द्वारा भेजे गए संदेश प्राप्त हो गए हैं एचएसवी आर,1 इच्छानुसार। यदि s > 2, तो ts = ts−1 + 2\(\lambda\). संपत्ति (बी) द्वारा, सभी चरणों s′ < s और सभी सत्यापनकर्ताओं j \(\in\)HSV r,s′ के लिए, \(\beta\)r,s मैं = \(\alpha\)r,s मैं + ts \(\geq\)T r + ts = T r + ts−1 + 2\(\lambda\) \(\geq\)T r + ts′ + 2\(\lambda\) = T r + \(\lambda\) + ts′ + \(\lambda\) \(\geq\) \(\beta\)r,s′ जे + \(\lambda\). चूँकि प्रत्येक सत्यापनकर्ता j \(\in\)HSV r,s′ अपना संदेश \(\beta\)r,s′ पर भेजता है। जे और संदेश सभी ईमानदारों तक पहुंचे अधिकतम \(\lambda\) समय में उपयोगकर्ता, समय \(\beta\)r,s के अनुसार मैं प्लेयर मुझे सभी ईमानदार सत्यापनकर्ताओं द्वारा भेजे गए सभी संदेश प्राप्त हुए हैं HSV r,s' में सभी s' < s के लिए। इस प्रकार संपत्ति (सी) कायम है। अंत में, हम संपत्ति (डी) साबित करते हैं। ध्यान दें कि सत्यापनकर्ता j \(\in\)SV r,s−1 अधिकतम दो चीजों पर हस्ताक्षर करते हैं चरण s −1 उनकी क्षणिक गुप्त कुंजियों का उपयोग करते हुए: आउटपुट के समान लंबाई का एक मान vj hash फ़ंक्शन, और थोड़ा bj \(\in\){0, 1} यदि s −1 \(\geq\)4 भी। इसीलिए लेम्मा के कथन में हमें आवश्यकता है कि v और v' की लंबाई समान हो: कई सत्यापनकर्ताओं ने दोनों पर hash मान पर हस्ताक्षर किए होंगे v और थोड़ा b, इस प्रकार दोनों 2/3 सीमा पार कर जाते हैं। विरोधाभास के लिए मान लें कि वांछित सत्यापनकर्ता i, i' और मान v, v' मौजूद हैं। ध्यान दें कि MSV r,s−1 में कुछ दुर्भावनापूर्ण सत्यापनकर्ताओं ने v और v′ दोनों पर हस्ताक्षर किए होंगे, लेकिन प्रत्येक ईमानदार HSV r,s−1 में सत्यापनकर्ता ने उनमें से अधिकतम एक पर हस्ताक्षर किए हैं। संपत्ति (सी) द्वारा, i और i' दोनों को प्राप्त हुआ है HSV r,s−1 में सभी ईमानदार सत्यापनकर्ताओं द्वारा भेजे गए सभी संदेश। मान लीजिए HSV r,s−1(v) ईमानदार (r, s −1)-सत्यापनकर्ताओं का समूह है जिन्होंने v, MSV r,s−1 पर हस्ताक्षर किए हैं मैं सेट दुर्भावनापूर्ण (r, s −1)-सत्यापिकाओं का जिनसे मुझे एक वैध संदेश प्राप्त हुआ है, और MSV r,s −1 मैं (v) द MSV r,s−1 का उपसमुच्चय मैं जिनसे मुझे वी. के लिए आवश्यकताओं पर हस्ताक्षर करते हुए एक वैध संदेश प्राप्त हुआ है मैं और वी, हमारे पास है अनुपात \(\triangleq\)|HSV r,s−1(v)| + |एमएसवी आर,एस−1 मैं (v)| |HSV r,s−1| + |एमएसवी आर,एस−1 मैं |

2 3. (1) हम पहले दिखाते हैं |एमएसवी आर,एस−1 मैं (v)| \(\leq\)|HSV r,s−1(v)| (2) अन्यथा मान लेना, मापदंडों के बीच संबंधों के आधार पर, अत्यधिक संभावना के साथ |HSV r,s−1| > 2|MSV r,s−1| \(\geq\)2|MSV r,s−1 मैं |, इस प्रकार अनुपात < |HSV r,s−1(v)| + |एमएसवी आर,एस−1 मैं (v)| 3|एमएसवी आर,एस−1 मैं | < 2|MSV r,s−1 मैं (v)| 3|एमएसवी आर,एस−1 मैं | \(\leq\)2 3, असमानता का खंडन 1. अगला, असमानता 1 से हमारे पास है 2|HSV r,s−1| + 2|MSV r,s−1 मैं | < 3|HSV r,s−1(v)| + 3|एमएसवी आर,एस−1 मैं (v)| \(\leq\) 3|HSV r,s−1(v)| + 2|MSV r,s−1 मैं | + |एमएसवी आर,एस−1 मैं (v)|. असमानता 2 के साथ संयोजन, 2|HSV r,s−1| < 3|HSV r,s−1(v)| + |एमएसवी आर,एस−1 मैं (v)| \(\leq\)4|HSV r,s−1(v)|, जिसका तात्पर्य है |HSV r,s−1(v)| > 1 2|HSV r,s−1|.इसी प्रकार, i' और v' की आवश्यकताओं के अनुसार, हमारे पास है |HSV r,s−1(v′)| > 1 2|HSV r,s−1|. चूँकि एक ईमानदार सत्यापनकर्ता j \(\in\)HSV r,s−1 उसकी अल्पकालिक गुप्त कुंजी skr,s−1 को नष्ट कर देता है जे प्रचारित करने से पहले उनका संदेश, प्रतिद्वंद्वी उस मूल्य के लिए जे के हस्ताक्षर को जाली नहीं बना सकता है जिसके बाद जे ने हस्ताक्षर नहीं किया था यह सीखना कि j एक सत्यापनकर्ता है। इस प्रकार, उपरोक्त दो असमानताएँ |HSV r,s−1| दर्शाती हैं \(\geq\)|HSV r,s−1(v)| + |HSV r,s−1(v′)| > |HSV r,s−1|, एक विरोधाभास। तदनुसार, वांछित i, i', v, v' मौजूद नहीं है, और संपत्ति (डी) रखती है। ■ 5.7 संपूर्णता लेम्मा लेम्मा 5.2. [पूर्णता लेम्मा, पुनः कहा गया] मान लिया गया कि गुण 1-3 गोल r−1 के लिए हैं, जब नेता \(\ell\)r ईमानदार है, अत्यधिक संभावना के साथ, • सभी ईमानदार उपयोगकर्ता एक ही ब्लॉक Br पर सहमत हैं, जो \(\ell\)r द्वारा उत्पन्न होता है और इसमें अधिकतम होता है \(\ell\)r द्वारा समय \(\alpha\)r,1 द्वारा प्राप्त भुगतान \(\ell\)r \(\in\)Ir; और • T r+1 \(\leq\)T r + 8\(\lambda\) + Λ और सभी ईमानदार उपयोगकर्ता समय अंतराल Ir+1 में Br को जानते हैं। सबूत। आगमनात्मक परिकल्पना और लेम्मा 5.5 द्वारा, प्रत्येक चरण s और सत्यापनकर्ता i \(\in\)HSV r,s के लिए, \(\alpha\)r,s मैं  इर. नीचे हम चरण दर चरण प्रोटोकॉल का विश्लेषण करते हैं। चरण 1. परिभाषा के अनुसार, प्रत्येक ईमानदार सत्यापनकर्ता i\(\in\)HSV r,1 वांछित संदेश का प्रचार करता है श्रीमान,1 मैं पर समय \(\beta\)r,1 मैं = \(\alpha\)r,1 मैं , कहाँ श्रीमान ,1 मैं = (ब्र मैं , ईएसजीआई(एच(बीआर मैं )), \(\sigma\)r,1 मैं ), ब्र मैं = (आर, भुगतान आर i , SIGi(Qr−1), H(Br−1)), और भुगतान करें आर समय \(\alpha\)r,1 के अनुसार मैंने जो भी भुगतान देखे हैं उनमें से मैं एक अधिकतम भुगतान सेट है मैं . चरण 2. \(\in\)एचएसवी आर,2 में मनमाने ढंग से एक ईमानदार सत्यापनकर्ता तय करें। लेम्मा 5.5 द्वारा, जब प्लेयर आई पूरा हो जाता है समय पर प्रतीक्षा कर रहे हैं \(\beta\)r,2 मैं = \(\alpha\)r,2 मैं +टी2, उसे एचएसवी आर,1 सहित सत्यापनकर्ताओं द्वारा भेजे गए सभी संदेश प्राप्त हो गए हैं श्रीमान,1 \(\ell\)r . \(\ell\)r की परिभाषा के अनुसार, PKr−k में कोई अन्य खिलाड़ी मौजूद नहीं है जिसका क्रेडेंशियल hash है मान H(\(\sigma\)r,1) से छोटा है \(\ell\)r ). निःसंदेह, विरोधी यह देखने के बाद कि H(\(\sigma\)r,1) को भ्रष्ट कर सकता है \(\ell\)r ) बहुत छोटा है, लेकिन उस समय तक खिलाड़ी \(\ell\)r ने अपनी क्षणिक कुंजी और संदेश श्रीमान,1 को नष्ट कर दिया है \(\ell\)r प्रचारित किया गया है. इस प्रकार सत्यापनकर्ता अपने नेता को खिलाड़ी \(\ell\)r के रूप में निर्धारित करता है। तदनुसार, समय \(\beta\)r,2 पर मैं , सत्यापनकर्ता मैं श्रीमान, 2 का प्रचार करता हूँ मैं = (ESIGi(v′ मैं), \(\sigma\)r,2 i ), जहां v' मैं = एच(ब्र \(\ell\)r). जब r = 0, एकमात्र अंतर क्या वह \(\beta\)r,2 है मैं = t2 एक सीमा में होने के बजाय। ऐसी ही बातें भविष्य के कदमों और हमारे लिए भी कही जा सकती हैं दोबारा उन पर जोर नहीं देंगे. चरण 3. \(\in\)HSV r,3 में मनमाने ढंग से एक ईमानदार सत्यापनकर्ता तय करें। लेम्मा 5.5 द्वारा, जब प्लेयर आई पूरा हो जाता है समय पर प्रतीक्षा कर रहे हैं \(\beta\)r,3 मैं = \(\alpha\)r,3 मैं +टी3, उसे एचएसवी आर,2 में सत्यापनकर्ताओं द्वारा भेजे गए सभी संदेश प्राप्त हो गए हैं। मापदंडों के बीच संबंधों द्वारा, अत्यधिक संभावना के साथ |एचएसवी आर,2| > 2|एमएसवी आर,2| इसके अलावा, कोई भी ईमानदार सत्यापनकर्ता विरोधाभासी संदेशों और प्रतिद्वंद्वी पर हस्ताक्षर नहीं करेगा किसी ईमानदार सत्यापनकर्ता द्वारा उसके अनुरूप नष्ट कर दिए जाने के बाद उसके हस्ताक्षर नहीं बनाए जा सकते क्षणभंगुर गुप्त कुंजी. इस प्रकार मुझे प्राप्त सभी वैध (आर, 2)-संदेशों में से 2/3 से अधिक संदेश यहीं से प्राप्त हुए हैं ईमानदार सत्यापनकर्ता और श्रीमान, 2 जे = (ESIGj(H(Br \(\ell\)r)), \(\sigma\)r,2 जे ), बिना किसी विरोधाभास के। तदनुसार, समय \(\beta\)r,3 पर मैं खिलाड़ी मैं प्रचार करता हूँ श्रीमान, 3 मैं = (ESIGi(v′), \(\sigma\)r,3 i ), जहां v′ = H(Br \(\ell\)r).चरण 4. \(\in\)एचएसवी आर,4 में मनमाने ढंग से एक ईमानदार सत्यापनकर्ता तय करें। लेम्मा 5.5 द्वारा, प्लेयर आई को सभी प्राप्त हो गए हैं एचएसवी आर,3 में सत्यापनकर्ताओं द्वारा भेजे गए संदेश जब वह समय \(\beta\)r,4 पर प्रतीक्षा कर रहा हो मैं = \(\alpha\)r,4 मैं +टी4. के समान चरण 3, मुझे प्राप्त सभी वैध (आर, 3)-संदेशों में से 2/3 से अधिक संदेश ईमानदार सत्यापनकर्ताओं से हैं और फॉर्म का श्रीमान,3 जे = (ESIGj(H(Br \(\ell\)r)), \(\sigma\)r,3 ज ). तदनुसार, खिलाड़ी i सेट करता है vi = H(Br \(\ell\)r), gi = 2 और bi = 0. समय पर \(\beta\)r,4 मैं = \(\alpha\)r,4 मैं +t4 वह प्रचार करता है श्रीमान, 4 मैं = (ESIGi(0), ESIGi(H(Br \(\ell\)r)), \(\sigma\)r,4 मैं ). चरण 5. \(\in\)HSV r,5 में मनमाने ढंग से एक ईमानदार सत्यापनकर्ता तय करें। लेम्मा 5.5 तक, प्लेयर मेरे पास होगा एचएसवी आर,4 में सत्यापनकर्ताओं द्वारा भेजे गए सभी संदेश प्राप्त हुए यदि उसने समय \(\alpha\)r,5 तक प्रतीक्षा की है मैं +टी5. ध्यान दें |एचएसवी आर,4| \(\geq\)tH.19 यह भी ध्यान दें कि HSV r,4 में सभी सत्यापनकर्ताओं ने H(Br) के लिए हस्ताक्षर किए हैं \(\ell\)r). जैसे |एमएसवी आर,4| < tH, कोई v′ ̸= H(Br) मौजूद नहीं है \(\ell\)r) जिस पर tH द्वारा हस्ताक्षर किये जा सकते थे एसवी आर,4 में सत्यापनकर्ता (जो आवश्यक रूप से दुर्भावनापूर्ण होंगे), इसलिए खिलाड़ी मैं उसके पहले नहीं रुकता श्रीमान, 4 को वैध संदेश प्राप्त हुए जे = (ESIGj(0), ESIGj(H(Br \(\ell\)r)), \(\sigma\)r,4 ज ). माना T वह समय है जब बाद वाली घटना घटती है. उनमें से कुछ संदेश दुर्भावनापूर्ण खिलाड़ियों के हो सकते हैं, लेकिन क्योंकि |एमएसवी आर,4| < tH, उनमें से कम से कम एक एचएसवी आर,4 में एक ईमानदार सत्यापनकर्ता से है और समय के बाद भेजा जाता है टी आर +टी4. तदनुसार, T \(\geq\)T r +t4 > T r +\(\lambda\)+Λ \(\geq\) \(\beta\)r,1 \(\ell\)r +Λ, और समय के अनुसार टी प्लेयर मुझे भी प्राप्त हुआ है संदेश श्रीमान,1 \(\ell\)r . प्रोटोकॉल के निर्माण से, खिलाड़ी i समय \(\beta\)r,5 पर रुक जाता है मैं = टी बिना किसी भी चीज़ का प्रचार करना; सेट Br = Br \(\ell\)r; और अपने स्वयं के CERT r को (r, 4)-संदेशों के सेट के रूप में सेट करता है 0 और एच(ब्र \(\ell\)r) जो उसे प्राप्त हुआ है। चरण एस > 5. इसी तरह, किसी भी चरण s > 5 और किसी भी सत्यापनकर्ता i \(\in\)HSV r,s, प्लेयर के लिए मेरे पास होगा एचएसवी आर,4 में सत्यापनकर्ताओं द्वारा भेजे गए सभी संदेश प्राप्त हुए यदि उसने समय \(\alpha\)r,s तक प्रतीक्षा की है मैं + टी.एस. द्वारा वही विश्लेषण, प्लेयर I बिना कुछ प्रचारित किए रुक जाता है, Br = Br सेट कर देता है \(\ell\)r (और अपनी खुद की सेटिंग सीईआरटी आर ठीक से)। बेशक, दुर्भावनापूर्ण सत्यापनकर्ता रुक नहीं सकते और मनमाना प्रचार कर सकते हैं संदेश, लेकिन क्योंकि |MSV r,s| < tH, प्रेरण द्वारा tH सत्यापनकर्ताओं द्वारा किसी अन्य v' पर हस्ताक्षर नहीं किया जा सकता है किसी भी चरण 4 \(\leq\)s′ < s में, इस प्रकार ईमानदार सत्यापनकर्ता केवल इसलिए रुकते हैं क्योंकि उन्हें tH वैध प्राप्त हुआ है (आर, 4)-0 और एच(बीआर) के लिए संदेश \(\ell\)r). राउंड-आर ब्लॉक का पुनर्निर्माण। चरण 5 का विश्लेषण सामान्य ईमानदार पर लागू होता है उपयोगकर्ता मैं लगभग बिना किसी बदलाव के। दरअसल, खिलाड़ी I अंतराल Ir और में अपना राउंड R शुरू करता है केवल उस समय T पर रुकेगा जब उसे H(Br) के लिए tH वैध (r, 4)-संदेश प्राप्त होंगे \(\ell\)r). फिर से क्योंकि उनमें से कम से कम एक संदेश ईमानदार सत्यापनकर्ताओं का है और समय T r + t4, प्लेयर I के बाद भेजा गया है श्रीमान,1 भी प्राप्त हुआ \(\ell\)r समय T के अनुसार। इस प्रकार वह Br = Br निर्धारित करता है \(\ell\)r उचित CERT r के साथ। यह केवल यह दिखाना बाकी है कि सभी ईमानदार उपयोगकर्ता अपना राउंड आर समय अंतराल Ir+1 के भीतर समाप्त करते हैं। चरण 5 के विश्लेषण से, \(\in\)HSV r,5 का प्रत्येक ईमानदार सत्यापनकर्ता Br को \(\alpha\)r,5 पर या उससे पहले जानता है। मैं + t5 \(\leq\) टी आर + \(\lambda\) + टी5 = टी आर + 8\(\lambda\) + Λ. चूँकि T r+1 वह समय है जब पहला ईमानदार उपयोगकर्ता ir Br को जानता है, हमारे पास है टी आर+1 \(\leq\)टी आर + 8\(\lambda\) + Λ इच्छानुसार. इसके अलावा, जब खिलाड़ी ब्र को जानता है, तो वह पहले ही संदेशों को प्रसारित करने में मदद कर चुका होता है उसका सीईआरटी आर. ध्यान दें कि वे सभी संदेश सभी ईमानदार उपयोगकर्ताओं को समय के भीतर प्राप्त होंगे, भले ही 19सख्ती से कहें तो, ऐसा बहुत अधिक संभावना के साथ होता है लेकिन जरूरी नहीं कि यह बहुत ज्यादा हो। हालाँकि, यह संभाव्यता प्रोटोकॉल के चलने के समय को थोड़ा प्रभावित करती है, लेकिन इसकी शुद्धता को प्रभावित नहीं करती है। जब h = 80%, तब |एचएसवी आर,4| \(\geq\)tH प्रायिकता 1 −10−8 के साथ। यदि यह घटना घटित नहीं होती है, तो प्रोटोकॉल दूसरे के लिए जारी रहेगा 3 कदम. चूँकि यह संभावना कि यह दो चरणों में घटित नहीं होगा, नगण्य है, प्रोटोकॉल चरण 8 पर समाप्त हो जाएगा। उम्मीद है, तो, आवश्यक कदमों की संख्या लगभग 5 है।प्लेयर आईआर उनका प्रचार करने वाले पहले खिलाड़ी थे। इसके अलावा, ऊपर दिए गए विश्लेषण के बाद हमारे पास यह है टी आर+1 \(\geq\)टी आर + टी4 \(\geq\) \(\beta\)r,1 \(\ell\)r + Λ, इस प्रकार सभी ईमानदार उपयोगकर्ताओं को श्रीमान,1 प्राप्त हुआ है \(\ell\)r समय के अनुसार T r+1 + \(\lambda\). तदनुसार, सभी ईमानदार उपयोगकर्ता समय अंतराल Ir+1 = [T r+1, T r+1 + \(\lambda\)] में Br को जानते हैं। अंततः, r = 0 के लिए हमारे पास वास्तव में T 1 \(\leq\)t4 + \(\lambda\) = 6\(\lambda\) + Λ है। सब कुछ एक साथ मिलाकर, लेम्मा 5.2 धारण करता है। ■ 5.8 द साउंडनेस लेम्मा लेम्मा 5.3. [साउंडनेस लेम्मा, पुनः कहा गया] मान लें कि गुण 1-3 राउंड आर -1 के लिए हैं, जब नेता \(\ell\)r दुर्भावनापूर्ण है, अत्यधिक संभावना के साथ, सभी ईमानदार उपयोगकर्ता एक ही ब्लॉक पर सहमत हैं Br, T r+1 \(\leq\)T r + (6Lr + 10)\(\lambda\) + Λ और सभी ईमानदार उपयोगकर्ता समय अंतराल Ir+1 में Br को जानते हैं। सबूत। हम प्रोटोकॉल के दो भागों, जीसी और बीबीए⋆ पर अलग से विचार करते हैं। जी.सी. आगमनात्मक परिकल्पना द्वारा और लेम्मा 5.5 द्वारा, किसी भी चरण s \(\in\){2, 3, 4} और किसी भी ईमानदार के लिए सत्यापनकर्ता i \(\in\)HSV r,s, जब खिलाड़ी I समय \(\beta\)r,s पर कार्य करता है मैं = \(\alpha\)r,s मैं + टीएस, उसे भेजे गए सभी संदेश प्राप्त हो गए हैं चरण s′ < s में सभी ईमानदार सत्यापनकर्ताओं द्वारा। हम चरण 4 के लिए दो संभावित मामलों को अलग करते हैं। केस 1. कोई सत्यापनकर्ता i \(\in\)HSV r,4 सेट gi = 2 नहीं है। इस मामले में, परिभाषा के अनुसार सभी सत्यापनकर्ताओं के लिए bi = 1 i \(\in\)HSV r,4। यानी वे एक से शुरू करते हैं बाइनरी बीए प्रोटोकॉल में 1 पर समझौता। हो सकता है कि उनके पास अपने vi's पर कोई सहमति न हो, लेकिन इससे कोई फर्क नहीं पड़ता जैसा कि हम बाइनरी बीए में देखेंगे। केस 2. एक सत्यापनकर्ता ˆi \(\in\)HSV r,4 मौजूद है जैसे कि gˆi = 2। इस मामले में, हम उसे दिखाते हैं (1) सभी i \(\in\)HSV r,4 के लिए gi \(\geq\)1, (2) एक मान v′ मौजूद है जैसे कि सभी i \(\in\)HSV r,4 के लिए vi = v′, और (3) एक वैध संदेश मौजूद है श्रीमान,1 \(\ell\) कुछ सत्यापनकर्ताओं से \(\ell\) \(\in\)SV r,1 जैसे कि v′ = H(Br \(\ell\)). दरअसल, चूंकि खिलाड़ी ˆi ईमानदार है और gˆi = 2 सेट करता है, सभी वैध संदेशों में से 2/3 से अधिक श्रीमान,3 जे उसे समान मान v′ ̸= \(\bot\) प्राप्त हुआ है, और उसने vˆi = v′ निर्धारित किया है। लेम्मा 5.5 में संपत्ति (डी) द्वारा, किसी अन्य ईमानदार (आर, 4)-सत्यापनकर्ता के लिए, यह इससे अधिक नहीं हो सकता सभी वैध संदेशों के 2/3 से अधिक श्रीमान,3 जे जो i' को प्राप्त हुआ है वह समान मान v'' ̸= v' के लिए है। तदनुसार, यदि मैं gi = 2 सेट करता हूं, तो यह होना चाहिए कि मैंने v′ के लिए > 2/3 बहुमत भी देखा है और सेट किया है vi = v', इच्छानुसार। अब gi < 2 के साथ एक मनमाना सत्यापनकर्ता i \(\in\)HSV r,4 पर विचार करें। संपत्ति के विश्लेषण के समान (डी) लेम्मा 5.5 में, क्योंकि खिलाड़ी ˆi ने v′ के लिए > 2/3 बहुमत देखा है, 1 से अधिक 2|एचएसवी आर,3| ईमानदार (आर, 3)-सत्यापनकर्ताओं ने वी' पर हस्ताक्षर किए हैं। क्योंकि मुझे सभी संदेश ईमानदार (आर, 3)-सत्यापिकाओं द्वारा प्राप्त हुए हैं समय \(\beta\)r,4 मैं = \(\alpha\)r,4 मैं +t4, उसे विशेष रूप से 1 से अधिक प्राप्त हुआ है 2|एचएसवी आर,3| उनसे संदेश v' के लिए. क्योंकि |HSV r,3| > 2|एमएसवी आर,3|, मैंने वी′ के लिए > 1/3 बहुमत देखा है। तदनुसार, खिलाड़ी मैं gi = 1 सेट करता हूं, और संपत्ति (1) कायम रहती है। क्या प्लेयर I आवश्यक रूप से vi = v′ सेट करता है? मान लें कि एक अलग मान मौजूद है v'' ̸= \(\bot\)ऐसा कि खिलाड़ी मैंने v'' के लिए > 1/3 बहुमत भी देखा है। उनमें से कुछ संदेश दुर्भावनापूर्ण हो सकते हैं सत्यापनकर्ता, लेकिन उनमें से कम से कम एक कुछ ईमानदार सत्यापनकर्ता जे \(\in\)एचएसवी आर,3 से है: वास्तव में, क्योंकि |एचएसवी आर,3| > 2|एमएसवी आर,3| और मुझे एचएसवी आर,3, दुर्भावनापूर्ण सेट से सभी संदेश प्राप्त हुए हैं वे सत्यापनकर्ता जिनसे मुझे एक वैध (आर, 3)-संदेश प्राप्त हुआ है, सभी वैध के <1/3 के लिए गिना जाता है उसे जो संदेश मिले हैं.परिभाषा के अनुसार, खिलाड़ी j ने सभी वैध (r, 2)-संदेशों के बीच v' के लिए > 2/3 बहुमत देखा होगा उसे प्राप्त हो गया है. हालाँकि, हमारे पास पहले से ही कुछ अन्य ईमानदार (आर, 3)-सत्यापकर्ताओं ने देखा है v′ के लिए 2/3 बहुमत (क्योंकि उन्होंने v′ पर हस्ताक्षर किए हैं)। लेम्मा 5.5 की संपत्ति (डी) के अनुसार, ऐसा नहीं हो सकता होता है और ऐसा कोई मान v' मौजूद नहीं है। इस प्रकार खिलाड़ी को मुझे इच्छानुसार vi = v′ सेट करना होगा, और संपत्ति (2) धारण करती है। अंत में, यह देखते हुए कि कुछ ईमानदार (आर, 3)-सत्यापनकर्ताओं ने वी' के लिए > 2/3 बहुमत देखा है, कुछ (वास्तव में, आधे से अधिक) ईमानदार (आर, 2)-सत्यापनकर्ताओं ने वी' के लिए हस्ताक्षर किए हैं और अपने संदेशों का प्रचार किया है। प्रोटोकॉल के निर्माण से, उन ईमानदार (आर, 2)-सत्यापिकाओं को एक वैध प्राप्त हुआ होगा संदेश श्रीमान,1 \(\ell\) कुछ खिलाड़ी से \(\ell\) \(\in\)SV r,1 v′ = H(Br के साथ \(\ell\)), इस प्रकार संपत्ति (3) कायम है। बीबीए⋆. हम फिर से दो मामलों में अंतर करते हैं। केस 1. सभी सत्यापनकर्ताओं i \(\in\)HSV r,4 में bi = 1 है। यह जीसी के केस 1 के बाद होता है। जैसे |एमएसवी आर,4| < tH, इस मामले में SV r,5 में कोई सत्यापनकर्ता नहीं है बिट 0 के लिए वैध (आर, 4)-संदेश एकत्र या उत्पन्न कर सकता है। इस प्रकार, एचएसवी आर,5 में कोई ईमानदार सत्यापनकर्ता नहीं है। रुक जाएगा क्योंकि वह एक गैर-रिक्त ब्लॉक ब्र को जानता है। इसके अलावा, हालांकि बिट 1 के लिए कम से कम tH वैध (r, 4)-संदेश हैं, s′ = 5 संतुष्ट नहीं करता है s' −2 ≡1 mod 3, इस प्रकार HSV r,5 में कोई भी ईमानदार सत्यापनकर्ता नहीं रुकेगा क्योंकि वह Br = Br जानता है .. . इसके बजाय, प्रत्येक सत्यापनकर्ता i \(\in\)HSV r,5 समय \(\beta\)r,5 पर कार्य करता है मैं = \(\alpha\)r,5 मैं + t5, जब तक उसे सब कुछ प्राप्त हो जाएगा लेम्मा 5.5 के बाद एचएसवी आर,4 द्वारा भेजे गए संदेश। इस प्रकार खिलाड़ी ने 1 के लिए > 2/3 बहुमत देखा है और द्वि = 1 सेट करता है। चरण 6 में जो एक कॉइन-फिक्स्ड-टू-1 चरण है, हालांकि s′ = 5 संतोषजनक s′ −2 ≡0 mod 3, वहाँ बिट 0 के लिए वैध (आर, 4)-संदेश मौजूद नहीं हैं, इस प्रकार एचएसवी आर, 6 में कोई सत्यापनकर्ता नहीं रुकेगा क्योंकि वह एक गैर-रिक्त ब्लॉक ब्र को जानता है। हालाँकि, s′ = 6, s′ −2 ≡1 मॉड 3 के साथ और वहाँ मौजूद हैं |एचएसवी आर,5| \(\geq\)tH वैध (आर, 5)-एचएसवी आर,5 से बिट 1 के लिए संदेश। लेम्मा 5.5 का पालन करते हुए प्रत्येक सत्यापनकर्ता i \(\in\)HSV r,6 के लिए, समय \(\alpha\)r,6 पर या उससे पहले मैं + t6 प्लेयर I एचएसवी आर,5 से सभी संदेश प्राप्त हुए हैं, इसलिए मैं बिना कुछ प्रचारित किए रुक जाता हूं और सेट कर देता हूं ब्र = ब्र .. . उनका CERT r, tH वैध (r, 5)-संदेशों mr,5 का सेट है जे = (ESIGj(1), ESIGj(vj), \(\sigma\)r,5 जे ) जब वह रुकता है तो उसे प्राप्त होता है। इसके बाद, खिलाड़ी को या तो चरण 6 में एक ईमानदार सत्यापनकर्ता या एक सामान्य ईमानदार उपयोगकर्ता होने दें (यानी, गैर-सत्यापनकर्ता)। लेम्मा 5.2 के प्रमाण के समान, प्लेयर i Br = Br सेट करता है और अपना खुद का सेट करता है CERT r tH मान्य (r, 5)-संदेशों mr,5 का सेट होगा जे = (ESIGj(1), ESIGj(vj), \(\sigma\)r,5 जे ) उसके पास है प्राप्त. अंततः, लेम्मा 5.2 के समान, टी आर+1 \(\leq\) मि i\(\in\)HSV r,6 \(\alpha\)r,6 मैं + t6 \(\leq\)T r + \(\lambda\) + t6 = T r + 10\(\lambda\) + Λ, और सभी ईमानदार उपयोगकर्ता समय अंतराल Ir+1 में Br को जानते हैं, क्योंकि पहला ईमानदार उपयोगकर्ता वह है जो जानता है कि Br ने अपने CERT r में (r, 5)-संदेशों को प्रचारित करने में मदद की है। केस 2. bˆi = 0 के साथ एक सत्यापनकर्ता ˆi \(\in\)HSV r,4 मौजूद है। यह जीसी के केस 2 के बाद होता है और यह अधिक जटिल मामला है। जीसी के विश्लेषण से, इस मामले में एक वैध संदेश मौजूद है श्रीमान,1 \(\ell\) ऐसा कि vi = H(Br \(\ell\)) सभी i \(\in\)HSV r,4 के लिए। नोट हो सकता है कि एचएसवी आर,4 में सत्यापनकर्ताओं के पास अपने द्विआधारी विकल्प पर सहमति न हो। किसी भी चरण s \(\in\){5, के लिए। . . , एम + 3} और सत्यापनकर्ता आई \(\in\)एचएसवी आर,एस, लेम्मा 5.5 प्लेयर द्वारा मेरे पास होगा HSV r,4 \(\cup\) \(\cdots\) \(\cup\)HSV r,s−1 में सभी ईमानदार सत्यापनकर्ताओं द्वारा भेजे गए सभी संदेश प्राप्त हुए यदि उसने प्रतीक्षा की है समय के लिए टी.एस.अब हम निम्नलिखित घटना E पर विचार करते हैं: एक चरण s∗\(\geq\)5 मौजूद है, जैसे कि, पहले के लिए बाइनरी बीए में समय, कुछ खिलाड़ी i∗\(\in\)SV r,s∗(चाहे दुर्भावनापूर्ण या ईमानदार) को रोकना चाहिए बिना कुछ प्रचारित किये. हम इस तथ्य पर जोर देने के लिए "रुकना चाहिए" का उपयोग करते हैं कि, यदि खिलाड़ी i∗ दुर्भावनापूर्ण है, तो वह दिखावा कर सकता है कि उसे प्रोटोकॉल के अनुसार नहीं रुकना चाहिए और विरोधी की पसंद के संदेशों का प्रचार करें। इसके अलावा, प्रोटोकॉल के निर्माण द्वारा, या तो (ई.ए) i∗कम से कम tH वैध संदेश एकत्र करने या उत्पन्न करने में सक्षम है mr,s′−1 जे = (ESIGj(0), ESIGj(v), \(\sigma\)r,s′−1 जे ) समान v और s′ के लिए, 5 \(\leq\)s′ \(\leq\)s∗and s′ −2 ≡0 mod 3 के साथ; या (ई.बी.) i∗कम से कम tH वैध संदेश एकत्र करने या उत्पन्न करने में सक्षम है mr,s′−1 जे = (ईएसआईजीजे(1), ईएसआईजीजे(वीजे), \(\sigma\)r,s′−1 जे ) समान s' के लिए, 6 \(\leq\)s' \(\leq\)s∗and s' −2 ≡1 mod 3 के साथ। क्योंकि ईमानदार (आर, एस′ −1)-संदेश सभी ईमानदार (आर, एस′)-सत्यापनकर्ताओं को उनसे पहले प्राप्त होते हैं चरण s' में प्रतीक्षा पूरी हो चुकी है, और क्योंकि प्रतिद्वंद्वी को सब कुछ देर से ही प्राप्त होता है ईमानदार उपयोगकर्ता, व्यापकता की हानि के बिना हमारे पास s′ = s∗और प्लेयर i∗दुर्भावनापूर्ण है। ध्यान दें हमें वैध ब्लॉक के hash होने के लिए E.a में मान v की आवश्यकता नहीं थी: क्योंकि यह स्पष्ट हो जाएगा विश्लेषण में, v = H(Br \(\ell\)) इस उप-घटना में। नीचे हम पहले घटना E के बाद केस 2 का विश्लेषण करते हैं, और फिर दिखाते हैं कि s∗ का मान अनिवार्य रूप से है एलआर के अनुसार वितरित किया गया (इस प्रकार घटना ई चरण एम + 3 से पहले जबरदस्त तरीके से घटित होती है संभाव्यता मापदंडों के लिए संबंध दिए गए हैं)। आरंभ करने के लिए, किसी भी चरण 5 \(\leq\)s < s∗ के लिए, प्रत्येक ईमानदार सत्यापनकर्ता I \(\in\)HSV r,s ने समय ts का इंतजार किया है और vi को बहुसंख्यक वोट के रूप में निर्धारित किया है उसे प्राप्त वैध (r, s−1)-संदेश। चूँकि खिलाड़ी i को सभी ईमानदार (r, s−1)-संदेश प्राप्त हुए हैं लेम्मा 5.5 का अनुसरण करते हुए, चूंकि एचएसवी आर,4 में सभी ईमानदार सत्यापनकर्ताओं ने एच(बीआर) पर हस्ताक्षर किए हैं \(\ell\)) निम्नलिखित मामला GC का 2, और चूँकि |HSV r,s−1| > 2|MSV r,s−1| प्रत्येक एस के लिए, प्रेरण द्वारा हमारे पास वह खिलाड़ी है I सेट हो गया है vi = H(Br \(\ell\)). यही बात हर ईमानदार सत्यापनकर्ता पर भी लागू होती है जो प्रचार किए बिना नहीं रुकता कुछ भी. अब हम चरण s∗ पर विचार करते हैं और चार उप-मामलों में अंतर करते हैं। केस 2.1.ए. घटना E.a घटित होती है और एक ईमानदार सत्यापनकर्ता मौजूद होता है I′ \(\in\)HSV r,s∗जिसे करना चाहिए बिना कुछ प्रचारित किये भी रुकें। इस मामले में, हमारे पास s∗−2 ≡0 mod 3 है और चरण s∗ एक कॉइन-फिक्स्ड-टू-0 चरण है। द्वारा परिभाषा, खिलाड़ी i′ को फॉर्म के कम से कम tH वैध (r, s∗−1)-संदेश प्राप्त हुए हैं (ESIGj(0), ESIGj(v), \(\sigma\)r,s∗−1 जे ). चूँकि HSV r,s∗−1 में सभी सत्यापनकर्ताओं ने H(Br) पर हस्ताक्षर किए हैं \(\ell\)) और |MSV r,s∗−1| < tH, हमारे पास v = H(Br \(\ell\)). चूँकि कम से कम tH −|MSV r,s∗−1| (r, s∗−1) में से \(\geq\)1-0 और v के लिए i′ द्वारा प्राप्त संदेश समय के बाद HSV r,s∗−1 में सत्यापनकर्ताओं द्वारा भेजे जाते हैं T r +ts∗−1 \(\geq\)T r +t4 \(\geq\)T r +\(\lambda\)+Λ \(\geq\) \(\beta\)r,1 \(\ell\) +Λ, प्लेयर आई' को मिस्टर,1 प्राप्त हुआ है \(\ell\) जब तक वह उन (r, s∗−1)-संदेशों को प्राप्त करता है। इस प्रकार खिलाड़ी मैं बिना किसी बात का प्रचार किये रुक जाता हूँ; सेट Br = Br \(\ell\); और अपना स्वयं का CERT r निर्धारित करता है 0 और v के लिए वैध (r, s∗−1)-संदेशों का सेट जो उसे प्राप्त हुआ है। इसके बाद, हम दिखाते हैं कि, कोई भी अन्य सत्यापनकर्ता i \(\in\)HSV r,s∗ या तो Br = Br के साथ रुक गया है \(\ell\), या bi = 0 सेट किया है और प्रचारित किया है (ESIGi(0), ESIGi(H(Br \(\ell\))), \(\sigma\)r,s मैं ). वास्तव में, क्योंकि चरण s∗ यह पहली बार है कि किसी सत्यापनकर्ता को कुछ भी प्रचारित किए बिना रुकना चाहिए, ऐसा नहीं है एक चरण s′ < s∗s′ −2 ≡1 mod 3 के साथ मौजूद है ताकि tH (r, s′ −1)-सत्यापियों ने 1 पर हस्ताक्षर किए हों। तदनुसार, HSV r,s∗ में कोई भी सत्यापनकर्ता Br = Br पर नहीं रुकता है .. .इसके अलावा, चरण {4, 5, में सभी ईमानदार सत्यापनकर्ताओं के रूप में। . . , s∗−1} ने H(Br) पर हस्ताक्षर किये हैं \(\ell\)), वहाँ है ऐसा कोई चरण s′ \(\leq\)s∗s′ −2 ≡0 mod 3 के साथ मौजूद नहीं है, जैसे कि tH (r, s′ −1)-सत्यापनकर्ताओं ने हस्ताक्षर किए हैं कुछ v′′ ̸= H(Br \(\ell\)) —वास्तव में, |MSV r,s′−1| < वें. तदनुसार, एचएसवी में कोई सत्यापनकर्ता नहीं रुकता ब्र के साथ ̸= ब्र ̸ और ब्र ̸= ब्र \(\ell\). यानी, अगर कोई खिलाड़ी i \(\in\)HSV r,s∗ के बिना रुक गया है किसी भी चीज़ का प्रचार करते हुए उसने Br = Br निर्धारित किया होगा \(\ell\). यदि कोई खिलाड़ी i \(\in\)HSV r,s∗ ने समय ts∗ का इंतजार किया है और समय पर एक संदेश प्रसारित किया है \(\beta\)r,s∗ मैं = \(\alpha\)r,s∗ मैं + ts∗, उसे HSV r,s∗−1 से सभी संदेश प्राप्त हुए हैं, जिनमें कम से कम शामिल हैं tH −|MSV r,s∗−1| उनमें से 0 और वी के लिए. यदि मैंने 1 के लिए > 2/3 बहुमत देखा है, तो वह 2(tH −|MSV r,s∗−1|) से अधिक वैध (r, s∗−1)-1 के लिए संदेश देखे हैं, अधिक के साथ 2tH −3|MSV r,s∗−1| से अधिक उनमें से ईमानदार (r, s∗−1)-सत्यापनकर्ताओं से। हालाँकि, इसका तात्पर्य यह है |HSV r,s∗−1| \(\geq\)tH−|MSV r,s∗−1|+2tH−3|MSV r,s∗−1| > 2n−4|MSV r,s∗−1|, विरोधाभासी तथ्य यह है कि |HSV r,s∗−1| + 4|MSV r,s∗−1| <2एन, जो मापदंडों के संबंधों से आता है। तदनुसार, मुझे > 2/3 नहीं दिख रहा है 1 के लिए बहुमत, और वह bi = 0 सेट करता है क्योंकि चरण s∗ एक कॉइन-फिक्स्ड-टू-0 चरण है। जैसा कि हमारे पास है देखा, vi = H(Br \(\ell\)). इस प्रकार मैं (ESIGi(0), ESIGi(H(Br) का प्रचार करता हूं \(\ell\))), \(\sigma\)r,s i ) जैसा हम चाहते थे दिखाओ. चरण s∗+ 1 के लिए, चूंकि खिलाड़ी i′ ने अपने CERT r में संदेशों को प्रसारित करने में मदद की है समय पर या उससे पहले \(\alpha\)r,s∗ मैं' + ts∗, HSV r,s∗+1 में सभी ईमानदार सत्यापनकर्ताओं को कम से कम प्राप्त हुआ है tH मान्य (r, s∗−1)-बिट 0 और मान H(Br) के लिए संदेश \(\ell\)) उनके पूरा होने पर या उससे पहले इंतज़ार कर रहा हूँ. इसके अलावा, एचएसवी r,s∗+1 में सत्यापनकर्ता उन्हें प्राप्त करने से पहले नहीं रुकेंगे (r, s∗−1)- संदेश, क्योंकि बिट 1 के लिए कोई अन्य tH मान्य (r, s′ −1)-संदेश मौजूद नहीं है s′ −2 ≡1 mod 3 और 6 \(\leq\)s′ \(\leq\)s∗+ 1, चरण s∗ की परिभाषा के अनुसार। विशेष रूप से, चरण s∗+ 1 अपने आप में एक कॉइन-फिक्स्ड-टू-1 चरण है, लेकिन HSV r,s∗ में किसी भी ईमानदार सत्यापनकर्ता ने इसका प्रचार नहीं किया है 1, और |MSV r,s∗| के लिए एक संदेश < वें. इस प्रकार HSV r,s∗+1 में सभी ईमानदार सत्यापनकर्ता बिना कुछ प्रचारित किए रुक जाते हैं और Br = सेट कर देते हैं ब्र \(\ell\): पहले की तरह, उन्हें श्रीमान,1 प्राप्त हुआ है \(\ell\) इससे पहले कि उन्हें वांछित (r, s∗−1)-संदेश प्राप्त हो।20 भविष्य के चरणों में सभी ईमानदार सत्यापनकर्ताओं और सामान्य रूप से सभी ईमानदार उपयोगकर्ताओं के लिए भी यही कहा जा सकता है। विशेष रूप से, वे सभी Br = Br को जानते हैं \(\ell\)समय अंतराल के भीतर Ir+1 और टी आर+1 \(\leq\) \(\alpha\)r,s∗ मैं' + ts∗\(\leq\)T r + \(\lambda\) + ts∗. केस 2.1.बी. घटना ई.बी घटित होती है और एक ईमानदार सत्यापनकर्ता मौजूद है I′ \(\in\)HSV r,s∗किसे करना चाहिए बिना कुछ प्रचारित किये भी रुकें। इस मामले में हमारे पास s∗−2 ≡1 mod 3 है और चरण s∗ एक कॉइन-फिक्स्ड-टू-1 चरण है। विश्लेषण केस 2.1.ए के समान है और कई विवरण छोड़ दिए गए हैं। 20यदि द्वेषपूर्ण है, तो वह श्रीमान को भेज सकता है,1 \(\ell\) देर से, आशा है कि कुछ ईमानदार उपयोगकर्ताओं/सत्यापकर्ताओं को श्रीमान 1 प्राप्त नहीं हुआ है \(\ell\) अभी तक जब उन्हें इसके लिए वांछित प्रमाणपत्र प्राप्त हो जाता है। हालाँकि, चूँकि सत्यापनकर्ता ˆi \(\in\)HSV r,4 ने bˆi = 0 और vˆi = H(Br) निर्धारित किया है \(\ell\)), जैसे इससे पहले कि हमारे पास आधे से अधिक ईमानदार सत्यापनकर्ता i \(\in\)HSV r,3 हों, ने vi = H(Br) निर्धारित किया है \(\ell\)). इसका तात्पर्य और भी अधिक है आधे से अधिक ईमानदार सत्यापनकर्ता i \(\in\)HSV r,2 ने vi = H(Br) निर्धारित किया है \(\ell\)), और उन (आर, 2)-सत्यापनकर्ताओं को श्रीमान, 1 प्राप्त हुआ है \(\ell\). के रूप में विरोधी एक सत्यापनकर्ता को एक गैर-सत्यापनकर्ता से अलग नहीं कर सकता, वह श्रीमान के प्रसार को लक्षित नहीं कर सकता,1 \(\ell\) (आर, 2)-सत्यापनकर्ताओं के लिए गैर-सत्यापनकर्ताओं को इसे देखे बिना। वास्तव में, उच्च संभावना के साथ, आधे से अधिक (या एक अच्छा स्थिर अंश) सभी ईमानदार उपयोगकर्ताओं में से श्रीमान,1 को देखा है \(\ell\) अपने स्वयं के दौर आर की शुरुआत से टी2 की प्रतीक्षा करने के बाद। यहाँ से, श्रीमान,1 के लिए आवश्यक समय \(\lambda\)′ \(\ell\) शेष ईमानदार उपयोगकर्ताओं तक पहुँचने के लिए Λ की तुलना में बहुत छोटा है, और सरलता के लिए हम ऐसा नहीं करते हैं इसे विश्लेषण में लिखें. यदि 4\(\lambda\) \(\geq\) \(\lambda\)′ तो विश्लेषण बिना किसी बदलाव के चलता है: चरण 4 के अंत तक, सभी ईमानदार उपयोगकर्ताओं को श्रीमान,1 प्राप्त होगा \(\ell\). यदि ब्लॉक का आकार बहुत बड़ा हो जाता है और 4\(\lambda\) < \(\lambda\)′ हो जाता है, तो चरण 3 और 4 में, प्रोटोकॉल प्रत्येक सत्यापनकर्ता को 2\(\lambda\) के बजाय \(\lambda\)′/2 के लिए प्रतीक्षा करने के लिए कह सकता है, और विश्लेषण जारी रहेगा।पहले की तरह, खिलाड़ी i′ को फॉर्म के कम से कम tH वैध (r, s∗−1)-संदेश प्राप्त होने चाहिए (ESIGj(1), ESIGj(vj), \(\sigma\)r,s∗−1 जे ). फिर से, s∗ की परिभाषा के अनुसार, कोई चरण मौजूद नहीं है 5 \(\leq\)s′ < s∗with s′ −2 ≡0 mod 3, जहां कम से कम tH (r, s′ −1)-सत्यापिकाओं ने 0 पर हस्ताक्षर किए हैं और वही v. इस प्रकार खिलाड़ी i' बिना कुछ प्रचारित किए रुक जाता है; सेट Br = Br ǫ; और सेट उसका अपना CERT r बिट 1 के लिए वैध (r, s∗−1)-संदेशों का सेट होना चाहिए जो उसे प्राप्त हुआ है। इसके अलावा, कोई भी अन्य सत्यापनकर्ता i \(\in\)HSV r,s∗ या तो Br = Br के साथ बंद हो गया है ǫ , या द्वि = सेट किया है 1 और प्रचारित (ESIGi(1), ESIGi(vi), \(\sigma\)r,s∗ मैं ). चूंकि खिलाड़ी i' ने प्रचार-प्रसार में मदद की है (r, s∗−1)-समय के अनुसार उसके CERT r में संदेश \(\alpha\)r,s∗ मैं' + ts∗, फिर से सभी ईमानदार सत्यापनकर्ता HSV r,s∗+1 बिना कुछ प्रचारित किए रुकें और Br = Br सेट करें .. . इसी तरह, सभी ईमानदार उपयोगकर्ता Br = Br जानते हैं ǫ समय अंतराल के भीतर Ir+1 और टी आर+1 \(\leq\) \(\alpha\)r,s∗ मैं' + ts∗\(\leq\)T r + \(\lambda\) + ts∗. केस 2.2.ए. घटना E.a घटित होती है और कोई ईमानदार सत्यापनकर्ता मौजूद नहीं है I′ \(\in\)HSV r,s∗who बिना किसी बात का प्रचार किये भी रुक जाना चाहिए. इस मामले में, ध्यान दें कि खिलाड़ी के पास वैध CERT r हो सकता है i∗वांछित से मिलकर (r, s∗−1)-संदेश विरोधी एकत्र या उत्पन्न करने में सक्षम है। हालाँकि, दुर्भावनापूर्ण सत्यापनकर्ता उन संदेशों को प्रचारित करने में मदद नहीं कर सकते हैं, इसलिए हम यह निष्कर्ष नहीं निकाल सकते कि यह ईमानदार है उपयोगकर्ता उन्हें समय पर प्राप्त करेंगे। वास्तव में, |MSV r,s∗−1| उन संदेशों में से हो सकता है दुर्भावनापूर्ण (r, s∗−1)-सत्यापनकर्ता, जिन्होंने अपने संदेशों का बिल्कुल भी प्रचार नहीं किया और केवल भेजा उन्हें चरण s∗ में दुर्भावनापूर्ण सत्यापनकर्ताओं के पास भेजें। केस 2.1.ए के समान, यहां हमारे पास s∗−2 ≡0 mod 3 है, चरण s∗ एक कॉइन-फिक्स्ड-टू-0 चरण है, और (r, s∗−1)-CERT r में संदेश i∗बिट 0 के लिए हैं और v = H(Br \(\ell\)). सचमुच, सभी ईमानदार (r, s∗−1)-सत्यापनकर्ता v पर हस्ताक्षर करते हैं, इस प्रकार प्रतिद्वंद्वी tH वैध (r, s∗−1)-संदेश उत्पन्न नहीं कर सकता है एक अलग v' के लिए। इसके अलावा, सभी ईमानदार (आर, एस∗)-सत्यापनकर्ताओं ने समय का इंतजार किया है∗और > 2/3 बहुमत नहीं दिख रहा है बिट 1 के लिए, फिर से क्योंकि |HSV r,s∗−1| + 4|MSV r,s∗−1| <2एन. इस प्रकार प्रत्येक ईमानदार सत्यापनकर्ता i \(\in\)HSV r,s∗सेट bi = 0, vi = H(Br \(\ell\)) बहुमत वोट से, और प्रचारित करता है mr,s∗ मैं = (ESIGi(0), ESIGi(H(Br \(\ell\))), \(\sigma\)r,s∗ मैं ) समय पर \(\alpha\)r,s∗ मैं + ts∗. अब चरण s∗+ 1 (जो एक कॉइन-फिक्स्ड-टू-1 चरण है) में ईमानदार सत्यापनकर्ताओं पर विचार करें। यदि विरोधी वास्तव में CERT r में संदेश भेजता है मैं उनमें से कुछ के लिए और उन्हें कारण बनता है रुकें, फिर केस 2.1.ए के समान, सभी ईमानदार उपयोगकर्ता Br = Br जानते हैं \(\ell\)समय अंतराल के भीतर आईआर+1 और T r+1 \(\leq\)T r + \(\lambda\) + ts∗+1. अन्यथा, चरण s∗+1 के सभी ईमानदार सत्यापनकर्ताओं को 0 और के लिए सभी (r, s∗)-संदेश प्राप्त हुए हैं एच(ब्र \(\ell\)) HSV r,s∗ से प्रतीक्षा समय ts∗+1 के बाद, जिससे > 2/3 बहुमत प्राप्त होता है, क्योंकि |एचएसवी आर,एस∗| > 2|एमएसवी आर,एस∗|. इस प्रकार HSV r,s∗+1 में सभी सत्यापनकर्ता अपने संदेशों का प्रचार करते हैं 0 और एच(ब्र \(\ell\)) तदनुसार। ध्यान दें कि HSV r,s∗+1 में सत्यापनकर्ता Br = Br पर नहीं रुकते हैं \(\ell\), क्योंकि चरण s∗+ 1 एक कॉइन-फिक्स्ड-टू-0 चरण नहीं है। अब चरण s∗+2 (जो एक सिक्का-वास्तविक-फ़्लिप्ड चरण है) में ईमानदार सत्यापनकर्ताओं पर विचार करें। यदि विरोधी CERT r में संदेश भेजता है मैं उनमें से कुछ को रोकता हूं और उन्हें रोकता हूं, तो फिर सभी ईमानदार उपयोगकर्ता Br = Br जानते हैं \(\ell\)समय अंतराल के भीतर Ir+1 और T r+1 \(\leq\)T r + \(\lambda\) + ts∗+2.अन्यथा, चरण s∗+ 2 के सभी ईमानदार सत्यापनकर्ताओं को सभी (r, s∗+ 1)-संदेश प्राप्त हो गए हैं 0 और एच(ब्र \(\ell\)) HSV r,s∗+1 से प्रतीक्षा समय ts∗+2 के बाद, जिससे > 2/3 बहुमत प्राप्त होता है। इस प्रकार वे सभी 0 और H(Br.) के लिए अपना संदेश प्रचारित करते हैं \(\ell\)) तदनुसार: वे यही करते हैं इस मामले में "सिक्का उछालना" नहीं। पुनः ध्यान दें कि वे प्रचार किये बिना नहीं रुकते, क्योंकि चरण s∗+ 2 एक कॉइन-फिक्स्ड-टू-0 चरण नहीं है। अंत में, चरण s∗+3 (जो एक और कॉइन-फिक्स्ड-टू-0 चरण है) में ईमानदार सत्यापनकर्ताओं के लिए, सभी उनमें से 0 और H(Br) के लिए कम से कम tH वैध संदेश प्राप्त हुए होंगे \(\ell\)) HSV s∗+2 से, यदि वे वास्तव में समय का इंतजार करते हैं ts∗+3। इस प्रकार, विरोधी संदेश भेजता है या नहीं CERT में आर i∗उनमें से किसी के लिए, HSV r,s∗+3 में सभी सत्यापनकर्ता Br = Br पर रुकते हैं \(\ell\), बिना किसी भी चीज़ का प्रचार करना. यह इस बात पर निर्भर करता है कि विरोधी कैसे कार्य करता है, उनमें से कुछ का व्यवहार हो सकता है उनका अपना CERT r जिसमें CERT r में वे (r, s∗−1)-संदेश शामिल हैं i∗, और अन्य के पास है उनका अपना CERT r उन (r, s∗+ 2)-संदेशों से युक्त है। किसी भी मामले में, सभी ईमानदार उपयोगकर्ता जानिए Br = Br \(\ell\)समय अंतराल के भीतर Ir+1 और T r+1 \(\leq\)T r + \(\lambda\) + ts∗+3. केस 2.2.बी. घटना ई.बी घटित होती है और कोई ईमानदार सत्यापनकर्ता मौजूद नहीं है I′ \(\in\)HSV r,s∗who बिना किसी बात का प्रचार किये भी रुक जाना चाहिए. इस मामले में विश्लेषण केस 2.1.बी और केस 2.2.ए के समान है, इस प्रकार कई विवरण हैं छोड़ दिया गया है. विशेष रूप से, सीईआरटी आर i∗ में वांछित (r, s∗−1)-संदेश शामिल हैं बिट 1 के लिए जिसे विरोधी एकत्रित या उत्पन्न करने में सक्षम है, s∗−2 ≡1 mod 3, चरण s∗ एक है कॉइन-फिक्स्ड-टू-1 चरण, और कोई भी ईमानदार (आर, एस∗)-सत्यापनकर्ता 0 के लिए > 2/3 बहुमत नहीं देख सका। इस प्रकार, प्रत्येक सत्यापनकर्ता i \(\in\)HSV r,s∗ bi = 1 सेट करता है और mr,s∗ को प्रचारित करता है मैं = (ईएसआईजीआई(1), ईएसआईजीआई(vi), \(\sigma\)r,s∗ मैं ) समय पर \(\alpha\)r,s∗ मैं + ts∗. केस 2.2.ए के समान, अधिकतम 3 और चरणों में (अर्थात, प्रोटोकॉल चरण s∗+3 तक पहुंचता है, जो एक और कॉइन-फिक्स्ड-टू-1 चरण है), सभी ईमानदार उपयोगकर्ता Br = Br जानते हैं .. समय अंतराल के भीतर Ir+1. इसके अलावा, T r+1 \(\leq\)T r+\(\lambda\)+ts∗+1, या \(\leq\)T r+\(\lambda\)+ts∗+2 हो सकता है, या \(\leq\)T r + \(\lambda\) + ts∗+3, यह इस पर निर्भर करता है कि पहली बार एक ईमानदार सत्यापनकर्ता कब रुकने में सक्षम होता है बिना प्रचार किये. चार उप-मामलों को मिलाकर, हमारे पास यह है कि सभी ईमानदार उपयोगकर्ता समय अंतराल के भीतर Br को जानते हैं आईआर+1, साथ T r+1 \(\leq\)T r + \(\lambda\) + ts∗मामलों 2.1.a और 2.1.b में, और T r+1 \(\leq\)T r + \(\lambda\) + ts∗+3 केस 2.2.a और 2.2.b में। यह केस 2 के लिए ऊपरी सीमा s∗और इस प्रकार T r+1 पर बना हुआ है, और हम इस पर विचार करके ऐसा करते हैं कि कैसे कई बार कॉइन-जेनुइनली-फ़्लिप्ड चरण वास्तव में प्रोटोकॉल में निष्पादित होते हैं: अर्थात, कुछ ईमानदार सत्यापनकर्ताओं ने वास्तव में सिक्का उछाल दिया है। विशेष रूप से, मनमाने ढंग से एक सिक्का-वास्तविक-फ़्लिप्ड चरण s′ (यानी, 7 \(\leq\)s′ \(\leq\)m + 2 और s′ −2 ≡2 mod 3), और मान लीजिए \(\ell\)′ \(\triangleq\)arg minj\(\in\)SV r,s′−1 H(\(\sigma\)r,s′−1 जे ). अभी के लिए आइए मान लें कि s′ < s∗, क्योंकि अन्यथा कोई भी ईमानदार सत्यापनकर्ता वास्तव में चरण s' में सिक्का नहीं उछालता, जैसा कि पिछले विचार विमर्श. SV r,s′−1 की परिभाषा के अनुसार, \(\ell\)′ की साख का hash मान भी सबसे छोटा है PKr−k में सभी उपयोगकर्ता। चूँकि hash फ़ंक्शन एक यादृच्छिक oracle है, आदर्श रूप से खिलाड़ी \(\ell\)′ इसके प्रति ईमानदार है संभावना कम से कम ज. जैसा कि हम बाद में दिखाएंगे, भले ही प्रतिद्वंद्वी भविष्यवाणी करने की पूरी कोशिश करे यादृच्छिक oracle का आउटपुट और संभाव्यता को झुकाएं, खिलाड़ी \(\ell\)′ अभी भी संभाव्यता के प्रति ईमानदार हैकम से कम ph = h2(1 + h −h2). नीचे हम उस मामले पर विचार करते हैं जब ऐसा वास्तव में होता है: यानी, \(\ell\)′ \(\in\)HSV r,s′−1. ध्यान दें कि प्रत्येक ईमानदार सत्यापनकर्ता i \(\in\)HSV r,s′ को HSV r,s′−1 से सभी संदेश प्राप्त हुए हैं समय \(\alpha\)r,s' मैं + ts′. अगर खिलाड़ी को सिक्का उछालने की जरूरत है (यानी, उसने > 2/3 बहुमत नहीं देखा है) वही बिट b \(\in\){0, 1}), फिर वह bi = lsb(H(\(\sigma\)r,s′−1) सेट करता है \(\ell\)′ )). अगर कोई और ईमानदार मौजूद है सत्यापनकर्ता i′ \(\in\)HSV r,s′ जिसने बिट b \(\in\){0, 1} के लिए > 2/3 बहुमत देखा है, फिर संपत्ति द्वारा (डी) लेम्मा 5.5 में, एचएसवी आर, एस' में किसी भी ईमानदार सत्यापनकर्ता ने थोड़ी देर के लिए > 2/3 बहुमत नहीं देखा होगा बी′ ̸= बी. चूँकि lsb(H(\(\sigma\)r,s′−1 \(\ell\)′ )) = बी संभावना 1/2 के साथ, एचएसवी आर, एस' में सभी ईमानदार सत्यापनकर्ता पहुंचते हैं संभाव्यता 1/2 के साथ बी पर एक समझौता। निःसंदेह, यदि ऐसा कोई सत्यापनकर्ता मौजूद नहीं है, तो सब कुछ एचएसवी r,s′ में ईमानदार सत्यापनकर्ता बिट lsb(H(\(\sigma\)r,s′−1) पर सहमत हैं \(\ell\)′ )) प्रायिकता 1 के साथ। \(\ell\)′ \(\in\)HSV r,s′−1 के लिए संभाव्यता को संयोजित करने पर, हमें पता चलता है कि HSV r,s′ में ईमानदार सत्यापनकर्ता हैं कम से कम ph संभावना के साथ बिट b \(\in\){0, 1} पर एक समझौते पर पहुंचें 2 = h2(1+h−h2) 2 . इसके अलावा, पहले की तरह बहुमत के मत पर शामिल करके, एचएसवी आर,एस' में सभी ईमानदार सत्यापनकर्ताओं के पास अपना वीआई सेट है H(Br) होना \(\ell\)). इस प्रकार, चरण s′ में एक बार b पर समझौता हो जाने पर, T r+1 है या तो \(\leq\)T r + \(\lambda\) + ts′+1 या \(\leq\)T r + \(\lambda\) + ts′+2, मामले 2.1.ए और 2.1.बी के विश्लेषण के बाद, यह इस पर निर्भर करता है कि बी = 0 या बी = 1। में विशेष रूप से, आगे कोई सिक्का-वास्तविक-फ़्लिप्ड चरण निष्पादित नहीं किया जाएगा: यानी, सत्यापनकर्ता ऐसे कदम अभी भी जांचते हैं कि वे सत्यापनकर्ता हैं और इस प्रकार प्रतीक्षा करते हैं, लेकिन वे सभी बिना रुके रुक जाएंगे किसी भी चीज़ का प्रचार करना. तदनुसार, चरण s∗ से पहले, कॉइन-जेनुइनलीफ्लिप्ड चरणों को निष्पादित करने की संख्या को यादृच्छिक चर Lr के अनुसार वितरित किया जाता है। लेटिंग स्टेप एस' एलआर के अनुसार, प्रोटोकॉल के निर्माण द्वारा अंतिम सिक्का-वास्तविक-फ़्लिप्ड चरण बनें हमारे पास है एस′ = 4 + 3एलआर. यदि विरोधी टी आर+1 को अधिक से अधिक विलंबित करना चाहता है तो उसे कदम कब उठाना चाहिए संभव? हम यह भी मान सकते हैं कि प्रतिद्वंद्वी को एलआर का एहसास पहले से ही पता है। यदि s∗> s' तो यह बेकार है, क्योंकि ईमानदार सत्यापनकर्ता पहले ही एक समझौते पर पहुंच चुके हैं कदम एस'. निश्चित रूप से, इस मामले में s∗s∗s′ +1 या s′ +2 होगा, यह फिर से इस पर निर्भर करता है कि b = 0 है या नहीं या बी = 1. हालाँकि, यह वास्तव में मामले 2.1.ए और 2.1.बी हैं, और परिणामी टी आर+1 बिल्कुल वैसा ही है उस मामले में भी वैसा ही। अधिक सटीक रूप से, T r+1 \(\leq\)T r + \(\lambda\) + ts∗\(\leq\)T r + \(\lambda\) + ts′+2. यदि s∗< s′ −3—अर्थात, s∗ दूसरे-आखिरी कॉइन-जेनुइनली-फ़्लिप्ड चरण से पहले है—तो इसके द्वारा मामले 2.2.ए और 2.2.बी का विश्लेषण, T r+1 \(\leq\)T r + \(\lambda\) + ts∗+3 < T r + \(\lambda\) + ts′. अर्थात्, विरोधी वास्तव में Br पर समझौते को तेजी से पूरा कर रहा है। यदि s∗= s′ −2 या s′ −1—अर्थात, कॉइन-फिक्स्ड-टू-0 चरण या कॉइन-फिक्स्ड-टू-1 चरण चरण s' से ठीक पहले - फिर चार उप-मामलों के विश्लेषण से, ईमानदार सत्यापनकर्ता स्टेप्स' को अब सिक्कों को पलटने की सुविधा नहीं मिलती, क्योंकि वे या तो बिना प्रचार-प्रसार के बंद हो गए हैं, या एक ही बिट के लिए > 2/3 बहुमत देखा है बी। इसलिए हमारे पास है T r+1 \(\leq\)T r + \(\lambda\) + ts∗+3 \(\leq\)T r + \(\lambda\) + ts′+2.संक्षेप में, चाहे जो भी हो, हमारे पास है T r+1 \(\leq\)T r + \(\lambda\) + ts′+2 = T r + \(\lambda\) + t3Lr+6 = टी आर + \(\lambda\) + (2(3एलआर + 6) −3)\(\lambda\) + Λ = टी आर + (6एलआर + 10)\(\lambda\) + Λ, जैसा हम दिखाना चाहते थे. सबसे खराब स्थिति तब होती है जब s∗= s′ −1 और स्थिति 2.2.b होती है। बाइनरी बीए प्रोटोकॉल के केस 1 और 2 को मिलाकर, लेम्मा 5.3 कायम है। ■ 5.9 बीज क्यूआर की सुरक्षा और एक ईमानदार नेता की संभावना लेम्मा 5.4 को सिद्ध करना बाकी है। याद रखें कि राउंड आर में सत्यापनकर्ता पीकेआर−के और से लिए गए हैं मात्रा Qr−1 के अनुसार चुना जाता है। लुक-बैक पैरामीटर k शुरू करने का कारण यह सुनिश्चित करना है कि, राउंड आर -के पर, जब प्रतिद्वंद्वी नए दुर्भावनापूर्ण उपयोगकर्ताओं को जोड़ने में सक्षम हो PKr−k के लिए, वह नगण्य संभावना को छोड़कर मात्रा Qr−1 की भविष्यवाणी नहीं कर सकता है। ध्यान दें कि hash फ़ंक्शन एक यादृच्छिक oracle है और राउंड आर के लिए सत्यापनकर्ताओं का चयन करते समय Qr−1 इसके इनपुट में से एक है। इस प्रकार, इससे कोई फर्क नहीं पड़ता कि पीकेआर−के में कितने दुर्भावनापूर्ण उपयोगकर्ता जोड़े गए हैं, प्रतिद्वंद्वी के दृष्टिकोण से प्रत्येक उनमें से एक को अभी भी आवश्यक संभाव्यता पी (या) के साथ राउंड आर के एक चरण में सत्यापनकर्ता के रूप में चुना गया है चरण 1 के लिए p1)। अधिक सटीक रूप से, हमारे पास निम्नलिखित लेम्मा है। लेम्मा 5.6. k = O(log1/2 F) के साथ, प्रत्येक राउंड r के लिए, अत्यधिक संभावना के साथ प्रतिद्वंद्वी राउंड r −k पर यादृच्छिक oracle से Qr−1 से पूछताछ नहीं की। सबूत। हम प्रेरण द्वारा आगे बढ़ते हैं। मान लें कि प्रत्येक दौर \(\gamma\) < r के लिए, प्रतिद्वंद्वी ने पूछताछ नहीं की Q\(\gamma\)−1 से यादृच्छिक oracle पर वापस दौर \(\gamma\) −k.21 द्वारा खेले गए निम्नलिखित मानसिक खेल पर विचार करें राउंड r −k पर प्रतिद्वंद्वी, Qr−1 की भविष्यवाणी करने की कोशिश कर रहा है। प्रत्येक दौर के चरण 1 में \(\gamma\) = r −k, . . . , r −1, एक विशिष्ट Q\(\gamma\)−1 दिया गया है जिसे यादृच्छिक रूप से नहीं पूछा गया है oracle, खिलाड़ियों को \(\in\)PK\(\gamma\)−k को hash मान H(SIGi(\(\gamma\), 1, Q\(\gamma\)−1)) के अनुसार क्रमबद्ध करके तेजी से, हम PK\(\gamma\)−k पर एक यादृच्छिक क्रमपरिवर्तन प्राप्त करते हैं। परिभाषा के अनुसार, नेता \(\ell\) \(\gamma\) है क्रमपरिवर्तन में पहला उपयोगकर्ता और संभाव्यता एच के प्रति ईमानदार है। इसके अलावा, जब PK\(\gamma\)−k बड़ा होता है पर्याप्त, किसी भी पूर्णांक x \(\geq\)1 के लिए, संभावना है कि क्रमपरिवर्तन में पहले x उपयोगकर्ता सभी हैं दुर्भावनापूर्ण लेकिन (x + 1)st ईमानदार है (1 −h)xh। यदि \(\ell\) \(\gamma\) ईमानदार है, तो Q\(\gamma\) = H(SIG\(\ell\) \(\gamma\)(Q\(\gamma\)−1), \(\gamma\))। चूँकि विरोधी हस्ताक्षर जाली नहीं बना सकता \(\ell\) \(\gamma\) का, Q\(\gamma\) प्रतिद्वंद्वी के दृष्टिकोण से यादृच्छिक रूप से समान रूप से वितरित किया जाता है, सिवाय इसके कि घातांकीय रूप से कम संभावना के साथ, 22 से राउंड r −k पर H से पूछताछ नहीं की गई। प्रत्येक के बाद से Q\(\gamma\)+1, Q\(\gamma\)+2, . . . , Qr−1 क्रमशः Q\(\gamma\), Q\(\gamma\)+1, के साथ H का आउटपुट है। . . , इनपुट में से एक के रूप में Qr−2, वे सभी प्रतिद्वंद्वी को यादृच्छिक लगते हैं और प्रतिद्वंद्वी H पर Qr−1 से प्रश्न नहीं पूछ सकता था गोल आर −क. तदनुसार, यह एकमात्र मामला है जहां प्रतिद्वंद्वी राउंड में अच्छी संभावना के साथ Qr−1 की भविष्यवाणी कर सकता है r−k तब होता है जब सभी नेता \(\ell\)r−k, . . . , \(\ell\)r−1 दुर्भावनापूर्ण हैं। फिर से एक गोल \(\gamma\) \(\in\){r−k पर विचार करें। . . , r−1} और संबंधित hash मानों से प्रेरित PK\(\gamma\)−k पर यादृच्छिक क्रमपरिवर्तन। अगर कुछ के लिए x \(\geq\)2, क्रमपरिवर्तन में पहले x −1 उपयोगकर्ता सभी दुर्भावनापूर्ण हैं और x-th ईमानदार है, फिर प्रतिद्वंद्वी के पास Q\(\gamma\) के लिए x संभावित विकल्प हैं: या तो H(SIGi(Q\(\gamma\)−1, \(\gamma\))) के रूप में, जहां i इनमें से एक है 21चूंकि k एक छोटा पूर्णांक है, व्यापकता के नुकसान के बिना कोई यह मान सकता है कि प्रोटोकॉल के पहले k राउंड चलाए गए हैं एक सुरक्षित वातावरण में और आगमनात्मक परिकल्पना उन दौरों के लिए मान्य है। 22अर्थात, H के आउटपुट की लंबाई में घातीय है। ध्यान दें कि यह संभावना F से बहुत छोटी है।पहले x−1 दुर्भावनापूर्ण उपयोगकर्ता, खिलाड़ियों को वास्तव में राउंड \(\gamma\) का लीडर बनाकर; या H(Q\(\gamma\)−1, \(\gamma\)), द्वारा मजबूरन B\(\gamma\) = B\(\gamma\) .. . अन्यथा, राउंड का नेता क्रमपरिवर्तन में पहला ईमानदार उपयोगकर्ता होगा और Qr−1 प्रतिद्वंद्वी के लिए अप्रत्याशित हो जाता है। प्रतिद्वंद्वी को Q\(\gamma\) के उपरोक्त x विकल्पों में से कौन सा विकल्प अपनाना चाहिए? शत्रु की सहायता करना इस प्रश्न का उत्तर दें, मानसिक खेल में हम वास्तव में उसे वास्तव में उससे अधिक शक्तिशाली बनाते हैं है, इस प्रकार. सबसे पहले, वास्तव में, प्रतिद्वंद्वी एक ईमानदार उपयोगकर्ता के hash की गणना नहीं कर सकता है हस्ताक्षर, इस प्रकार, प्रत्येक Q\(\gamma\) के लिए, शुरुआत में दुर्भावनापूर्ण उपयोगकर्ताओं की संख्या x(Q\(\gamma\)) तय नहीं कर सकता है Q\(\gamma\) द्वारा प्रेरित दौर \(\gamma\) + 1 में यादृच्छिक क्रमपरिवर्तन का। मानसिक खेल में, हम उसे देते हैं संख्या x(Q\(\gamma\)) निःशुल्क। दूसरा, वास्तव में, क्रमपरिवर्तन में पहले x उपयोगकर्ता होना दुर्भावनापूर्ण होने का मतलब यह नहीं है कि उन सभी को नेता बनाया जा सकता है, क्योंकि hash उनके हस्ताक्षरों का मान भी p1 से कम होना चाहिए। हमने मानसिक रूप से इस बाधा को नजरअंदाज कर दिया है खेल, प्रतिद्वंद्वी को और भी अधिक लाभ देता है। यह देखना आसान है कि मानसिक खेल में, प्रतिद्वंद्वी के लिए इष्टतम विकल्प, जिसे ˆQ\(\gamma\) द्वारा दर्शाया जाता है, वह है जो रैंडम की शुरुआत में दुर्भावनापूर्ण उपयोगकर्ताओं का सबसे लंबा अनुक्रम उत्पन्न करता है राउंड \(\gamma\) + 1 में क्रमपरिवर्तन। वास्तव में, एक विशिष्ट Q\(\gamma\) दिया गया है, प्रोटोकॉल Q\(\gamma\)−1 पर निर्भर नहीं करता है अब और प्रतिद्वंद्वी केवल \(\gamma\) + 1 दौर में नए क्रमपरिवर्तन पर ध्यान केंद्रित कर सकता है, जिसमें है शुरुआत में दुर्भावनापूर्ण उपयोगकर्ताओं की संख्या के लिए समान वितरण। तदनुसार, प्रत्येक दौर में \(\gamma\), उपर्युक्त ˆQ\(\gamma\) उसे Q\(\gamma\)+1 के लिए विकल्पों की सबसे बड़ी संख्या देता है और इस प्रकार अधिकतम होता है संभावना यह है कि लगातार सभी नेता दुर्भावनापूर्ण हैं। इसलिए, मानसिक खेल में प्रतिद्वंद्वी राउंड आर -के से मार्कोव चेन का अनुसरण कर रहा है r −1 को पूर्णांकित करने के लिए, अवस्था स्थान {0} \(\cup\){x : x \(\geq\)2} के साथ। राज्य 0 इस तथ्य को दर्शाता है कि वर्तमान दौर में यादृच्छिक क्रमपरिवर्तन में पहला उपयोगकर्ता ईमानदार है, इस प्रकार प्रतिद्वंद्वी विफल रहता है Qr−1 की भविष्यवाणी के लिए खेल; और प्रत्येक स्थिति x \(\geq\)2 इस तथ्य का प्रतिनिधित्व करती है कि पहले x −1 उपयोगकर्ता क्रमपरिवर्तन दुर्भावनापूर्ण है और x-th ईमानदार है, इस प्रकार प्रतिद्वंद्वी के पास Q\(\gamma\) के लिए x विकल्प हैं। द संक्रमण संभावनाएँ P(x, y) इस प्रकार हैं। • किसी भी y \(\geq\)2 के लिए P(0, 0) = 1 और P(0, y) = 0। अर्थात्, प्रतिद्वंद्वी पहली बार खेल को विफल कर देता है क्रमपरिवर्तन में उपयोगकर्ता ईमानदार हो जाता है। • किसी भी x \(\geq\)2 के लिए P(x, 0) = hx। अर्थात्, संभाव्यता hx के साथ, सभी x यादृच्छिक क्रमपरिवर्तन होते हैं उनके पहले उपयोगकर्ता ईमानदार हैं, इस प्रकार प्रतिद्वंद्वी अगले दौर में खेल को विफल कर देता है। • किसी भी x \(\geq\)2 और y \(\geq\)2 के लिए, P(x, y) संभावना है कि, x यादृच्छिक क्रमपरिवर्तन के बीच Q\(\gamma\) के x विकल्पों से प्रेरित, शुरुआत में दुर्भावनापूर्ण उपयोगकर्ताओं का सबसे लंबा अनुक्रम उनमें से कुछ y −1 है, इस प्रकार प्रतिद्वंद्वी के पास अगले दौर में Q\(\gamma\)+1 के लिए y विकल्प हैं। अर्थात्, पी(एक्स, वाई) = y−1 एक्स मैं=0 (1 −एच)आईएच !x − y−2 एक्स मैं=0 (1 −एच)आईएच !x = (1 −(1 −h)y)x −(1 −(1 −h)y−1)x. ध्यान दें कि अवस्था 0 संक्रमण मैट्रिक्स P और अन्य सभी अवस्थाओं में अद्वितीय अवशोषण अवस्था है x के 0 पर जाने की सकारात्मक संभावना है। हम संख्या k की ऊपरी सीमा तय करने में रुचि रखते हैं मार्कोव श्रृंखला को अत्यधिक संभावना के साथ 0 पर एकत्रित करने के लिए आवश्यक राउंड: यानी, नहीं इससे कोई फर्क नहीं पड़ता कि श्रृंखला किस राज्य से शुरू होती है, इस बात की अत्यधिक संभावना है कि प्रतिद्वंद्वी खेल हार जाए और राउंड r −k पर Qr−1 की भविष्यवाणी करने में विफल रहता है। दो राउंड के बाद संक्रमण मैट्रिक्स P (2) \(\triangleq\)P \(\cdot\) P पर विचार करें। यह देखना आसान है कि P (2)(0, 0) = 1 और किसी भी x \(\geq\)2 के लिए P (2)(0, x) = 0. किसी भी x \(\geq\)2 और y \(\geq\)2 के लिए, जैसे P(0, y) = 0, हमारे पास है पी (2)(एक्स, वाई) = पी(एक्स, 0)पी(0, वाई) + एक्स z\(\geq\)2 पी(एक्स, जेड)पी(जेड, वाई) = एक्स z\(\geq\)2 पी(एक्स, जेड)पी(जेड, वाई).मान लीजिए ¯h \(\triangleq\)1 −h, हमारे पास है P(x, y) = (1 −¯hy−1)x और पी (2)(एक्स, वाई) = एक्स z\(\geq\)2 [(1 −¯hz)x -(1 −¯hz−1)x][(1 −¯hy)z -(1 −¯hy−1)z]। नीचे हम P (2)(x,y) की सीमा की गणना करते हैं पी (एक्स,वाई) जैसे h, 1 पर जाता है—अर्थात, ¯h 0 पर जाता है। ध्यान दें कि उच्चतम P(x, y) में ¯h का क्रम ¯hy−1 है, गुणांक x के साथ। तदनुसार, लिम ज→1 पी (2)(एक्स, वाई) पी(एक्स, वाई) = लिम ¯h \(\to\) 0 पी (2)(एक्स, वाई) पी(एक्स, वाई) = लिम ¯h \(\to\) 0 पी (2)(एक्स, वाई) x¯hy−1 + O(¯hy) = लिम ¯h \(\to\) 0 पी z\(\geq\)2[x¯hz−1 + O(¯hz)][z¯hy−1 + O(¯hy)] x¯hy−1 + O(¯hy) = लिम ¯h \(\to\) 0 2x¯hy + O(¯hy+1) x¯hy−1 + O(¯hy) = लिम ¯h \(\to\) 0 2x¯hy x¯hy−1 = lim ¯h \(\to\) 0 2¯h = 0. जब h पर्याप्त रूप से 1,23 के करीब होता है तो हमारे पास होता है पी (2)(एक्स, वाई) पी(एक्स, वाई) \(\leq\)1 2 किसी भी x \(\geq\)2 और y \(\geq\)2 के लिए। प्रेरण द्वारा, किसी भी k > 2 के लिए, P (k) \(\triangleq\)P k ऐसा है • किसी भी x \(\geq\)2 के लिए P (k)(0, 0) = 1, P (k)(0, x) = 0, और • किसी भी x \(\geq\)2 और y \(\geq\)2 के लिए, P (k)(x, y) = P (k−1)(x, 0)P(0, y) + एक्स z\(\geq\)2 P (k−1)(x, z)P(z, y) = एक्स z\(\geq\)2 P (k−1)(x, z)P(z, y) \(\leq\) एक्स z\(\geq\)2 पी(एक्स, जेड) 2k−2 \(\cdot\) पी(जेड, वाई) = पी (2)(एक्स, वाई) 2k−2 \(\leq\)P(x, y) 2k−1 . चूंकि P(x, y) \(\leq\)1, 1−log2 F राउंड के बाद, किसी भी अवस्था y \(\geq\)2 में संक्रमण की संभावना नगण्य है, किसी भी अवस्था x \(\geq\)2 से शुरू करना। हालाँकि ऐसे कई राज्य हैं, यह देखना आसान है लिम y→+∞ पी(एक्स, वाई) पी(एक्स, वाई + 1) = लिम y→+∞ (1 −¯hy)x -(1 −¯hy−1)x (1 −¯hy+1)x −(1 −¯hy)x = लिम y→+∞ ¯hy−1 −¯hy ¯hy −¯hy+1 = 1 ¯ह = 1 1 −एच. इसलिए संक्रमण मैट्रिक्स P की प्रत्येक पंक्ति x दर के साथ एक ज्यामितीय अनुक्रम के रूप में घटती है 1 1−h > 2 जब y काफी बड़ा हो, और यही बात P (k) के लिए भी लागू होती है। तदनुसार, जब k काफी बड़ा है लेकिन फिर भी लॉग 1/2 एफ, पी के क्रम पर y\(\geq\)2 P (k)(x, y) < F किसी भी x \(\geq\)2 के लिए। यानी अत्यधिक संभावना के साथ प्रतिद्वंद्वी गेम हार जाता है और राउंड r -k पर Qr−1 की भविष्यवाणी करने में विफल रहता है। h \(\in\)(2/3, 1] के लिए, और अधिक जटिल विश्लेषण से पता चलता है कि 1/2 से थोड़ा बड़ा एक स्थिरांक C मौजूद है, जैसे कि यह पर्याप्त है k = O(logC F) लेने के लिए। इस प्रकार लेम्मा 5.6 कायम है। ■ लेम्मा 5.4. (पुनः कहा गया) r से पहले प्रत्येक दौर के लिए गुण 1-3 दिए गए हैं, Lr के लिए ph = h2(1 + h −h2), और नेता \(\ell\)r संभाव्यता के साथ कम से कम ph ईमानदार है। 23 उदाहरण के लिए, h = 80%, जैसा कि मापदंडों के विशिष्ट विकल्पों द्वारा सुझाया गया है।

सबूत. लेम्मा 5.6 के बाद, प्रतिद्वंद्वी राउंड आर -के पर क्यूआर-1 की भविष्यवाणी नहीं कर सकता, सिवाय इसके कि नगण्य संभावना. ध्यान दें कि इसका मतलब यह नहीं है कि एक ईमानदार नेता की संभावना कम है प्रत्येक दौर. दरअसल, Qr−1 दिया गया है, यह इस बात पर निर्भर करता है कि शुरुआत में कितने दुर्भावनापूर्ण उपयोगकर्ता हैं PKr−k के यादृच्छिक क्रमपरिवर्तन से, प्रतिद्वंद्वी के पास Qr और के लिए एक से अधिक विकल्प हो सकते हैं इस प्रकार राउंड आर + 1 में एक दुर्भावनापूर्ण नेता की संभावना बढ़ सकती है - फिर से हम उसे दे रहे हैं लेम्मा 5.6 में कुछ अवास्तविक लाभ, ताकि विश्लेषण को सरल बनाया जा सके। हालाँकि, प्रत्येक Qr−1 के लिए जो राउंड r −k पर प्रतिद्वंद्वी द्वारा H से नहीं पूछा गया था, के लिए कोई भी x \(\geq\)1, प्रायिकता (1 −h)x−1h के साथ पहला ईमानदार उपयोगकर्ता परिणाम में स्थिति x पर होता है PKr−k का यादृच्छिक क्रमपरिवर्तन। जब x = 1, तो राउंड r + 1 में एक ईमानदार नेता की संभावना है वास्तव में ज; जबकि जब x = 2 होता है, तो प्रतिद्वंद्वी के पास Qr के लिए दो विकल्प होते हैं और परिणामी संभावना होती है h2. इन दो मामलों पर विचार करने के बाद ही हमें एक ईमानदार नेता की संभावना का पता चलता है r + 1 इच्छानुसार कम से कम h \(\cdot\) h + (1 −h)h \(\cdot\) h2 = h2(1 + h −h2) है। ध्यान दें कि उपरोक्त संभावना केवल राउंड आर -के से प्रोटोकॉल में यादृच्छिकता पर विचार करती है आर को गोल करने के लिए जब राउंड 0 से राउंड आर तक सभी यादृच्छिकता को ध्यान में रखा जाता है, तो Qr−1 होता है प्रतिद्वंद्वी के लिए पूर्वानुमान और भी कम है और राउंड आर + 1 में एक ईमानदार नेता की संभावना है न्यूनतम h2(1 + h −h2). r + 1 को r से प्रतिस्थापित करना और सभी चीज़ों को एक राउंड पीछे खिसकाना, नेता \(\ell\)r इच्छानुसार कम से कम h2(1 + h −h2) संभाव्यता के साथ ईमानदार है। इसी तरह, प्रत्येक कॉइन-जेनुइनली-फ़्लिप्ड चरण में, उस चरण का "नेता" - वह सत्यापनकर्ता है SV r,s में जिसका क्रेडेंशियल सबसे छोटा hash मान है, कम से कम h2(1 +) संभाव्यता के साथ ईमानदार है h −h2). इस प्रकार Lr के लिए ph = h2(1 + h −h2) और लेम्मा 5.4 कायम है। ■

Algorand ′

\(\text{Algorand}^\prime\)

2 In this section, we construct a version of \(\text{Algorand}^\prime\) working under the following assumption. Honest Majority of Users Assumption: More than 2/3 of the users in each \(PK^r\) are honest. In Section 8, we show how to replace the above assumption with the desired Honest Majority of Money assumption. 6.1 Additional Notations and Parameters for \(\text{Algorand}^\prime\) 2 Notations • \(\mu \in \mathbb{Z}^+\): a pragmatic upper-bound to the number of steps that, with overwhelming probability, will actually taken in one round. (As we shall see, parameter \(\mu\) controls how many ephemeral keys a user prepares in advance for each round.) • \(L_r\): a random variable representing the number of Bernoulli trials needed to see a 1, when each trial is 1 with probability \(\frac{p_h}{2}\). \(L_r\) will be used to upper-bound the time needed to generate block \(B_r\). • \(t_H\): a lower-bound for the number of honest verifiers in a step \(s > 1\) of round \(r\), such that with overwhelming probability (given \(n\) and \(p\)), there are \(> t_H\) honest verifiers in \(SV^{r,s}\). Parameters • Relationships among various parameters. — For each step \(s > 1\) of round \(r\), \(n\) is chosen so that, with overwhelming probability,

\(|HSV^{r,s}| > t_H\) and \(|HSV^{r,s}| + 2|MSV^{r,s}| < 2t_H\). Note that the two inequalities above together imply \(|HSV^{r,s}| > 2|MSV^{r,s}|\): that is, there is a 2/3 honest majority among selected verifiers. The closer to 1 the value of \(h\) is, the smaller \(n\) needs to be. In particular, we use (variants of) Chernoffbounds to ensure the desired conditions hold with overwhelming probability. • Example choices of important parameters. — \(F = 10^{-18}\). — \(n \approx 4{,}000\), \(t_H \approx 0.69n\), \(k = 70\). 6.2 Implementing Ephemeral Keys in \(\text{Algorand}^\prime\) 2 Recall that a verifier \(i \in SV^{r,s}\) digitally signs his message \(m_i^{r,s}\) of step \(s\) in round \(r\), relative to an ephemeral public key \(pk_i^{r,s}\), using an ephemeral secrete key \(sk_i^{r,s}\) that he promptly destroys after using. When the number of possible steps that a round may take is capped by a given integer \(\mu\), we have already seen how to practically handle ephemeral keys. For example, as we have explained in \(\text{Algorand}'_1\) (where \(\mu = m + 3\)), to handle all his possible ephemeral keys, from a round \(r'\) to a round \(r' + 10^6\), \(i\) generates a pair \((PMK, SMK)\), where \(PMK\) public master key of an identity based signature scheme, and \(SMK\) its corresponding secret master key. User \(i\) publicizes \(PMK\) and uses \(SMK\) to generate the secret key of each possible ephemeral public key (and destroys \(SMK\) after having done so). The set of \(i\)'s ephemeral public keys for the relevant rounds is \(S = \{i\} \times \{r', \ldots, r' + 10^6\} \times \{1, \ldots, \mu\}\). (As discussed, as the round \(r' + 10^6\) approaches, \(i\) "refreshes" his pair \((PMK, SMK)\).) In practice, if \(\mu\) is large enough, a round of \(\text{Algorand}'_2\) will not take more than \(\mu\) steps. In principle, however, there is the remote possibility that, for some round \(r\) the number of steps actually taken will exceed \(\mu\). When this happens, \(i\) would be unable to sign his message \(m_i^{r,s}\) for any step \(s > \mu\), because he has prepared in advance only \(\mu\) secret keys for round \(r\). Moreover, he could not prepare and publicize a new stash of ephemeral keys, as discussed before. In fact, to do so, he would need to insert a new public master key \(PMK'\) in a new block. But, should round \(r\) take more and more steps, no new blocks would be generated. However, solutions exist. For instance, \(i\) may use the last ephemeral key of round \(r\), \(pk_i^{r,\mu}\), as follows. He generates another stash of key-pairs for round \(r\) —e.g., by (1) generating another master key pair \((PMK, SMK)\); (2) using this pair to generate another, say, \(10^6\) ephemeral keys, \(sk_i^{r,\mu+1}, \ldots, sk_i^{r,\mu+10^6}\), corresponding to steps \(\mu+1, \ldots, \mu+10^6\) of round \(r\); (3) using \(sk_i^{r,\mu}\) to digitally sign \(PMK\) (and any \((r, \mu)\)-message if \(i \in SV^{r,\mu}\)), relative to \(pk_i^{r,\mu}\); and (4) erasing \(SMK\) and \(sk_i^{r,\mu}\). Should \(i\) become a verifier in a step \(\mu + s\) with \(s \in \{1, \ldots, 10^6\}\), then \(i\) digitally signs his \((r, \mu + s)\)- message \(m_i^{r,\mu+s}\) relative to his new key \(pk_i^{r,\mu+s} = (i, r, \mu + s)\). Of course, to verify this signature of \(i\), others need to be certain that this public key corresponds to \(i\)'s new public master key \(PMK\). Thus, in addition to this signature, \(i\) transmits his digital signature of \(PMK\) relative to \(pk_i^{r,\mu}\). Of course, this approach can be repeated, as many times as necessary, should round \(r\) continue for more and more steps! The last ephemeral secret key is used to authenticate a new master public key, and thus another stash of ephemeral keys for round \(r\). And so on.

6.3 The Actual Protocol \(\text{Algorand}'_2\) Recall again that, in each step \(s\) of a round \(r\), a verifier \(i \in SV^{r,s}\) uses his long-term public-secret key pair to produce his credential, \(\sigma_i^{r,s} \triangleq \text{SIG}_i(r, s, Q^{r-1})\), as well as \(\text{SIG}_i(Q^{r-1})\) in case \(s = 1\). Verifier \(i\) uses his ephemeral key pair, \((pk_i^{r,s}, sk_i^{r,s})\), to sign any other message \(m\) that may be required. For simplicity, we write \(\text{esig}_i(m)\), rather than \(\text{sig}_{pk_i^{r,s}}(m)\), to denote \(i\)'s proper ephemeral signature of \(m\) in this step, and write \(\text{ESIG}_i(m)\) instead of \(\text{SIG}_{pk_i^{r,s}}(m) \triangleq (i, m, \text{esig}_i(m))\). Step 1: Block Proposal Instructions for every user \(i \in PK^{r-k}\): User \(i\) starts his own Step 1 of round \(r\) as soon as he has \(\text{CERT}^{r-1}\), which allows \(i\) to unambiguously compute \(H(B^{r-1})\) and \(Q^{r-1}\). • User \(i\) uses \(Q^{r-1}\) to check whether \(i \in SV^{r,1}\) or not. If \(i \notin SV^{r,1}\), he does nothing for Step 1. • If \(i \in SV^{r,1}\), that is, if \(i\) is a potential leader, then he does the following. (a) If \(i\) has seen \(B^0, \ldots, B^{r-1}\) himself (any \(B^j = B^j_\epsilon\) can be easily derived from its hash value in \(\text{CERT}^j\) and is thus assumed "seen"), then he collects the round-\(r\) payments that have been propagated to him so far and computes a maximal payset \(PAY_i^r\) from them. (b) If \(i\) hasn't seen all \(B^0, \ldots, B^{r-1}\) yet, then he sets \(PAY_i^r = \emptyset\). (c) Next, \(i\) computes his "candidate block" \(B_i^r = (r, PAY_i^r, \text{SIG}_i(Q^{r-1}), H(B^{r-1}))\). (c) Finally, \(i\) computes the message \(m_i^{r,1} = (B_i^r, \text{esig}_i(H(B_i^r)), \sigma_i^{r,1})\), destroys his ephemeral secret key \(sk_i^{r,1}\), and then propagates two messages, \(m_i^{r,1}\) and \((\text{SIG}_i(Q^{r-1}), \sigma_i^{r,1})\), separately but simultaneously.a aWhen \(i\) is the leader, \(\text{SIG}_i(Q^{r-1})\) allows others to compute \(Q^r = H(\text{SIG}_i(Q^{r-1}), r)\).

Selective Propagation To shorten the global execution of Step 1 and the whole round, it is important that the \((r, 1)\)- messages are selectively propagated. That is, for every user \(j\) in the system, • For the first \((r, 1)\)-message that he ever receives and successfully verifies,a whether it contains a block or is just a credential and a signature of \(Q^{r-1}\), player \(j\) propagates it as usual. • For all the other \((r, 1)\)-messages that player \(j\) receives and successfully verifies, he propagates it only if the hash value of the credential it contains is the smallest among the hash values of the credentials contained in all \((r, 1)\)-messages he has received and successfully verified so far. • However, if \(j\) receives two different messages of the form \(m_i^{r,1}\) from the same player \(i\),b he discards the second one no matter what the hash value of \(i\)'s credential is. Note that, under selective propagation it is useful that each potential leader \(i\) propagates his credential \(\sigma_i^{r,1}\) separately from \(m_i^{r,1}\):c those small messages travel faster than blocks, ensure timely propagation of the \(m_i^{r,1}\)'s where the contained credentials have small hash values, while make those with large hash values disappear quickly. aThat is, all the signatures are correct and, if it is of the form \(m_i^{r,1}\), both the block and its hash are valid —although \(j\) does not check whether the included payset is maximal for \(i\) or not. bWhich means \(i\) is malicious. cWe thank Georgios Vlachos for suggesting this.

Step 2: The First Step of the Graded Consensus Protocol GC Instructions for every user \(i \in PK^{r-k}\): User \(i\) starts his own Step 2 of round \(r\) as soon as he has \(\text{CERT}^{r-1}\). • User \(i\) waits a maximum amount of time \(t_2 \triangleq \lambda + \Lambda\). While waiting, \(i\) acts as follows. 1. After waiting for time \(2\lambda\), he finds the user \(\ell\) such that \(H(\sigma_\ell^{r,1}) \leq H(\sigma_j^{r,1})\) for all credentials \(\sigma_j^{r,1}\) that are part of the successfully verified \((r, 1)\)-messages he has received so far.a 2. If he has received a block \(B^{r-1}\), which matches the hash value \(H(B^{r-1})\) contained in \(\text{CERT}^{r-1}\),b and if he has received from \(\ell\) a valid message $m_\ell^{r,1} = (B_\ell^r, \text{esig}\ell(H(B\ell^r)), \sigma_\ell^{r,1})\(,c then \)i\( stops waiting and sets \)v'i \triangleq (H(B\ell^r), \ell)$. 3. Otherwise, when time \(t_2\) runs out, \(i\) sets \(v'_i \triangleq \bot\). 4. When the value of \(v'_i\) has been set, \(i\) computes \(Q^{r-1}\) from \(\text{CERT}^{r-1}\) and checks whether \(i \in SV^{r,2}\) or not. 5. If \(i \in SV^{r,2}\), \(i\) computes the message \(m_i^{r,2} \triangleq (\text{ESIG}_i(v'_i), \sigma_i^{r,2})\),d destroys his ephemeral secret key \(sk_i^{r,2}\), and then propagates \(m_i^{r,2}\). Otherwise, \(i\) stops without propagating anything. aEssentially, user \(i\) privately decides that the leader of round \(r\) is user \(\ell\). bOf course, if \(\text{CERT}^{r-1}\) indicates that \(B^{r-1} = B^{r-1}_\epsilon\), then \(i\) has already "received" \(B^{r-1}\) the moment he has \(\text{CERT}^{r-1}\). cAgain, player \(\ell\)'s signatures and the hashes are all successfully verified, and \(PAY_\ell^r\) in \(B_\ell^r\) is a valid payset for round \(r\) —although \(i\) does not check whether \(PAY_\ell^r\) is maximal for \(\ell\) or not. If \(B_\ell^r\) contains an empty payset, then there is actually no need for \(i\) to see \(B^{r-1}\) before verifying whether \(B_\ell^r\) is valid or not. dThe message \(m_i^{r,2}\) signals that player \(i\) considers the first component of \(v'_i\) to be the hash of the next block, or considers the next block to be empty.

Step 3: The Second Step of GC Instructions for every user \(i \in PK^{r-k}\): User \(i\) starts his own Step 3 of round \(r\) as soon as he has \(\text{CERT}^{r-1}\). • User \(i\) waits a maximum amount of time \(t_3 \triangleq t_2 + 2\lambda = 3\lambda + \Lambda\). While waiting, \(i\) acts as follows. 1. If there exists a value \(v\) such that he has received at least \(t_H\) valid messages \(m_j^{r,2}\) of the form \((\text{ESIG}_j(v), \sigma_j^{r,2})\), without any contradiction,a then he stops waiting and sets \(v' = v\). 2. Otherwise, when time \(t_3\) runs out, he sets \(v' = \bot\). 3. When the value of \(v'\) has been set, \(i\) computes \(Q^{r-1}\) from \(\text{CERT}^{r-1}\) and checks whether \(i \in SV^{r,3}\) or not. 4. If \(i \in SV^{r,3}\), then \(i\) computes the message \(m_i^{r,3} \triangleq (\text{ESIG}_i(v'), \sigma_i^{r,3})\), destroys his ephemeral secret key \(sk_i^{r,3}\), and then propagates \(m_i^{r,3}\). Otherwise, \(i\) stops without propagating anything. aThat is, he has not received two valid messages containing \(\text{ESIG}_j(v)\) and a different \(\text{ESIG}_j(\hat{v})\) respectively, from a player \(j\). Here and from here on, except in the Ending Conditions defined later, whenever an honest player wants messages of a given form, messages contradicting each other are never counted or considered valid.

Step 4: Output of GC and The First Step of \(\text{BBA}^\star\) Instructions for every user \(i \in PK^{r-k}\): User \(i\) starts his own Step 4 of round \(r\) as soon as he finishes his own Step 3. • User \(i\) waits a maximum amount of time \(2\lambda\).a While waiting, \(i\) acts as follows. 1. He computes \(v_i\) and \(g_i\), the output of GC, as follows. (a) If there exists a value \(v' \neq \bot\) such that he has received at least \(t_H\) valid messages \(m_j^{r,3} = (\text{ESIG}_j(v'), \sigma_j^{r,3})\), then he stops waiting and sets \(v_i \triangleq v'\) and \(g_i \triangleq 2\). (b) If he has received at least \(t_H\) valid messages \(m_j^{r,3} = (\text{ESIG}_j(\bot), \sigma_j^{r,3})\), then he stops waiting and sets \(v_i \triangleq \bot\) and \(g_i \triangleq 0\).b (c) Otherwise, when time \(2\lambda\) runs out, if there exists a value \(v' \neq \bot\) such that he has received at least \(\lceil \frac{t_H}{2} \rceil\) valid messages \(m_j^{r,3} = (\text{ESIG}_j(v'), \sigma_j^{r,3})\), then he sets \(v_i \triangleq v'\) and \(g_i \triangleq 1\).c (d) Else, when time \(2\lambda\) runs out, he sets \(v_i \triangleq \bot\) and \(g_i \triangleq 0\). 2. When the values \(v_i\) and \(g_i\) have been set, \(i\) computes \(b_i\), the input of \(\text{BBA}^\star\), as follows: \(b_i \triangleq 0\) if \(g_i = 2\), and \(b_i \triangleq 1\) otherwise. 3. \(i\) computes \(Q^{r-1}\) from \(\text{CERT}^{r-1}\) and checks whether \(i \in SV^{r,4}\) or not. 4. If \(i \in SV^{r,4}\), he computes the message \(m_i^{r,4} \triangleq (\text{ESIG}_i(b_i), \text{ESIG}_i(v_i), \sigma_i^{r,4})\), destroys his ephemeral secret key \(sk_i^{r,4}\), and propagates \(m_i^{r,4}\). Otherwise, \(i\) stops without propagating anything. aThus, the maximum total amount of time since \(i\) starts his Step 1 of round \(r\) could be \(t_4 \triangleq t_3 + 2\lambda = 5\lambda + \Lambda\). bWhether Step (b) is in the protocol or not does not affect its correctness. However, the presence of Step (b) allows Step 4 to end in less than \(2\lambda\) time if sufficiently many Step-3 verifiers have "signed \(\bot\)." cIt can be proved that the \(v'\) in this case, if exists, must be unique.

Step \(s\), \(5 \leq s \leq m + 2\), \(s - 2 \equiv 0 \mod 3\): A Coin-Fixed-To-0 Step of \(\text{BBA}^\star\) Instructions for every user \(i \in PK^{r-k}\): User \(i\) starts his own Step \(s\) of round \(r\) as soon as he finishes his own Step \(s - 1\). • User \(i\) waits a maximum amount of time \(2\lambda\).a While waiting, \(i\) acts as follows. – Ending Condition 0: If at any point there exists a string \(v \neq \bot\) and a step \(s'\) such that (a) \(5 \leq s' \leq s\), \(s' - 2 \equiv 0 \mod 3\) —that is, Step \(s'\) is a Coin-Fixed-To-0 step, (b) \(i\) has received at least \(t_H\) valid messages \(m_j^{r,s'-1} = (\text{ESIG}_j(0), \text{ESIG}_j(v), \sigma_j^{r,s'-1})\),b and (c) \(i\) has received a valid message \((\text{SIG}_j(Q^{r-1}), \sigma_j^{r,1})\) with \(j\) being the second component of \(v\), then, \(i\) stops waiting and ends his own execution of Step \(s\) (and in fact of round \(r\)) right away without propagating anything as a \((r, s)\)-verifier; sets \(H(B^r)\) to be the first component of \(v\); and sets his own \(\text{CERT}^r\) to be the set of messages \(m_j^{r,s'-1}\) of step (b) together with \((\text{SIG}_j(Q^{r-1}), \sigma_j^{r,1})\).c – Ending Condition 1: If at any point there exists a step \(s'\) such that (a') \(6 \leq s' \leq s\), \(s' - 2 \equiv 1 \mod 3\) —that is, Step \(s'\) is a Coin-Fixed-To-1 step, and (b') \(i\) has received at least \(t_H\) valid messages $m_j^{r,s'-1} = (\text{ESIG}j(1), \text{ESIG}_j(v_j), \sigma_j^{r,s'-1})$,d then, \(i\) stops waiting and ends his own execution of Step \(s\) (and in fact of round \(r\)) right away without propagating anything as a \((r, s)\)-verifier; sets \(B^r = B^r_\epsilon\); and sets his own \(\text{CERT}^r\) to be the set of messages \(m_j^{r,s'-1}\) of sub-step (b'). – If at any point he has received at least \(t_H\) valid \(m_j^{r,s-1}\)'s of the form \((\text{ESIG}_j(1), \text{ESIG}_j(v_j), \sigma_j^{r,s-1})\), then he stops waiting and sets \(b_i \triangleq 1\). – If at any point he has received at least \(t_H\) valid \(m_j^{r,s-1}\)'s of the form \((\text{ESIG}_j(0), \text{ESIG}_j(v_j), \sigma_j^{r,s-1})\), but they do not agree on the same \(v\), then he stops waiting and sets \(b_i \triangleq 0\). – Otherwise, when time \(2\lambda\) runs out, \(i\) sets \(b_i \triangleq 0\). – When the value \(b_i\) has been set, \(i\) computes \(Q^{r-1}\) from \(\text{CERT}^{r-1}\) and checks whether \(i \in SV^{r,s}\). – If \(i \in SV^{r,s}\), \(i\) computes the message \(m_i^{r,s} \triangleq (\text{ESIG}_i(b_i), \text{ESIG}_i(v_i), \sigma_i^{r,s})\) with \(v_i\) being the value he has computed in Step 4, destroys his ephemeral secret key \(sk_i^{r,s}\), and then propagates \(m_i^{r,s}\). Otherwise, \(i\) stops without propagating anything. aThus, the maximum total amount of time since \(i\) starts his Step 1 of round \(r\) could be $t_s \triangleq t + 2\lambda = (2s - 3)\lambda + \Lambda$. bSuch a message from player \(j\) is counted even if player \(i\) has also received a message from \(j\) signing for 1. Similar things for Ending Condition 1. As shown in the analysis, this is to ensure that all honest users know \(\text{CERT}^r\) within time \(\lambda\) from each other. cUser \(i\) now knows \(H(B^r)\) and his own round \(r\) finishes. He just needs to wait until the actually block \(B^r\) is propagated to him, which may take some additional time. He still helps propagating messages as a generic user, but does not initiate any propagation as a \((r, s)\)-verifier. In particular, he has helped propagating all messages in his \(\text{CERT}^r\), which is enough for our protocol. Note that he should also set \(b_i \triangleq 0\) for the binary BA protocol, but \(b_i\) is not needed in this case anyway. Similar things for all future instructions. dIn this case, it does not matter what the \(v_j\)'s are. 65

Step \(s\), \(6 \leq s \leq m + 2\), \(s - 2 \equiv 1 \mod 3\): A Coin-Fixed-To-1 Step of \(\text{BBA}^\star\) Instructions for every user \(i \in PK^{r-k}\): User \(i\) starts his own Step \(s\) of round \(r\) as soon as he finishes his own Step \(s - 1\). • User \(i\) waits a maximum amount of time \(2\lambda\). While waiting, \(i\) acts as follows. – Ending Condition 0: The same instructions as in a Coin-Fixed-To-0 step. – Ending Condition 1: The same instructions as in a Coin-Fixed-To-0 step. – If at any point he has received at least \(t_H\) valid \(m_j^{r,s-1}\)'s of the form \((\text{ESIG}_j(0), \text{ESIG}_j(v_j), \sigma_j^{r,s-1})\), then he stops waiting and sets \(b_i \triangleq 0\).a – Otherwise, when time \(2\lambda\) runs out, \(i\) sets \(b_i \triangleq 1\). – When the value \(b_i\) has been set, \(i\) computes \(Q^{r-1}\) from \(\text{CERT}^{r-1}\) and checks whether \(i \in SV^{r,s}\). – If \(i \in SV^{r,s}\), \(i\) computes the message \(m_i^{r,s} \triangleq (\text{ESIG}_i(b_i), \text{ESIG}_i(v_i), \sigma_i^{r,s})\) with \(v_i\) being the value he has computed in Step 4, destroys his ephemeral secret key \(sk_i^{r,s}\), and then propagates \(m_i^{r,s}\). Otherwise, \(i\) stops without propagating anything. aNote that receiving \(t_H\) valid \((r, s - 1)\)-messages signing for 1 would mean Ending Condition 1. Step \(s\), \(7 \leq s \leq m + 2\), \(s - 2 \equiv 2 \mod 3\): A Coin-Genuinely-Flipped Step of \(\text{BBA}^\star\) Instructions for every user \(i \in PK^{r-k}\): User \(i\) starts his own Step \(s\) of round \(r\) as soon as he finishes his own step \(s - 1\). • User \(i\) waits a maximum amount of time \(2\lambda\). While waiting, \(i\) acts as follows. – Ending Condition 0: The same instructions as in a Coin-Fixed-To-0 step. – Ending Condition 1: The same instructions as in a Coin-Fixed-To-0 step. – If at any point he has received at least \(t_H\) valid \(m_j^{r,s-1}\)'s of the form \((\text{ESIG}_j(0), \text{ESIG}_j(v_j), \sigma_j^{r,s-1})\), then he stops waiting and sets \(b_i \triangleq 0\). – If at any point he has received at least \(t_H\) valid \(m_j^{r,s-1}\)'s of the form \((\text{ESIG}_j(1), \text{ESIG}_j(v_j), \sigma_j^{r,s-1})\), then he stops waiting and sets \(b_i \triangleq 1\). – Otherwise, when time \(2\lambda\) runs out, letting \(SV_i^{r,s-1}\) be the set of \((r, s - 1)\)-verifiers from whom he has received a valid message \(m_j^{r,s-1}\), \(i\) sets \(b_i \triangleq \text{lsb}(\min_{j \in SV_i^{r,s-1}} H(\sigma_j^{r,s-1}))\). – When the value \(b_i\) has been set, \(i\) computes \(Q^{r-1}\) from \(\text{CERT}^{r-1}\) and checks whether \(i \in SV^{r,s}\). – If \(i \in SV^{r,s}\), \(i\) computes the message \(m_i^{r,s} \triangleq (\text{ESIG}_i(b_i), \text{ESIG}_i(v_i), \sigma_i^{r,s})\) with \(v_i\) being the value he has computed in Step 4, destroys his ephemeral secret key \(sk_i^{r,s}\), and then propagates \(m_i^{r,s}\). Otherwise, \(i\) stops without propagating anything. Remark. In principle, as considered in subsection 6.2, the protocol may take arbitrarily many steps in some round. Should this happens, as discussed, a user \(i \in SV^{r,s}\) with \(s > \mu\) has exhausted

his stash of pre-generated ephemeral keys and has to authenticate his \((r, s)\)-message \(m_i^{r,s}\) by a "cascade" of ephemeral keys. Thus \(i\)'s message becomes a bit longer and transmitting these longer messages will take a bit more time. Accordingly, after so many steps of a given round, the value of the parameter \(\lambda\) will automatically increase slightly. (But it reverts to the original \(\lambda\) once a new block is produced and a new round starts.) Reconstruction of the Round-\(r\) Block by Non-Verifiers Instructions for every user \(i\) in the system: User \(i\) starts his own round \(r\) as soon as he has \(\text{CERT}^{r-1}\). • \(i\) follows the instructions of each step of the protocol, participates the propagation of all messages, but does not initiate any propagation in a step if he is not a verifier in it. • \(i\) ends his own round \(r\) by entering either Ending Condition 0 or Ending Condition 1 in some step, with the corresponding \(\text{CERT}^r\). • From there on, he starts his round \(r + 1\) while waiting to receive the actual block \(B^r\) (unless he has already received it), whose hash \(H(B^r)\) has been pinned down by \(\text{CERT}^r\). Again, if \(\text{CERT}^r\) indicates that \(B^r = B^r_\epsilon\), the \(i\) knows \(B^r\) the moment he has \(\text{CERT}^r\). 6.4 Analysis of \(\text{Algorand}'_2\) The analysis of \(\text{Algorand}'_2\) is easily derived from that of \(\text{Algorand}'_1\). Essentially, in \(\text{Algorand}'_2\), with overwhelming probability, (a) all honest users agree on the same block \(B^r\); the leader of a new block is honest with probability at least \(p_h = h^2(1 + h - h^2)\).

Algorand '

2 इस खंड में, हम निम्नलिखित धारणा के तहत काम करते हुए Algorand ' का एक संस्करण बनाते हैं। अधिकांश उपयोगकर्ता ईमानदार हैं। धारणा: प्रत्येक पीकेआर में 2/3 से अधिक उपयोगकर्ता ईमानदार हैं। धारा 8 में, हम दिखाते हैं कि उपरोक्त धारणा को वांछित ईमानदार बहुमत से कैसे बदला जाए धन संबंधी धारणा. 6.1 Algorand के लिए अतिरिक्त नोटेशन और पैरामीटर 2 संकेतन • \(\mu\) \(\in\)Z+: चरणों की संख्या के लिए एक व्यावहारिक ऊपरी सीमा, जो अत्यधिक संभावना के साथ, वास्तव में एक राउंड में लिया जाएगा। (जैसा कि हम देखेंगे, पैरामीटर \(\mu\) कितने अल्पकालिक को नियंत्रित करता है उपयोगकर्ता प्रत्येक दौर के लिए पहले से कुंजी तैयार करता है।) • एलआर: एक यादृच्छिक चर जो प्रत्येक को 1 देखने के लिए आवश्यक बर्नौली परीक्षणों की संख्या का प्रतिनिधित्व करता है प्रायिकता ph के साथ परीक्षण 1 है 2 . एलआर का उपयोग उत्पन्न करने के लिए आवश्यक समय को ऊपरी सीमा में करने के लिए किया जाएगा ब्लॉक ब्र. • वें: राउंड आर के चरण एस > 1 में ईमानदार सत्यापनकर्ताओं की संख्या के लिए निचली सीमा, जैसे कि अत्यधिक संभावना (एन और पी को देखते हुए), एसवी आर, एस में > वें ईमानदार सत्यापनकर्ता हैं। पैरामीटर्स • विभिन्न मापदंडों के बीच संबंध। - राउंड आर के प्रत्येक चरण s > 1 के लिए, n को चुना गया है ताकि, अत्यधिक संभावना के साथ,

|एचएसवी आर,एस| > वें और |एचएसवी आर,एस| + 2|एमएसवी आर,एस| <2टीएच. ध्यान दें कि उपरोक्त दोनों असमानताएँ एक साथ |HSV r,s| दर्शाती हैं > 2|एमएसवी आर,एस|: यानी, वहाँ चयनित सत्यापनकर्ताओं के बीच 2/3 ईमानदार बहुमत है। h का मान 1 के जितना करीब होगा, n उतना ही छोटा होना चाहिए। विशेष रूप से, हम (वेरिएंट) का उपयोग करते हैं का) चेर्नोफ़िबाउंड यह सुनिश्चित करने के लिए कि वांछित स्थितियाँ अत्यधिक संभावना के साथ बनी रहें। • महत्वपूर्ण मापदंडों के उदाहरण विकल्प। — एफ = 10−18. - n \(\approx\)4000, th \(\approx\)0.69n, k = 70. 6.2 Algorand में अल्पकालिक कुंजियाँ लागू करना 2 याद रखें कि एक सत्यापनकर्ता i\(\in\)SV r,s डिजिटल रूप से अपने संदेश पर हस्ताक्षर करता है mr,s मैं राउंड आर में चरण एस के सापेक्ष एक अल्पकालिक सार्वजनिक कुंजी पीकेआर,एस मैं, एक क्षणिक गुप्त कुंजी skr,s का उपयोग कर रहा हूँ मैं जिसे वह तुरंत नष्ट कर देता है उपयोग करने के बाद. जब एक राउंड में उठाए जाने वाले संभावित कदमों की संख्या किसी दिए गए द्वारा सीमित हो जाती है पूर्णांक \(\mu\), हम पहले ही देख चुके हैं कि अल्पकालिक कुंजियों को व्यावहारिक रूप से कैसे संभालना है। उदाहरण के लिए, जैसे हम Algorand में समझाया है'' 1 (जहाँ \(\mu\) = m + 3), उसकी सभी संभावित क्षणिक कुंजियों को संभालने के लिए, से एक राउंड आर' से एक राउंड आर' + 106, मैं एक जोड़ी (पीएमके, एसएमके) उत्पन्न करता हूं, जहां पीएमके सार्वजनिक मास्टर है पहचान आधारित हस्ताक्षर योजना की कुंजी, और एसएमके इसकी संबंधित गुप्त मास्टर कुंजी। उपयोगकर्ता मैं पीएमके का प्रचार करता है और प्रत्येक संभावित अल्पकालिक सार्वजनिक कुंजी की गुप्त कुंजी उत्पन्न करने के लिए एसएमके का उपयोग करता है (और ऐसा करने के बाद SMK को नष्ट कर देता है)। प्रासंगिक के लिए i की अल्पकालिक सार्वजनिक कुंजियों का सेट राउंड S = {i} \(\times\) {r', है। . . , आर' + 106} \(\times\) {1, . . . , \(\mu\)}. (जैसा कि चर्चा की गई है, जैसे-जैसे राउंड आर' + 106 करीब आता है, मैं उसकी जोड़ी (पीएमके, एसएमके) को "ताज़ा" करता हूं।) व्यवहार में, यदि \(\mu\) पर्याप्त बड़ा है, तो Algorand ′ का एक चक्र 2 \(\mu\) कदम से अधिक नहीं लगेगा। में सिद्धांत रूप में, हालाँकि, इस बात की बहुत कम संभावना है कि, कुछ राउंड के लिए चरणों की संख्या होगी वास्तव में लिया गया \(\mu\) से अधिक होगा। जब ऐसा होगा तो मैं उनके संदेश पर हस्ताक्षर नहीं कर पाऊंगा श्रीमान मैं के लिए कोई भी चरण s > \(\mu\), क्योंकि उसने राउंड आर के लिए केवल \(\mu\) गुप्त कुंजियाँ पहले से तैयार कर रखी हैं। इसके अलावा, वह जैसा कि पहले चर्चा की गई थी, अल्पकालिक कुंजियों का एक नया भंडार तैयार और प्रचारित नहीं किया जा सका। वास्तव में, करने के लिए इसलिए, उसे एक नए ब्लॉक में एक नई सार्वजनिक मास्टर कुंजी PMK′ डालने की आवश्यकता होगी। लेकिन, आर को गोल करना चाहिए अधिक से अधिक कदम उठाएं, कोई नया ब्लॉक उत्पन्न नहीं होगा। हालाँकि, समाधान मौजूद हैं। उदाहरण के लिए, मैं राउंड आर, पीकेआर,\(\mu\) की अंतिम क्षणिक कुंजी का उपयोग कर सकता हूं मैं , इस प्रकार. वह राउंड आर के लिए कुंजी-जोड़ियों का एक और भंडार उत्पन्न करता है - उदाहरण के लिए, (1) एक और उत्पन्न करके मास्टर कुंजी जोड़ी (पीएमके, एसएमके); (2) इस जोड़ी का उपयोग अन्य, मान लीजिए, 106 क्षणिक कुंजियाँ उत्पन्न करने के लिए, एसके आर,\(\mu\)+1 मैं , . . . , एसके आर,\(\mu\)+106 मैं , राउंड आर के चरण \(\mu\)+1, ..., \(\mu\)+106 के अनुरूप; (3) skr,\(\mu\) का उपयोग करना मैं डिजिटल रूप से पीएमके पर हस्ताक्षर करें (और कोई (आर, \(\mu\))-संदेश यदि मैं \(\in\)एसवी आर,\(\mu\)), पीकेआर,\(\mu\) के सापेक्ष मैं ; और (4) SMK और skr,\(\mu\) को मिटाना मैं . क्या मुझे s \(\in\){1, के साथ \(\mu\) + s चरण में एक सत्यापनकर्ता बनना चाहिए। . . , 106}, फिर मैं डिजिटल रूप से उसके (आर, \(\mu\) + एस) पर हस्ताक्षर करता हूं - संदेश श्री,\(\mu\)+s मैं उसकी नई कुंजी पीके के सापेक्ष आर,\(\mu\)+एस मैं = (i, r, \(\mu\) + s). बेशक, इस हस्ताक्षर को सत्यापित करने के लिए मैं, अन्य लोगों को यह सुनिश्चित करने की आवश्यकता है कि यह सार्वजनिक कुंजी मेरी नई सार्वजनिक मास्टर कुंजी पीएमके से मेल खाती है। इस प्रकार, इस हस्ताक्षर के अलावा, मैं पीकेआर,\(\mu\) के सापेक्ष पीएमके के अपने डिजिटल हस्ताक्षर प्रसारित करता हूं मैं . बेशक, इस दृष्टिकोण को दोहराया जा सकता है, जितनी बार आवश्यक हो, राउंड आर जारी रहना चाहिए अधिक से अधिक चरणों के लिए! अंतिम अल्पकालिक गुप्त कुंजी का उपयोग नए मास्टर पब्लिक को प्रमाणित करने के लिए किया जाता है कुंजी, और इस प्रकार राउंड आर के लिए क्षणिक कुंजियों का एक और भंडार। और इसी तरह।6.3 वास्तविक प्रोटोकॉल Algorand ' 2 फिर से याद करें कि, राउंड आर के प्रत्येक चरण में, एक सत्यापनकर्ता i \(\in\)SV r,s अपने दीर्घकालिक सार्वजनिक-गुप्त का उपयोग करता है उसकी साख, \(\sigma\)r,s बनाने के लिए कुंजी जोड़ी मैं \(\triangleq\)SIGi(r, s, Qr−1), साथ ही SIGi Qr−1 मामले में एस = 1. सत्यापनकर्ता मैं उसकी क्षणिक कुंजी जोड़ी, (पीकेआर, एस) का उपयोग करता हूं मैं , एसकेआर,एस i ), किसी अन्य संदेश पर हस्ताक्षर करने के लिए m जो हो सकता है आवश्यक. सरलता के लिए, हम sigpkr,s के बजाय esigi(m) लिखते हैं i (m), i के उचित क्षणभंगुर को दर्शाने के लिए इस चरण में m का हस्ताक्षर करें, और SIGpkr,s के स्थान पर ESIGi(m) लिखें i (m) \(\triangleq\)(i, m, esigi(m)). चरण 1: प्रस्ताव को ब्लॉक करें प्रत्येक उपयोगकर्ता i \(\in\)PKr−k के लिए निर्देश: उपयोगकर्ता i जैसे ही राउंड आर का अपना पहला चरण शुरू करता है CERT r−1, जो मुझे स्पष्ट रूप से H(Br−1) और Qr−1 की गणना करने की अनुमति देता है। • उपयोगकर्ता i यह जांचने के लिए Qr−1 का उपयोग करता है कि i \(\in\)SV r,1 है या नहीं। यदि i /\(\in\)SV r,1, तो वह चरण 1 के लिए कुछ नहीं करता है। • यदि i \(\in\)SV r,1, अर्थात, यदि मैं एक संभावित नेता है, तो वह निम्नलिखित कार्य करता है। (ए) अगर मैंने बी0 देखा है। . . , Br−1 स्वयं (कोई भी Bj = Bj ǫ को इसके hash मान से आसानी से प्राप्त किया जा सकता है सीईआरटी जे में और इस प्रकार इसे "देखा गया" माना जाता है), फिर वह राउंड-आर भुगतान एकत्र करता है अब तक उसे प्रचारित किया गया है और अधिकतम भुगतान सेट PAY r की गणना की गई है मैं उनसे. (बी) यदि मैंने सभी B0 नहीं देखे हैं। . . , Br−1 अभी तक, फिर वह PAY r सेट करता है मैं = \(\emptyset\). (सी) इसके बाद, मैं उसके "उम्मीदवार ब्लॉक" ब्र की गणना करता हूं मैं = (आर, भुगतान आर i , SIGi(Qr−1), H(Br−1)). (सी) अंत में, मैं संदेश की गणना करता हूं श्रीमान, 1 मैं = (ब्र मैं , ईएसजीआई(एच(बीआर मैं )), \(\sigma\)r,1 i ), उसके क्षणभंगुर को नष्ट कर देता है गुप्त कुंजी skr,1 i , और फिर दो संदेश प्रसारित करता है, श्रीमान,1 मैं और (SIGi(Qr−1), \(\sigma\)r,1 मैं ), अलग-अलग लेकिन एक साथ.ए जब मैं नेता होता हूं, तो SIGi(Qr−1) दूसरों को Qr = H(SIGi(Qr−1), r) की गणना करने की अनुमति देता है।

चयनात्मक प्रचार चरण 1 और पूरे दौर के वैश्विक निष्पादन को छोटा करने के लिए, यह महत्वपूर्ण है कि (आर, 1)- संदेशों को चुनिंदा तरीके से प्रचारित किया जाता है। अर्थात्, सिस्टम में प्रत्येक उपयोगकर्ता j के लिए, • पहले के लिए (आर, 1)-संदेश जिसे वह कभी प्राप्त करता है और सफलतापूर्वक सत्यापित करता है, क्या इसमें शामिल है एक ब्लॉक या सिर्फ एक क्रेडेंशियल और Qr−1 का हस्ताक्षर है, प्लेयर j इसे हमेशा की तरह प्रचारित करता है। • अन्य सभी (आर, 1)-संदेशों के लिए जो खिलाड़ी जे प्राप्त करता है और सफलतापूर्वक सत्यापित करता है, वह प्रचारित करता है यह केवल तभी होगा जब इसमें शामिल क्रेडेंशियल का hash मान hash मानों में सबसे छोटा हो सभी (आर, 1)-संदेशों में निहित क्रेडेंशियल्स में से उसे प्राप्त किया गया है और सफलतापूर्वक सत्यापित किया गया है दूर. हालाँकि, यदि j को mr,1 फॉर्म के दो अलग-अलग संदेश प्राप्त होते हैं मैं एक ही खिलाड़ी से i,b he दूसरे को खारिज कर देता है, चाहे मेरे क्रेडेंशियल का hash मान कुछ भी हो। ध्यान दें कि, चयनात्मक प्रचार के तहत यह उपयोगी है कि प्रत्येक संभावित नेता अपना प्रचार करे क्रेडेंशियल \(\sigma\)r,1 मैं श्रीमान से अलग,1 मैं :c वे छोटे संदेश ब्लॉकों की तुलना में तेजी से यात्रा करते हैं, सुनिश्चित करें श्रीमान् का समय पर प्रचार-प्रसार,1 i वह जगह है जहां निहित क्रेडेंशियल में छोटे hash मान हैं, जबकि बड़े hash मानों को तुरंत गायब कर दें। अर्थात्, सभी हस्ताक्षर सही हैं और, यदि यह श्रीमान, 1 के रूप में है i, ब्लॉक और उसके hash दोनों वैध हैं -हालाँकि j यह जाँच नहीं करता है कि शामिल भुगतान सेट i के लिए अधिकतम है या नहीं। bजिसका अर्थ है कि मैं दुर्भावनापूर्ण हूं। हम यह सुझाव देने के लिए जॉर्जियोस व्लाचोस को धन्यवाद देते हैं।चरण 2: ग्रेडेड सर्वसम्मति प्रोटोकॉल जीसी का पहला चरण प्रत्येक उपयोगकर्ता i \(\in\)PKr−k के लिए निर्देश: उपयोगकर्ता i जैसे ही राउंड आर का अपना चरण 2 शुरू करता है CERT r−1. • उपयोगकर्ता i अधिकतम समय t2 \(\triangleq\) \(\lambda\) + Λ प्रतीक्षा करता है। प्रतीक्षा करते समय, मैं निम्नानुसार कार्य करता हूँ। 1. समय 2\(\lambda\) की प्रतीक्षा करने के बाद, वह उपयोगकर्ता को ढूंढता है \(\ell\)जैसे कि H(\(\sigma\)r,1) \(\ell\)) \(\leq\)H(\(\sigma\)r,1 जे ) सभी के लिए क्रेडेंशियल्स \(\sigma\)r,1 जे जो उसे प्राप्त सफलतापूर्वक सत्यापित (आर, 1)-संदेशों का हिस्सा हैं अब तक.ए 2. यदि वह है प्राप्त ए ब्लॉक ब्र−1, जो मेल खाता है द hash मूल्य एच(बीआर−1) CERT r−1,b में निहित है और यदि उसे \(\ell\)a वैध संदेश mr,1 से प्राप्त हुआ है \(\ell\) = (ब्र \(\ell\), esig\(\ell\)(H(Br \(\ell\))), \(\sigma\)r,1 \(\ell\)),c फिर मैं प्रतीक्षा करना बंद कर देता हूं और v′ सेट करता हूं मैं \(\triangleq\)(एच(ब्र \(\ell\)), \(\ell\)). 3. अन्यथा, जब समय t2 समाप्त हो जाता है, तो मैं v' सेट करता हूं मैं \(\triangleq\) \(\bot\). 4. जब v' का मान i सेट कर दिया गया है, मैं CERT r−1 से Qr−1 की गणना करता हूं और जांचता हूं कि क्या i \(\in\)SV r,2 या नहीं। 5. यदि i \(\in\)SV r,2, तो मैं संदेश mr,2 की गणना करता हूं मैं \(\triangleq\)(ESIGi(v′ मैं), \(\sigma\)r,2 i ),d उसके क्षणभंगुर को नष्ट कर देता है गुप्त कुंजी skr,2 i , और फिर श्रीमान,2 का प्रचार करता है मैं . अन्यथा, मैं बिना प्रचार किये ही रुक जाता हूँ कुछ भी. अनिवार्य रूप से, उपयोगकर्ता i निजी तौर पर निर्णय लेता है कि राउंड आर का नेता उपयोगकर्ता \(\ell\) है। बेशक, यदि CERT r−1 इंगित करता है कि Br−1 = Br−1 .. , तो मुझे वह क्षण पहले ही "प्राप्त" हो चुका है CERT r−1. फिर, खिलाड़ी \(\ell\) के हस्ताक्षर और hashes सभी सफलतापूर्वक सत्यापित हैं, और भुगतान करें \(\ell\)ब्र में \(\ell\)के लिए एक वैध भुगतान सेट है राउंड आर - हालाँकि मैं यह जाँच नहीं करता कि PAY r है या नहीं \(\ell\)के लिए अधिकतम है या नहीं। यदि ब्र \(\ell\)तब इसमें एक खाली भुगतान सेट होता है यह सत्यापित करने से पहले कि क्या Br है, वास्तव में मुझे Br−1 देखने की कोई आवश्यकता नहीं है \(\ell\)वैध है या नहीं। dसंदेश श्रीमान,2 मैं संकेत है कि खिलाड़ी मैं v′ का पहला घटक मानता हूं मैं अगले ब्लॉक का hash बनूंगा, या अगले ब्लॉक को खाली मानता है।

चरण 3: जीसी का दूसरा चरण प्रत्येक उपयोगकर्ता i \(\in\)PKr−k के लिए निर्देश: उपयोगकर्ता i जैसे ही राउंड आर का अपना चरण 3 शुरू करता है CERT r−1. • उपयोगकर्ता i अधिकतम समय तक प्रतीक्षा करता है t3 \(\triangleq\)t2 + 2\(\lambda\) = 3\(\lambda\) + Λ। प्रतीक्षा करते समय, मैं कार्य करता हूँ अनुसरण करता है। 1. यदि कोई मान v मौजूद है जैसे कि उसे कम से कम tH वैध संदेश mr,2 प्राप्त हुए हों जे का फॉर्म (ESIGj(v), \(\sigma\)r,2 जे ), बिना किसी विरोधाभास के, फिर वह इंतजार करना बंद कर देता है और सेट हो जाता है वी′ = वी. 2. अन्यथा, जब समय t3 समाप्त हो जाता है, तो वह v′ = \(\bot\) सेट कर देता है। 3. जब v′ का मान निर्धारित किया गया है, तो मैं CERT r−1 से Qr−1 की गणना करता हूं और जांचता हूं कि क्या i \(\in\)SV r,3 या नहीं। 4. यदि i \(\in\)SV r,3, तो मैं संदेश mr,3 की गणना करता हूं मैं \(\triangleq\)(ESIGi(v′), \(\sigma\)r,3 i ), उसे नष्ट कर देता है क्षणिक गुप्त कुंजी skr,3 मैं , और फिर श्रीमान,3 का प्रचार करता हूँ मैं . अन्यथा, मैं बिना रुके रुक जाता हूँ किसी भी चीज़ का प्रचार करना. अर्थात, उसे क्रमशः ESIGj(v) और एक अलग ESIGj(ˆv) वाले दो वैध संदेश प्राप्त नहीं हुए हैं, एक खिलाड़ी से जे. यहां और यहां से आगे, बाद में परिभाषित अंतिम स्थितियों को छोड़कर, जब भी कोई ईमानदार खिलाड़ी हो किसी दिए गए रूप के संदेश चाहता है, एक-दूसरे का खंडन करने वाले संदेशों को कभी भी गिना या मान्य नहीं माना जाता है।

चरण 4: जीसी का आउटपुट और बीबीए⋆ का पहला चरण प्रत्येक उपयोगकर्ता i \(\in\)PKr−k के लिए निर्देश: उपयोगकर्ता i जैसे ही राउंड आर का अपना चरण 4 शुरू करता है अपना स्वयं का चरण 3 समाप्त करता है। • उपयोगकर्ता i अधिकतम 2\(\lambda\) समय तक प्रतीक्षा करता है। प्रतीक्षा करते समय, i निम्नानुसार कार्य करता है। 1. वह जीसी के आउटपुट vi और gi की गणना निम्नानुसार करता है। (ए) यदि कोई मान मौजूद है v′ ̸= \(\bot\)जैसे कि उसे कम से कम tH वैध संदेश प्राप्त हुए हों श्रीमान,3 जे = (ESIGj(v′), \(\sigma\)r,3 j ), फिर वह प्रतीक्षा करना बंद कर देता है और vi \(\triangleq\)v′ और gi \(\triangleq\)2 सेट करता है। (बी) यदि उसे कम से कम वैध संदेश प्राप्त हुए हैं श्रीमान,3 जे = (ESIGj(\(\bot\)), \(\sigma\)r,3 j ), फिर वह रुक जाता है प्रतीक्षा कर रहा है और vi \(\triangleq\) \(\bot\)and gi \(\triangleq\)0.b सेट करता है (सी) अन्यथा, जब समय 2\(\lambda\) समाप्त हो जाता है, यदि कोई मान मौजूद है v′ ̸= \(\bot\)जैसे कि उसके पास है कम से कम ⌈tH प्राप्त हुआ 2 ⌉मान्य संदेश श्रीमान, जे जे = (ESIGj(v′), \(\sigma\)r,3 j ), फिर वह vi \(\triangleq\)v′ सेट करता है और जीआई \(\triangleq\)1.सी (डी) अन्यथा, जब समय 2\(\lambda\) समाप्त हो जाता है, तो वह vi \(\triangleq\) \(\bot\)और gi \(\triangleq\)0 सेट करता है। 2. जब vi और gi मान सेट कर दिए जाते हैं, तो मैं BBA⋆ के इनपुट bi की गणना इस प्रकार करता हूं: bi \(\triangleq\)0 यदि gi = 2, और bi \(\triangleq\)1 अन्यथा। 3. मैं CERT r−1 से Qr−1 की गणना करता हूं और जांचता हूं कि i \(\in\)SV r,4 है या नहीं। 4. यदि i \(\in\)SV r,4, तो वह संदेश mr,4 की गणना करता है मैं \(\triangleq\)(ESIGi(bi), ESIGi(vi), \(\sigma\)r,4 i ), उसे नष्ट कर देता है क्षणिक गुप्त कुंजी skr,4 मैं , और श्रीमान 4 का प्रचार करता हूँ मैं . अन्यथा, मैं बिना प्रचार किये ही रुक जाता हूँ कुछ भी. इस प्रकार, राउंड आर के चरण 1 को शुरू करने के बाद से अधिकतम कुल समय t4 \(\triangleq\)t3 + 2\(\lambda\) = 5\(\lambda\) + Λ हो सकता है। bचाहे चरण (बी) प्रोटोकॉल में है या नहीं, इसकी शुद्धता पर कोई प्रभाव नहीं पड़ता है। हालाँकि, चरण (बी) की उपस्थिति चरण 4 को 2\(\lambda\) से कम समय में समाप्त करने की अनुमति देता है यदि पर्याप्त रूप से कई चरण-3 सत्यापनकर्ताओं ने "हस्ताक्षर \(\bot\)" किया है। cयह साबित किया जा सकता है कि इस मामले में v', यदि मौजूद है, तो अद्वितीय होना चाहिए।चरण s, 5 \(\leq\)s \(\leq\)m + 2, s −2 ≡0 mod 3: BBA⋆ का एक कॉइन-फिक्स्ड-टू-0 चरण प्रत्येक उपयोगकर्ता के लिए निर्देश i \(\in\)PKr−k: उपयोगकर्ता i जैसे ही राउंड आर का अपना चरण शुरू करता है अपना स्वयं का चरण −1 समाप्त करता है। • उपयोगकर्ता i अधिकतम 2\(\lambda\) समय तक प्रतीक्षा करता है। प्रतीक्षा करते समय, i निम्नानुसार कार्य करता है। - समाप्ति शर्त 0: यदि किसी बिंदु पर एक स्ट्रिंग v ̸= \(\bot\)और एक चरण s′ मौजूद है जैसे कि (ए) 5 \(\leq\)s′ \(\leq\)s, s′ −2 ≡0 mod 3—अर्थात्, चरण s′ एक कॉइन-फिक्स्ड-टू-0 चरण है, (बी) मुझे कम से कम tH वैध संदेश प्राप्त हुए हैं mr,s′−1 जे = (ESIGj(0), ESIGj(v), \(\sigma\)r,s′−1 जे ),बी और (सी) मुझे एक वैध संदेश (SIGj(Qr−1), \(\sigma\)r,1) प्राप्त हुआ है j ) जिसमें j दूसरा है v का घटक, फिर, मैं इंतजार करना बंद कर देता हूं और चरण एस (और वास्तव में राउंड आर) का अपना निष्पादन समाप्त कर देता हूं किसी भी चीज़ को (आर, एस)-सत्यापनकर्ता के रूप में प्रचारित किए बिना तुरंत; H(Br) को प्रथम सेट करता है v का घटक; और अपने स्वयं के CERT r को संदेशों के सेट mr,s′−1 के रूप में सेट करता है जे चरण का (बी) (SIGj(Qr−1), \(\sigma\)r,1 के साथ जे ).सी - अंतिम शर्त 1: यदि किसी भी बिंदु पर कोई ऐसा चरण मौजूद है (ए') 6 \(\leq\)s′ \(\leq\)s, s′ −2 ≡1 mod 3—अर्थात, चरण s′ एक कॉइन-फिक्स्ड-टू-1 चरण है, और (बी') मुझे कम से कम वैध संदेश प्राप्त हुए हैं श्रीमान, एस′−1 जे = (ईएसआईजीजे(1), ईएसआईजीजे(वीजे), \(\sigma\)r,s′−1 जे ),डी फिर, मैं इंतजार करना बंद कर देता हूं और स्टेप एस (और वास्तव में राउंड आर) का अपना निष्पादन ठीक से समाप्त कर देता हूं किसी भी चीज़ को (आर, एस)-सत्यापनकर्ता के रूप में प्रचारित किए बिना दूर; सेट Br = Br ǫ ; और अपना खुद का सेट करता है CERT r संदेशों का सेट mr,s′−1 होगा जे उप-चरण (बी') का। – यदि पर कोई भी बिंदु वह है प्राप्त पर कम से कम वें वैध श्रीमान,s−1 जे का का द प्रपत्र (ESIGj(1), ESIGj(vj), \(\sigma\)r,s−1 जे ), फिर वह इंतजार करना बंद कर देता है और द्वि \(\triangleq\)1 सेट करता है। – यदि पर कोई भी बिंदु वह है प्राप्त पर कम से कम वें वैध श्रीमान,s−1 जे का का द प्रपत्र (ESIGj(0), ESIGj(vj), \(\sigma\)r,s−1 जे ), लेकिन वे एक ही वी पर सहमत नहीं हैं, फिर वह रुक जाता है प्रतीक्षा कर रहा है और द्वि \(\triangleq\)0 सेट करता है। - अन्यथा, जब समय 2\(\lambda\) समाप्त हो जाता है, तो मैं bi \(\triangleq\)0 सेट करता हूं। - जब मान bi सेट किया गया है, तो मैं CERT r−1 से Qr−1 की गणना करता हूं और जांचता हूं कि क्या मैं \(\in\)एसवी आर,एस। - यदि मैं \(\in\)एसवी आर,एस, तो मैं संदेश श्रीमान की गणना करता हूं मैं \(\triangleq\)(ESIGi(bi), ESIGi(vi), \(\sigma\)r,s i ) vi होने के साथ चरण 4 में उसने जो मूल्य गणना की है, वह उसकी क्षणिक गुप्त कुंजी स्क्र, को नष्ट कर देता है मैं , और फिर प्रचार श्रीमान, एस मैं . अन्यथा, मैं बिना किसी बात का प्रचार किये रुक जाता हूँ। इस प्रकार, राउंड आर के चरण 1 को शुरू करने के बाद से अधिकतम कुल समय ts \(\triangleq\)ts−1 + 2\(\lambda\) = हो सकता है (2s −3)\(\lambda\) + Λ. bखिलाड़ी j से ऐसा संदेश गिना जाता है, भले ही खिलाड़ी i को भी 1 के लिए हस्ताक्षर करने वाले j से एक संदेश प्राप्त हुआ हो। समाप्ति शर्त 1 के लिए समान बातें। जैसा कि विश्लेषण में दिखाया गया है, यह सुनिश्चित करने के लिए है कि सभी ईमानदार उपयोगकर्ताओं को पता हो CERT r समय के भीतर \(\lambda\) एक दूसरे से। क्यूसर मैं अब एच(बीआर) और उसके स्वयं के राउंड आर को जानता हूं। उसे बस तब तक इंतजार करना होगा जब तक वास्तव में ब्लॉक Br न हो जाए उसे प्रचारित किया गया, जिसमें कुछ अतिरिक्त समय लग सकता है। वह अभी भी एक सामान्य उपयोगकर्ता के रूप में संदेशों के प्रचार-प्रसार में मदद करता है, लेकिन (आर, एस)-सत्यापनकर्ता के रूप में कोई प्रचार शुरू नहीं करता है। विशेष रूप से, उन्होंने सभी संदेशों को प्रचारित करने में मदद की है उसका CERT r, जो हमारे प्रोटोकॉल के लिए पर्याप्त है। ध्यान दें कि उसे बाइनरी बीए प्रोटोकॉल के लिए bi \(\triangleq\)0 भी सेट करना चाहिए, लेकिन वैसे भी इस मामले में bi की आवश्यकता नहीं है। भविष्य के सभी निर्देशों के लिए समान बातें। इस मामले में, इससे कोई फर्क नहीं पड़ता कि वीजे क्या हैं। 65चरण s, 6 \(\leq\)s \(\leq\)m + 2, s −2 ≡1 मॉड 3: बीबीए का एक सिक्का-निर्धारित-से-1 चरण⋆ प्रत्येक उपयोगकर्ता के लिए निर्देश i \(\in\)PKr−k: उपयोगकर्ता i जैसे ही राउंड आर का अपना चरण शुरू करता है अपना स्वयं का चरण −1 समाप्त करता है। • उपयोगकर्ता i अधिकतम 2\(\lambda\) समय तक प्रतीक्षा करता है। प्रतीक्षा करते समय, मैं निम्नानुसार कार्य करता हूँ। - समाप्ति शर्त 0: कॉइन-फिक्स्ड-टू-0 चरण के समान निर्देश। - अंतिम शर्त 1: कॉइन-फिक्स्ड-टू-0 चरण के समान निर्देश। – यदि पर कोई भी बिंदु वह है प्राप्त पर कम से कम वें वैध श्रीमान,s−1 जे का का द प्रपत्र (ESIGj(0), ESIGj(vj), \(\sigma\)r,s−1 जे ), फिर वह इंतजार करना बंद कर देता है और द्वि \(\triangleq\)0.a सेट करता है - अन्यथा, जब समय 2\(\lambda\) समाप्त हो जाता है, तो मैं bi \(\triangleq\)1 सेट करता हूं। - जब मान bi सेट किया गया है, तो मैं CERT r−1 से Qr−1 की गणना करता हूं और जांचता हूं कि क्या मैं \(\in\)एसवी आर,एस। - यदि मैं \(\in\)एसवी आर,एस, तो मैं संदेश श्रीमान की गणना करता हूं मैं \(\triangleq\)(ESIGi(bi), ESIGi(vi), \(\sigma\)r,s i ) vi होने के साथ चरण 4 में उसने जो मूल्य गणना की है, वह उसकी क्षणिक गुप्त कुंजी स्क्र, को नष्ट कर देता है मैं , और फिर प्रचार श्रीमान, एस मैं . अन्यथा, मैं बिना किसी बात का प्रचार किये रुक जाता हूँ। ध्यान दें कि 1 के लिए हस्ताक्षर करने वाले tH वैध (r, s −1)-संदेश प्राप्त करने का मतलब शर्त 1 को समाप्त करना होगा। चरण s, 7 \(\leq\)s \(\leq\)m + 2, s −2 ≡2 मॉड 3: बीबीए का एक सिक्का-वास्तविक-फ़्लिप्ड चरण⋆ प्रत्येक उपयोगकर्ता के लिए निर्देश i \(\in\)PKr−k: उपयोगकर्ता i जैसे ही राउंड आर का अपना चरण शुरू करता है अपना चरण s −1 समाप्त करता है। • उपयोगकर्ता i अधिकतम 2\(\lambda\) समय तक प्रतीक्षा करता है। प्रतीक्षा करते समय, मैं निम्नानुसार कार्य करता हूँ। - समाप्ति शर्त 0: कॉइन-फिक्स्ड-टू-0 चरण के समान निर्देश। - अंतिम शर्त 1: कॉइन-फिक्स्ड-टू-0 चरण के समान निर्देश। – यदि पर कोई भी बिंदु वह है प्राप्त पर कम से कम वें वैध श्रीमान,s−1 जे का का द प्रपत्र (ESIGj(0), ESIGj(vj), \(\sigma\)r,s−1 जे ), फिर वह इंतजार करना बंद कर देता है और द्वि \(\triangleq\)0 सेट करता है। – यदि पर कोई भी बिंदु वह है प्राप्त पर कम से कम वें वैध श्रीमान,s−1 जे का का द प्रपत्र (ESIGj(1), ESIGj(vj), \(\sigma\)r,s−1 जे ), फिर वह इंतजार करना बंद कर देता है और द्वि \(\triangleq\)1 सेट करता है। - अन्यथा, जब समय 2\(\lambda\) समाप्त हो जाता है, तो SV r,s−1 दे देता है मैं (r, s −1)-सत्यापनकर्ताओं का समुच्चय बनें जिनसे उन्हें एक वैध संदेश प्राप्त हुआ है mr,s−1 जे , मैं bi \(\triangleq\)lsb(minj\(\in\)SV r,s−1) सेट करता हूं मैं H(\(\sigma\)r,s−1 जे )). - जब मान bi सेट किया गया है, तो मैं CERT r−1 से Qr−1 की गणना करता हूं और जांचता हूं कि क्या मैं \(\in\)एसवी आर,एस। - यदि मैं \(\in\)एसवी आर,एस, तो मैं संदेश श्रीमान की गणना करता हूं मैं \(\triangleq\)(ESIGi(bi), ESIGi(vi), \(\sigma\)r,s i ) vi होने के साथ चरण 4 में उसने जो मूल्य गणना की है, वह उसकी क्षणिक गुप्त कुंजी स्क्र, को नष्ट कर देता है मैं , और फिर प्रचार श्रीमान, एस मैं . अन्यथा, मैं बिना किसी बात का प्रचार किये रुक जाता हूँ। टिप्पणी। सिद्धांत रूप में, जैसा कि उपधारा 6.2 में माना गया है, प्रोटोकॉल मनमाने ढंग से कई ले सकता है किसी दौर में कदम. क्या ऐसा होना चाहिए, जैसा कि चर्चा की गई है, एक उपयोगकर्ता i \(\in\)SV r,s s > \(\mu\) के साथ समाप्त हो गया है

पूर्व-निर्मित क्षणिक कुंजियों का उसका भंडार और उसके (आर, एस)-संदेश श्रीमान, एस को प्रमाणित करना है मैं ए द्वारा क्षणिक कुंजियों का "कैस्केड"। इस प्रकार मेरा संदेश थोड़ा लंबा हो जाता है और ये लंबे समय तक प्रसारित होता है संदेशों में थोड़ा अधिक समय लगेगा. तदनुसार, किसी दिए गए दौर के इतने सारे चरणों के बाद, का मान पैरामीटर \(\lambda\) स्वचालित रूप से थोड़ा बढ़ जाएगा। (लेकिन एक बार नया होने पर यह मूल \(\lambda\) पर वापस आ जाता है ब्लॉक निर्मित होता है और एक नया दौर शुरू होता है।) गैर-सत्यापनकर्ताओं द्वारा राउंड-आर ब्लॉक का पुनर्निर्माण सिस्टम में प्रत्येक उपयोगकर्ता i के लिए निर्देश: उपयोगकर्ता i जैसे ही अपना राउंड आर शुरू करता है CERT r−1. • मैं प्रोटोकॉल के प्रत्येक चरण के निर्देशों का पालन करता हूं, सभी के प्रसार में भाग लेता हूं संदेश, लेकिन एक चरण में कोई प्रचार शुरू नहीं करता है यदि वह इसमें सत्यापनकर्ता नहीं है। • मैं कुछ में अंतिम स्थिति 0 या अंतिम स्थिति 1 दर्ज करके अपना स्वयं का राउंड आर समाप्त करता हूं चरण, संगत CERT r के साथ। • वहां से, वह वास्तविक ब्लॉक Br प्राप्त करने की प्रतीक्षा करते हुए अपना राउंड r + 1 शुरू करता है (जब तक कि वह इसे पहले ही प्राप्त कर चुका है), जिसका hash H(Br) CERT r द्वारा पिन कर दिया गया है। फिर, यदि CERT r इंगित करता है कि Br = Br ǫ, मैं ब्र को उसी क्षण जानता हूं जब उसके पास सीईआरटी आर है। 6.4 Algorand का विश्लेषण' 2 Algorand का विश्लेषण' 2 आसानी से Algorand से प्राप्त होता है' 1. मूलतः, Algorand में 2, साथ अत्यधिक संभावना, (ए) सभी ईमानदार उपयोगकर्ता एक ही ब्लॉक बीआर पर सहमत हैं; एक नए के नेता ब्लॉक कम से कम ph = h2(1 + h −h2) संभाव्यता के साथ ईमानदार है।

Handling Offline Honest users

Handling Offline Honest users

As we said, a honest user follows all his prescribed instructions, which include that of being online and running the protocol. This is not a major burden in Algorand, since the computation and bandwidth required from a honest user are quite modest. Yet, let us point out that Algorand can be easily modified so as to work in two models, in which honest users are allowed to be offline in great numbers. Before discussing these two models, let us point out that, if the percentage of honest players were 95%, Algorand could still be run setting all parameters assuming instead that \(h = 80\%\). Accordingly, Algorand would continue to work properly even if at most half of the honest players chose to go offline (indeed, a major case of "absenteeism"). In fact, at any point in time, at least 80% of the players online would be honest. From Continual Participation to Lazy Honesty As we saw, \(\text{Algorand}'_1\) and \(\text{Algorand}'_2\) choose the look-back parameter \(k\). Let us now show that choosing \(k\) properly large enables one to remove the Continual Participation requirement. This requirement ensures a crucial property: namely, that the underlying BA protocol \(\text{BBA}^\star\) has a proper honest majority. Let us now explain how lazy honesty provides an alternative and attractive way to satisfy this property.

Recall that a user \(i\) is lazy-but-honest if (1) he follows all his prescribed instructions, when he is asked to participate to the protocol, and (2) he is asked to participate to the protocol only very rarely —e.g., once a week— with suitable advance notice, and potentially receiving significant rewards when he participates. To allow Algorand to work with such players, it just suffices to "choose the verifiers of the current round among the users already in the system in a much earlier round." Indeed, recall that the verifiers for a round \(r\) are chosen from users in round \(r - k\), and the selections are made based on the quantity \(Q_{r-1}\). Note that a week consists of roughly 10,000 minutes, and assume that a round takes roughly (e.g., on average) 5 minutes, so a week has roughly 2,000 rounds. Assume that, at some point of time, a user \(i\) wishes to plan his time and know whether he is going to be a verifier in the coming week. The protocol now chooses the verifiers for a round \(r\) from users in round \(r - k - 2{,}000\), and the selections are based on \(Q_{r-2{,}001}\). At round \(r\), player \(i\) already knows the values \(Q_{r-2{,}000}, \ldots, Q_{r-1}\), since they are actually part of the blockchain. Then, for each \(M\) between 1 and 2,000, \(i\) is a verifier in a step \(s\) of round \(r + M\) if and only if

\[H\bigl(\text{SIG}_i(r + M,\, s,\, Q_{r+M-2{,}001})\bigr) \leq p\]

Thus, to check whether he is going to be called to act as a verifier in the next 2,000 rounds, \(i\) must compute \(\sigma^{M,s}_i = \text{SIG}_i(r + M,\, s,\, Q_{r+M-2{,}001})\) for \(M = 1\) to \(2{,}000\) and for each step \(s\), and check whether \(H(\sigma^{M,s}_i) \leq p\) for some of them. If computing a digital signature takes a millisecond, then this entire operation will take him about 1 minute of computation. If he is not selected as a verifier in any of these rounds, then he can go off-line with an "honest conscience". Had he continuously participated, he would have essentially taken 0 steps in the next 2,000 rounds anyway! If, instead, he is selected to be a verifier in one of these rounds, then he readies himself (e.g., by obtaining all the information necessary) to act as an honest verifier at the proper round. By so acting, a lazy-but-honest potential verifier \(i\) only misses participating to the propagation of messages. But message propagation is typically robust. Moreover, the payers and the payees of recently propagated payments are expected to be online to watch what happens to their payments, and thus they will participate to message propagation, if they are honest.

ऑनलाइन ईमानदार उपयोगकर्ताओं को संभालना

जैसा कि हमने कहा, एक ईमानदार उपयोगकर्ता अपने सभी निर्धारित निर्देशों का पालन करता है, जिसमें ऑनलाइन रहना भी शामिल है और प्रोटोकॉल चला रहा है। गणना के बाद से Algorand में यह कोई बड़ा बोझ नहीं है एक ईमानदार उपयोगकर्ता के लिए आवश्यक बैंडविड्थ काफी मामूली है। फिर भी, हम बता दें कि Algorand कर सकता है आसानी से संशोधित किया जा सकता है ताकि दो मॉडलों में काम किया जा सके, जिसमें ईमानदार उपयोगकर्ताओं को ऑनलाइन रहने की अनुमति है महान संख्या. इन दोनों मॉडलों पर चर्चा करने से पहले, आइए हम बताते हैं कि ईमानदार खिलाड़ियों का प्रतिशत क्या है 95% थे, Algorand को अभी भी h = 80% मानते हुए सभी पैरामीटर सेट करते हुए चलाया जा सकता है। तदनुसार, Algorand अधिकतम आधे ईमानदार खिलाड़ियों के बावजूद भी ठीक से काम करना जारी रखेगा कार्यालय में जाने का निर्णय लिया (वास्तव में, "अनुपस्थिति" का एक बड़ा मामला)। वास्तव में, कम से कम किसी भी समय ऑनलाइन 80% खिलाड़ी ईमानदार होंगे। निरंतर भागीदारी से लेकर आलसी ईमानदारी तक जैसा कि हमने देखा, Algorand ' 1 और Algorand' 2 चुनें लुक-बैक पैरामीटर k. आइए अब दिखाते हैं कि k को उचित रूप से बड़ा चुनने से उसे हटाने में मदद मिलती है सतत भागीदारी की आवश्यकता. यह आवश्यकता एक महत्वपूर्ण संपत्ति सुनिश्चित करती है: अर्थात्, अंतर्निहित बीए प्रोटोकॉल बीबीए के पास उचित ईमानदार बहुमत है। आइए अब बताते हैं कि कितना आलसी है ईमानदारी इस संपत्ति को संतुष्ट करने का एक वैकल्पिक और आकर्षक तरीका प्रदान करती है।

याद रखें कि एक उपयोगकर्ता i आलसी-लेकिन-ईमानदार है यदि (1) वह अपने सभी निर्धारित निर्देशों का पालन करता है उसे प्रोटोकॉल में भाग लेने के लिए कहा जाता है, और (2) उसे केवल प्रोटोकॉल में भाग लेने के लिए कहा जाता है बहुत ही कम - उदाहरण के लिए, सप्ताह में एक बार - उपयुक्त अग्रिम सूचना के साथ, और संभावित रूप से महत्वपूर्ण प्राप्त करने के साथ जब वह भाग लेता है तो पुरस्कार देता है। Algorand को ऐसे खिलाड़ियों के साथ काम करने की अनुमति देने के लिए, बस "सत्यापनकर्ताओं को चुनना" पर्याप्त है सिस्टम में पहले से मौजूद उपयोगकर्ताओं के बीच मौजूदा दौर बहुत पहले दौर में है।'' वास्तव में, उसे याद रखें राउंड आर के लिए सत्यापनकर्ताओं को राउंड आर -के में उपयोगकर्ताओं से चुना जाता है, और चयन इसके आधार पर किया जाता है मात्रा Qr−1 पर. ध्यान दें कि एक सप्ताह में लगभग 10,000 मिनट होते हैं, और मान लें कि a राउंड में लगभग (उदाहरण के लिए, औसतन) 5 मिनट लगते हैं, इसलिए एक सप्ताह में लगभग 2,000 राउंड होते हैं। मान लीजिये कि, किसी समय, एक उपयोगकर्ता मैं अपने समय की योजना बनाना चाहता हूं और जानना चाहता हूं कि वह होने वाला है या नहीं आने वाले सप्ताह में एक सत्यापनकर्ता। प्रोटोकॉल अब उपयोगकर्ताओं में से राउंड आर के लिए सत्यापनकर्ताओं को चुनता है राउंड r −k −2,000, और चयन Qr−2,001 पर आधारित हैं। राउंड आर में, खिलाड़ी को मैं पहले से ही जानता हूं मान Qr−2,000, . . . , Qr−1, क्योंकि वे वास्तव में blockchain का हिस्सा हैं। फिर, प्रत्येक एम के लिए 1 और 2,000 के बीच, मैं राउंड आर + एम के चरण एस में एक सत्यापनकर्ता हूं यदि और केवल यदि .एच सिगी आर + एम, एस, क्यूआर+एम−2,001 \(\leq\)p . इस प्रकार, यह जांचने के लिए कि क्या उसे अगले 2,000 राउंड में सत्यापनकर्ता के रूप में कार्य करने के लिए बुलाया जाएगा, मुझे यह करना होगा \(\sigma\)M,s की गणना करें मैं = सिगी आर + एम, एस, क्यूआर+एम−2,001 एम = 1 से 2,000 के लिए और प्रत्येक चरण के लिए, और जाँच करें चाहे .H(\(\sigma\)M,s मैं ) उनमें से कुछ के लिए \(\leq\)p। यदि डिजिटल हस्ताक्षर की गणना करने में एक मिलीसेकंड लगता है इस पूरे ऑपरेशन में उसे गणना करने में लगभग 1 मिनट का समय लगेगा। यदि उसे सत्यापनकर्ता के रूप में नहीं चुना गया है इनमें से किसी भी दौर में, वह "ईमानदार विवेक" के साथ ऑफ़लाइन हो सकता है। उसके पास लगातार था भाग लिया, वैसे भी उसने अगले 2,000 राउंड में अनिवार्य रूप से 0 कदम उठाए होंगे! यदि, इसके बजाय, उसे इन राउंड में से एक में सत्यापनकर्ता बनने के लिए चुना जाता है, फिर वह खुद को तैयार करता है (उदाहरण के लिए, सभी प्राप्त करके) आवश्यक जानकारी) उचित दौर में एक ईमानदार सत्यापनकर्ता के रूप में कार्य करने के लिए। ऐसा अभिनय करके, एक आलसी-लेकिन-ईमानदार संभावित सत्यापनकर्ता केवल प्रचार-प्रसार में भाग लेने से चूक जाता है संदेशों का. लेकिन संदेश प्रसार आम तौर पर मजबूत होता है। इसके अलावा, भुगतानकर्ता और प्राप्तकर्ता हाल ही में प्रचारित भुगतानों के ऑनलाइन होने की उम्मीद है ताकि यह देखा जा सके कि उनके भुगतानों का क्या होता है, और इस प्रकार यदि वे ईमानदार हैं, तो वे संदेश प्रसार में भाग लेंगे।

Protocol Algorand ′ with Honest Majority of Money

Protocol \(\text{Algorand}^\prime\) with Honest Majority of Money

We now, finally, show how to replace the Honest Majority of Users assumption with the much more meaningful Honest Majority of Money assumption. The basic idea is (in a proof-of-stake flavor) "to select a user \(i \in PK^{r-k}\) to belong to \(SV^{r,s}\) with a weight (i.e., decision power) proportional to the amount of money owned by \(i\)."24 By our HMM assumption, we can choose whether that amount should be owned at round \(r - k\) or at (the start of) round \(r\). Assuming that we do not mind continual participation, we opt for the latter choice. (To remove continual participation, we would have opted for the former choice. Better said, for the amount of money owned at round \(r - k - 2{,}000\).) There are many ways to implement this idea. The simplest way would be to have each key hold at most 1 unit of money and then select at random \(n\) users \(i\) from \(PK^{r-k}\) such that \(a_i^{(r)} = 1\). 24We should say \(PK^{r-k-2{,}000}\) so as to replace continual participation. For simplicity, since one may wish to require continual participation anyway, we use \(PK^{r-k}\) as before, so as to carry one less parameter.

The Next Simplest Implementation The next simplest implementation may be to demand that each public key owns a maximum amount of money \(M\), for some fixed \(M\). The value \(M\) is small enough compared with the total amount of money in the system, such that the probability a key belongs to the verifier set of more than one step in —say— \(k\) rounds is negligible. Then, a key \(i \in PK^{r-k}\), owning an amount of money \(a_i^{(r)}\) in round \(r\), is chosen to belong to \(SV^{r,s}\) if

\[H\left(\text{SIG}_i\left(r, s, Q^{r-1}\right)\right) \leq p \cdot \frac{a_i^{(r)}}{M}.\]

And all proceeds as before. A More Complex Implementation The last implementation "forced a rich participant in the system to own many keys". An alternative implementation, described below, generalizes the notion of status and consider each user \(i\) to consist of \(K + 1\) copies \((i, v)\), each of which is independently selected to be a verifier, and will own his own ephemeral key \((pk_{i,v}^{r,s}, sk_{i,v}^{r,s})\) in a step \(s\) of a round \(r\). The value \(K\) depends on the amount of money \(a_i^{(r)}\) owned by \(i\) in round \(r\). Let us now see how such a system works in greater detail. Number of Copies Let \(n\) be the targeted expected cardinality of each verifier set, and let \(a_i^{(r)}\) be the amount of money owned by a user \(i\) at round \(r\). Let \(A^r\) be the total amount of money owned by the users in \(PK^{r-k}\) at round \(r\), that is,

\[A^r = \sum_{i \in PK^{r-k}} a_i^{(r)}.\]

If \(i\) is an user in \(PK^{r-k}\), then \(i\)'s copies are \((i, 1), \ldots, (i, K + 1)\), where

\[K = \left\lfloor \frac{n \cdot a_i^{(r)}}{A^r} \right\rfloor.\]

Example. Let \(n = 1{,}000\), \(A^r = 10^9\), and \(a_i^{(r)} = 3.7\) millions. Then,

\[K = \left\lfloor \frac{10^3 \cdot (3.7 \cdot 10^6)}{10^9} \right\rfloor = \lfloor 3.7 \rfloor = 3.\]

Verifiers and Credentials Let \(i\) be a user in \(PK^{r-k}\) with \(K + 1\) copies. For each \(v = 1, \ldots, K\), copy \((i, v)\) belongs to \(SV^{r,s}\) automatically. That is, \(i\)'s credential is \(\sigma_{i,v}^{r,s} \triangleq \text{SIG}_i((i, v), r, s, Q^{r-1})\), but the corresponding condition becomes \(H(\sigma_{i,v}^{r,s}) \leq 1\), which is always true. For copy \((i, K + 1)\), for each Step \(s\) of round \(r\), \(i\) checks whether

\[H\left(\text{SIG}_i\left((i, K + 1), r, s, Q^{r-1}\right)\right) \leq \frac{a_i^{(r)} \cdot n}{A^r} - K.\]

If so, copy \((i, K + 1)\) belongs to \(SV^{r,s}\). To prove it, \(i\) propagates the credential

\[\sigma_{i,K+1}^{r,1} = \text{SIG}_i\left((i, K + 1), r, s, Q^{r-1}\right).\]

Example. As in the previous example, let \(n = 1\text{K}\), \(a_i^{(r)} = 3.7\text{M}\), \(A^r = 1\text{B}\), and \(i\) has 4 copies: \((i, 1), \ldots, (i, 4)\). Then, the first 3 copies belong to \(SV^{r,s}\) automatically. For the 4th one, conceptually, \(\text{Algorand}^\prime\) independently rolls a biased coin, whose probability of Heads is 0.7. Copy \((i, 4)\) is selected if and only if the coin toss is Heads. (Of course, this biased coin flip is implemented by hashing, signing, and comparing —as we have done all along in this paper— so as to enable \(i\) to prove his result.) Business as Usual Having explained how verifiers are selected and how their credentials are computed at each step of a round \(r\), the execution of a round is similar to that already explained.

प्रोटोकॉल Algorand ′ ईमानदार बहुमत धन के साथ

अब हम अंततः यह दिखाएंगे कि अधिकांश उपयोगकर्ताओं की ईमानदार धारणा को और भी अधिक के साथ कैसे बदला जाए धन की सार्थक ईमानदार बहुमत धारणा। मूल विचार है (proof-of-stake स्वाद में) "एक उपयोगकर्ता का चयन करने के लिए i \(\in\)PKr−k जो SV r,s से संबंधित है, जिसका वजन (यानी, निर्णय शक्ति) आनुपातिक है i के स्वामित्व वाली धनराशि।"24 हमारी एचएमएम धारणा के अनुसार, हम यह चुन सकते हैं कि क्या उस राशि का स्वामित्व राउंड r −k पर होना चाहिए या (शुरुआत में) राउंड आर पर। यह मानते हुए कि हमें निरंतर भागीदारी से कोई आपत्ति नहीं है, हम इसका विकल्प चुनते हैं बाद वाला विकल्प. (निरंतर भागीदारी को हटाने के लिए, हमने पूर्व विकल्प को चुना होगा। बेहतर कहा गया है, राउंड आर −के −2,000 पर स्वामित्व वाली धनराशि के लिए।) इस विचार को लागू करने के कई तरीके हैं। सबसे सरल तरीका यह होगा कि प्रत्येक कुंजी को पकड़ कर रखा जाए अधिक से अधिक 1 यूनिट पैसे और फिर PKr−k से यादृच्छिक n उपयोगकर्ताओं का चयन करें जैसे कि a(r) मैं = 1. 24हमें निरंतर भागीदारी को प्रतिस्थापित करने के लिए PKr−k−2,000 कहना चाहिए। सरलता के लिए, चूँकि कोई आवश्यकता चाह सकता है वैसे भी निरंतर भागीदारी, हम पहले की तरह PKr−k का उपयोग करते हैं, ताकि एक पैरामीटर कम रखा जा सके।

अगला सरलतम कार्यान्वयन अगला सरल कार्यान्वयन यह मांग करना हो सकता है कि प्रत्येक सार्वजनिक कुंजी के पास अधिकतम राशि हो धन एम का, कुछ निश्चित एम के लिए। एम का मूल्य कुल राशि की तुलना में काफी छोटा है सिस्टम में पैसा, ऐसी संभावना कि एक कुंजी एक से अधिक के सत्यापनकर्ता सेट से संबंधित हो कदम बढ़ाना -कहना- k राउंड नगण्य है। फिर, एक कुंजी i \(\in\)PKr−k, जिसके पास धनराशि a(r) है मैं राउंड आर में, एसवी आर से संबंधित होने के लिए चुना गया है, यदि .एच सिगी आर, एस, क्यूआर−1 \(\leq\)पी \(\cdot\) ए(आर) मैं एम . और सब कुछ पहले की तरह चलता है। एक अधिक जटिल कार्यान्वयन अंतिम कार्यान्वयन ने "सिस्टम में एक अमीर भागीदार को कई चाबियाँ रखने के लिए मजबूर किया"। नीचे वर्णित एक वैकल्पिक कार्यान्वयन, स्थिति और विचार की धारणा को सामान्यीकृत करता है प्रत्येक उपयोगकर्ता i में K + 1 प्रतियां (i, v) शामिल हैं, जिनमें से प्रत्येक को स्वतंत्र रूप से सत्यापनकर्ता के रूप में चुना गया है, और उसकी अपनी क्षणिक कुंजी (पीकेआर,एस) होगी मैं, वी, एसकेआर, एस i,v) एक राउंड r के चरण s में। K का मान निर्भर करता है धन की राशि पर a(r) मैं दौर आर में मैं के स्वामित्व में। आइए अब अधिक विस्तार से देखें कि ऐसी प्रणाली कैसे काम करती है। प्रतियों की संख्या मान लीजिए n प्रत्येक सत्यापनकर्ता सेट की लक्षित अपेक्षित कार्डिनैलिटी है, और मान लीजिए a(r) मैं राउंड आर पर किसी उपयोगकर्ता के स्वामित्व वाली धनराशि हो। माना कि Ar स्वामित्व वाली कुल धनराशि है PKr−k में उपयोगकर्ताओं द्वारा राउंड r पर, अर्थात, अर= एक्स i\(\in\)P क्र−k ए(आर) मैं . यदि i PKr−k में एक उपयोगकर्ता है, तो i की प्रतियां (i, 1), हैं। . . , (i, K + 1), कहाँ के = $ एन \(\cdot\) ए(आर) मैं अर % . उदाहरण। माना n = 1,000, Ar = 109, और a(r) मैं = 3.7 मिलियन. फिर, के = 103 \(\cdot\) (3.7 \(\cdot\) 106) 109  = ⌊3.7⌋= 3 . सत्यापनकर्ता और क्रेडेंशियल मान लीजिए कि मैं K + 1 प्रतियों के साथ PKr−k में एक उपयोगकर्ता हूं। प्रत्येक v = 1 के लिए। . . , K, कॉपी (i, v) स्वचालित रूप से SV r,s से संबंधित है। यानी कि आई का क्रेडेंशियल है \(\sigma\)r,s i,v \(\triangleq\)SIGi((i, v), r, s, Qr−1), लेकिन संबंधित स्थिति .H(\(\sigma\)r,s) बन जाती है i,v) \(\leq\)1, जो है हमेशा सच. कॉपी (i, K + 1) के लिए, राउंड आर के प्रत्येक चरण के लिए, मैं जाँच करता हूँ कि क्या .एच सिगी (i, K + 1), r, s, Qr−1 \(\leq\)ए(आर) मैं एन अर −K .

यदि हां, तो कॉपी (i, K + 1) SV r,s से संबंधित है। इसे साबित करने के लिए, मैं क्रेडेंशियल का प्रचार करता हूं \(\sigma\)r,1 i,K+1 = SIGi (i, K + 1), r, s, Qr−1 . उदाहरण। पिछले उदाहरण की तरह, मान लीजिए n = 1K, a(r) मैं = 3.7एम, एआर = 1बी, और मेरे पास 4 है प्रतिलिपियाँ: (i, 1), . . . , (i, 4). फिर, पहली 3 प्रतियां स्वचालित रूप से एसवी आर,एस की हो जाती हैं। चौथे के लिए, संकल्पनात्मक रूप से, Algorand 'स्वतंत्र रूप से एक पक्षपाती सिक्का उछालता है, जिसके शीर्ष की संभावना 0.7 है। प्रतिलिपि (i, 4) तभी चुना जाता है जब सिक्का उछाला जाता है और हेड होता है। (बेशक, यह पक्षपाती सिक्का फ़्लिप hashइंग, हस्ताक्षर और तुलना द्वारा कार्यान्वित किया जाता है - जैसा कि हम मैंने इस पेपर में सब कुछ किया है - ताकि मैं उसके परिणाम को साबित करने में सक्षम हो सकूं।) हमेशा की तरह व्यवसाय यह समझाने के बाद कि सत्यापनकर्ताओं का चयन कैसे किया जाता है और उनकी साख कैसे होती है राउंड आर के प्रत्येक चरण पर गणना की गई, राउंड का निष्पादन पहले से बताए गए के समान है।

Handling Forks

Handling Forks

Having reduced the probability of forks to 10−12 or 10−18, it is practically unnecessary to handle them in the remote chance that they occur. Algorand, however, can also employ various fork resolution procedures, with or without proof of work. One possible way of instructing the users to resolve forks is as follows: • Follow the longest chain if a user sees multiple chains. • If there are more than one longest chains, follow the one with a non-empty block at the end. If all of them have empty blocks at the end, consider their second-last blocks. • If there are more than one longest chains with non-empty blocks at the end, say the chains are of length r, follow the one whose leader of block r has the smallest credential. If there are ties, follow the one whose block r itself has the smallest hash value. If there are still ties, follow the one whose block r is ordered the first lexicographically.

Fork को संभालना

कांटे की संभावना को 10−12 या 10−18 तक कम करने के बाद, इसे संभालना व्यावहारिक रूप से अनावश्यक है उनके घटित होने की दूर-दूर तक सम्भावना है। हालाँकि, Algorand विभिन्न कांटे भी नियोजित कर सकता है समाधान प्रक्रियाएँ, कार्य के प्रमाण के साथ या उसके बिना। उपयोगकर्ताओं को फोर्क्स को हल करने का निर्देश देने का एक संभावित तरीका इस प्रकार है: • यदि कोई उपयोगकर्ता एकाधिक श्रृंखलाएँ देखता है तो सबसे लंबी श्रृंखला का अनुसरण करें। • यदि एक से अधिक लंबी श्रृंखलाएं हैं, तो अंत में एक गैर-रिक्त ब्लॉक वाली श्रृंखला का अनुसरण करें। यदि उन सभी के अंत में खाली ब्लॉक हैं, उनके दूसरे-अंतिम ब्लॉक पर विचार करें। • यदि अंत में गैर-रिक्त ब्लॉकों के साथ एक से अधिक लंबी श्रृंखलाएं हैं, तो मान लें कि श्रृंखलाएं हैं लंबाई r का, उस व्यक्ति का अनुसरण करें जिसके ब्लॉक r के नेता की साख सबसे छोटी है। यदि संबंध हैं, उसका अनुसरण करें जिसके ब्लॉक r में सबसे छोटा hash मान है। यदि अभी भी संबंध हैं, तो इसका पालन करें वह जिसका ब्लॉक आर को पहले शब्दकोषीय रूप से क्रमबद्ध किया गया है।

Handling Network Partitions

Handling Network Partitions

As said, we assume the propagation times of messages among all users in the network are upperbounded by \(\lambda\) and \(\Lambda\). This is not a strong assumption, as today's Internet is fast and robust, and the actual values of these parameters are quite reasonable. Here, let us point out that \(\text{Algorand}^\prime_2\) continues to work even if the Internet occasionally got partitioned into two parts. The case when the Internet is partitioned into more than two parts is similar. 10.1 Physical Partitions First of all, the partition may be caused by physical reasons. For example, a huge earthquake may end up completely breaking down the connection between Europe and America. In this case, the malicious users are also partitioned and there is no communication between the two parts. Thus

there will be two Adversaries, one for part 1 and the other for part 2. Each Adversary still tries to break the protocol in its own part. Assume the partition happens in the middle of round \(r\). Then each user is still selected as a verifier based on \(PK^{r-k}\), with the same probability as before. Let \(HSV^{r,s}_i\) and \(MSV^{r,s}_i\) respectively be the set of honest and malicious verifiers in a step \(s\) in part \(i \in \{1, 2\}\). We have

\[|HSV^{r,s}_1| + |MSV^{r,s}_1| + |HSV^{r,s}_2| + |MSV^{r,s}_2| = |HSV^{r,s}| + |MSV^{r,s}|.\]

Note that \(|HSV^{r,s}| + |MSV^{r,s}| < |HSV^{r,s}| + 2|MSV^{r,s}| < 2t_H\) with overwhelming probability. If some part \(i\) has \(|HSV^{r,s}_i| + |MSV^{r,s}_i| \geq t_H\) with non-negligible probability, e.g., 1%, then the probability that \(|HSV^{r,s}_{3-i}| + |MSV^{r,s}_{3-i}| \geq t_H\) is very low, e.g., \(10^{-16}\) when \(F = 10^{-18}\). In this case, we may as well treat the smaller part as going offline, because there will not be enough verifiers in this part to generate \(t_H\) signatures to certify a block. Let us consider the larger part, say part 1 without loss of generality. Although \(|HSV^{r,s}| < t_H\) with negligible probability in each step \(s\), when the network is partitioned, \(|HSV^{r,s}_1|\) may be less than \(t_H\) with some non-negligible probability. In this case the Adversary may, with some other non-negligible probability, force the binary BA protocol into a fork in round \(r\), with a nonempty block \(B_r\) and the empty block \(B^r_\epsilon\) both having \(t_H\) valid signatures.25 For example, in a Coin-Fixed-To-0 step \(s\), all verifiers in \(HSV^{r,s}_1\) signed for bit 0 and \(H(B_r)\), and propagated their messages. All verifiers in \(MSV^{r,s}_1\) also signed 0 and \(H(B_r)\), but withheld their messages. Because \(|HSV^{r,s}_1| + |MSV^{r,s}_1| \geq t_H\), the system has enough signatures to certify \(B_r\). However, since the malicious verifiers withheld their signatures, the users enter step \(s + 1\), which is a Coin-Fixed-To-1 step. Because \(|HSV^{r,s}_1| < t_H\) due to the partition, the verifiers in \(HSV^{r,s+1}_1\) did not see \(t_H\) signatures for bit 0 and they all signed for bit 1. All verifiers in \(MSV^{r,s+1}_1\) did the same. Because \(|HSV^{r,s+1}_1| + |MSV^{r,s+1}_1| \geq t_H\), the system has enough signatures to certify \(B^r_\epsilon\). The Adversary then creates a fork by releasing the signatures of \(MSV^{r,s}_1\) for 0 and \(H(B_r)\). Accordingly, there will be two \(Q_r\)'s, defined by the corresponding blocks of round \(r\). However, the fork will not continue and only one of the two branches may grow in round \(r + 1\). Additional Instructions for \(\text{Algorand}^\prime_2\). When seeing a non-empty block \(B_r\) and the empty block \(B^r_\epsilon\), follow the non-empty one (and the \(Q_r\) defined by it). Indeed, by instructing the users to go with the non-empty block in the protocol, if a large amount of honest users in \(PK^{r+1-k}\) realize there is a fork at the beginning of round \(r + 1\), then the empty block will not have enough followers and will not grow. Assume the Adversary manages to partition the honest users so that some honest users see \(B_r\) (and perhaps \(B^r_\epsilon\)), and some only see \(B^r_\epsilon\). Because the Adversary cannot tell which one of them will be a verifier following \(B_r\) and which will be a verifier following \(B^r_\epsilon\), the honest users are randomly partitioned and each one of them still becomes a verifier (either with respect to \(B_r\) or with respect to \(B^r_\epsilon\)) in a step \(s > 1\) with probability \(p\). For the malicious users, each one of them may have two chances to become a verifier, one with \(B_r\) and the other with \(B^r_\epsilon\), each with probability \(p\) independently. Let \(HSV^{r+1,s}_{1;B_r}\) be the set of honest verifiers in step \(s\) of round \(r+1\) following \(B_r\). Other notations such as \(HSV^{r+1,s}_{1;B^r_\epsilon}\), \(MSV^{r+1,s}_{1;B_r}\) and \(MSV^{r+1,s}_{1;B^r_\epsilon}\) are similarly defined. By Chernoff bound, it is easy 25Having a fork with two non-empty blocks is not possible with or without partitions, except with negligible probability.

to see that with overwhelming probability,

\[|HSV^{r+1,s}_{1;B_r}| + |HSV^{r+1,s}_{1;B^r_\epsilon}| + |MSV^{r+1,s}_{1;B_r}| + |MSV^{r+1,s}_{1;B^r_\epsilon}| < 2t_H.\]

Accordingly, the two branches cannot both have \(t_H\) proper signatures certifying a block for round \(r + 1\) in the same step \(s\). Moreover, since the selection probabilities for two steps \(s\) and \(s^\prime\) are the same and the selections are independent, also with overwhelming probability

\[|HSV^{r+1,s}_{1;B_r}| + |MSV^{r+1,s}_{1;B_r}| + |HSV^{r+1,s^\prime}_{1;B^r_\epsilon}| + |MSV^{r+1,s^\prime}_{1;B^r_\epsilon}| < 2t_H,\]

for any two steps \(s\) and \(s^\prime\). When \(F = 10^{-18}\), by the union bound, as long as the Adversary cannot partition the honest users for a long time (say \(10^4\) steps, which is more than 55 hours with \(\lambda = 10\) seconds26), with high probability (say \(1 - 10^{-10}\)) at most one branch will have \(t_H\) proper signatures to certify a block in round \(r + 1\). Finally, if the physical partition has created two parts with roughly the same size, then the probability that \(|HSV^{r,s}_i| + |MSV^{r,s}_i| \geq t_H\) is small for each part \(i\). Following a similar analysis, even if the Adversary manages to create a fork with some non-negligible probability in each part for round \(r\), at most one of the four branches may grow in round \(r + 1\). 10.2 Adversarial Partition Second of all, the partition may be caused by the Adversary, so that the messages propagated by the honest users in one part will not reach the honest users in the other part directly, but the Adversary is able to forward messages between the two parts. Still, once a message from one part reaches an honest user in the other part, it will be propagated in the latter as usual. If the Adversary is willing to spend a lot of money, it is conceivable that he may be able to hack the Internet and partition it like this for a while. The analysis is similar to that for the larger part in the physical partition above (the smaller part can be considered as having population 0): the Adversary may be able to create a fork and each honest user only sees one of the branches, but at most one branch may grow. 10.3 Network Partitions in Sum Although network partitions can happen and a fork in one round may occur under partitions, there is no lingering ambiguity: a fork is very short-lived, and in fact lasts for at most a single round. In all parts of the partition except for at most one, the users cannot generate a new block and thus (a) realize there is a partition in the network and (b) never rely on blocks that will "vanish". Acknowledgements We would like to first acknowledge Sergey Gorbunov, coauthor of the cited Democoin system. Most sincere thanks go to Maurice Herlihy, for many enlightening discussions, for pointing out that pipelining will improve Algorand's throughput performance, and for greatly improving the 26Note that a user finishes a step \(s\) without waiting for \(2\lambda\) time only if he has seen at least \(t_H\) signatures for the same message. When there are not enough signatures, each step will last for \(2\lambda\) time.

exposition of an earlier version of this paper. Many thanks to Sergio Rajsbaum, for his comments on an earlier version of this paper. Many thanks to Vinod Vaikuntanathan, for several deep discussions and insights. Many thanks to Yossi Gilad, Rotem Hamo, Georgios Vlachos, and Nickolai Zeldovich for starting to test these ideas, and for many helpful comments and discussions. Silvio Micali would like to personally thank Ron Rivest for innumerable discussions and guidance in cryptographic research over more than 3 decades, for coauthoring the cited micropayment system that has inspired one of the verifier selection mechanisms of Algorand. We hope to bring this technology to the next level. Meanwhile the travel and companionship are great fun, for which we are very grateful.

नेटवर्क विभाजन को संभालना

जैसा कि कहा गया है, हम मानते हैं कि नेटवर्क में सभी उपयोगकर्ताओं के बीच संदेशों का प्रसार समय \(\lambda\) और Λ द्वारा ऊपरी सीमा पर है। यह कोई मजबूत धारणा नहीं है, क्योंकि आज का इंटरनेट तेज़ और मजबूत है, और इन मापदंडों के वास्तविक मूल्य काफी उचित हैं। यहां, हम बता दें कि Algorand ' 2 भले ही इंटरनेट कभी-कभी दो भागों में विभाजित हो जाए तब भी काम करना जारी रखता है। मामला जब इंटरनेट को दो से अधिक भागों में विभाजित किया गया है। 10.1 भौतिक विभाजन सबसे पहले, विभाजन भौतिक कारणों से हो सकता है। उदाहरण के लिए, कोई बड़ा भूकम्प आ सकता है अंततः यूरोप और अमेरिका के बीच संबंध पूरी तरह से टूट जाएगा। इस मामले में, दुर्भावनापूर्ण उपयोगकर्ता भी विभाजित हो जाते हैं और दोनों भागों के बीच कोई संचार नहीं होता है। इस प्रकार

वहाँ दो शत्रु होंगे, एक भाग 1 के लिए और दूसरा भाग 2 के लिए। प्रत्येक शत्रु अभी भी प्रयास करता है प्रोटोकॉल को अपने ही हिस्से में तोड़ें. मान लीजिए कि विभाजन गोल आर के मध्य में होता है। फिर भी प्रत्येक उपयोगकर्ता को एक के रूप में चुना जाता है PKr−k पर आधारित सत्यापनकर्ता, पहले जैसी ही संभावना के साथ। मान लीजिए एचएसवी आर, एस मैं और एमएसवी आर,एस मैं क्रमशः भाग i \(\in\){1, 2} के चरण s में ईमानदार और दुर्भावनापूर्ण सत्यापनकर्ताओं का समूह बनें। हमारे पास है |एचएसवी आर,एस 1 | + |एमएसवी आर,एस 1 | + |एचएसवी आर,एस 2 | + |एमएसवी आर,एस 2 | = |एचएसवी आर,एस| + |एमएसवी आर,एस| ध्यान दें कि |HSV r,s| + |एमएसवी आर,एस| < |एचएसवी आर,एस| + 2|एमएसवी आर,एस| <2टीएच अत्यधिक संभावना के साथ। यदि कुछ भाग मेरे पास है |HSV r,s मैं | + |एमएसवी आर,एस मैं | \(\geq\)tH गैर-नगण्य संभावना के साथ, उदाहरण के लिए, 1%, फिर संभावना है कि |HSV r,s 3−i| + |एमएसवी आर,एस 3−i| \(\geq\)tH बहुत कम है, उदाहरण के लिए, 10−16 जब F = 10−18 है। इस मामले में, हम छोटे हिस्से को भी ऑफ़लाइन मान सकते हैं, क्योंकि इसमें पर्याप्त सत्यापनकर्ता नहीं होंगे यह भाग किसी ब्लॉक को प्रमाणित करने के लिए TH हस्ताक्षर उत्पन्न करता है। आइए व्यापकता को खोए बिना बड़े भाग, मान लीजिए भाग 1 पर विचार करें। हालाँकि |एचएसवी आर,एस| < प्रत्येक चरण s में नगण्य संभावना के साथ, जब नेटवर्क विभाजित होता है, |HSV r,s 1 | हो सकता है कुछ गैर-नगण्य संभावना के साथ tH से कम। इस मामले में, प्रतिद्वंद्वी कुछ के साथ हो सकता है अन्य गैर-नगण्य संभावना, बाइनरी बीए प्रोटोकॉल को एक गैर-खाली ब्लॉक बीआर और खाली ब्लॉक बीआर के साथ राउंड आर में एक कांटा में मजबूर करें ǫ दोनों के पास वैध हस्ताक्षर हैं।25 उदाहरण के लिए, ए में कॉइन-फिक्स्ड-टू-0 चरण एस, एचएसवी आर, एस में सभी सत्यापनकर्ता 1 बिट 0 और H(Br) के लिए हस्ताक्षर किए, और उनका प्रचार किया संदेश. MSV r,s में सभी सत्यापनकर्ता 1 0 और H(Br) पर भी हस्ताक्षर किए, लेकिन उनके संदेशों को रोक दिया। क्योंकि |एचएसवी आर,एस 1 | + |एमएसवी आर,एस 1 | \(\geq\)tH, सिस्टम में Br को प्रमाणित करने के लिए पर्याप्त हस्ताक्षर हैं। हालाँकि, जब से दुर्भावनापूर्ण सत्यापनकर्ताओं ने अपने हस्ताक्षर रोक लिए, उपयोगकर्ता चरण s + 1 दर्ज करते हैं, जो एक कॉइन-फिक्स्ड-टू1 चरण है। क्योंकि |एचएसवी आर,एस 1 | < tH विभाजन के कारण, HSV r,s+1 में सत्यापनकर्ता 1 नहीं देखा बिट 0 के लिए हस्ताक्षर और उन सभी ने बिट 1 के लिए हस्ताक्षर किए। MSV r,s+1 में सभी सत्यापनकर्ता 1 वैसा ही किया. क्योंकि |एचएसवी आर,एस+1 1 | + |एमएसवी आर,एस+1 1 | \(\geq\)tH, सिस्टम में Br को प्रमाणित करने के लिए पर्याप्त हस्ताक्षर हैं .. . विरोधी फिर MSV r,s के हस्ताक्षर जारी करके एक कांटा बनाता है 1 0 और H(Br) के लिए। तदनुसार, दो क्यूआर होंगे, जो राउंड आर के संबंधित ब्लॉकों द्वारा परिभाषित होंगे। हालाँकि, कांटा जारी नहीं रहेगा और दो शाखाओं में से केवल एक ही राउंड आर + 1 में बढ़ सकती है। Algorand के लिए अतिरिक्त निर्देश ' 2. एक गैर-रिक्त ब्लॉक Br और खाली देखते समय ब्लॉक ब्र ǫ, गैर-रिक्त वाले का अनुसरण करें (और इसके द्वारा परिभाषित Qr)। दरअसल, उपयोगकर्ताओं को प्रोटोकॉल में गैर-रिक्त ब्लॉक के साथ जाने का निर्देश देकर, यदि कोई बड़ा हो PKr+1−k में ईमानदार उपयोगकर्ताओं की संख्या को एहसास होता है कि राउंड r +1 की शुरुआत में एक कांटा है, फिर खाली ब्लॉक में पर्याप्त अनुयायी नहीं होंगे और वृद्धि नहीं होगी। मान लें कि प्रतिद्वंद्वी सफल हो जाता है ईमानदार उपयोगकर्ताओं को विभाजित करें ताकि कुछ ईमानदार उपयोगकर्ता Br (और शायद Br) देख सकें ǫ), और कुछ केवल देखते हैं ब्र .. . क्योंकि विरोधी यह नहीं बता सकता कि उनमें से कौन ब्र का अनुसरण करने वाला सत्यापनकर्ता होगा और कौन सा ब्र का अनुसरण करने वाला एक सत्यापनकर्ता होगा ǫ, ईमानदार उपयोगकर्ताओं को बेतरतीब ढंग से विभाजित किया गया है और उनमें से प्रत्येक अभी भी है एक सत्यापनकर्ता बन जाता है (या तो Br के संबंध में या Br के संबंध में)। ǫ) संभाव्यता के साथ एक चरण s > 1 में पी. दुर्भावनापूर्ण उपयोगकर्ताओं के लिए, उनमें से प्रत्येक के पास सत्यापनकर्ता बनने के दो मौके हो सकते हैं, एक के साथ ब्र और दूसरा ब्र के साथ , प्रत्येक स्वतंत्र रूप से संभाव्यता पी के साथ। मान लीजिए HSV r+1,s है 1;ब्र ब्र के बाद राउंड आर+1 के चरण एस में ईमानदार सत्यापनकर्ताओं का सेट बनें। अन्य संकेतन जैसे एचएसवी आर+1,एस 1;ब्रू , एमएसवी आर+1,एस 1;ब्र और एमएसवी आर+1,एस 1;ब्रू समान रूप से परिभाषित हैं। चेर्नोफ़िबाउंड द्वारा, यह आसान है 25दो गैर-रिक्त ब्लॉकों के साथ एक कांटा रखना नगण्य को छोड़कर, विभाजन के साथ या उसके बिना संभव नहीं है संभाव्यता.यह देखने के लिए कि अत्यधिक संभावना के साथ, |एचएसवी आर+1,एस 1;ब्र | + |एचएसवी आर+1,एस 1;ब्रू | + |एमएसवी आर+1,एस 1;ब्र | + |एमएसवी आर+1,एस 1;ब्रू | <2टीएच. तदनुसार, दोनों शाखाओं में राउंड के लिए ब्लॉक को प्रमाणित करने वाले उचित हस्ताक्षर नहीं हो सकते हैं एक ही चरण में r + 1। इसके अलावा, चूँकि दो चरणों s और s' के लिए चयन संभावनाएँ हैं वही और चयन स्वतंत्र हैं, अत्यधिक संभावना के साथ भी |एचएसवी आर+1,एस 1;ब्र | + |एमएसवी आर+1,एस 1;ब्र | + |एचएसवी आर+1,एस′ 1;ब्रू | + |एमएसवी आर+1,एस′ 1;ब्रू | < 2टीएच, किन्हीं दो चरणों s और s' के लिए। जब एफ = 10−18, संघ द्वारा बाध्य, जब तक कि प्रतिद्वंद्वी ऐसा नहीं कर सकता ईमानदार उपयोगकर्ताओं को लंबे समय तक विभाजित करें (मान लीजिए 104 चरण, जो \(\lambda\) = 10 के साथ 55 घंटे से अधिक है) सेकंड26), उच्च संभावना के साथ (मान लीजिए 1−10−10) अधिकतम एक शाखा में उचित हस्ताक्षर होंगे राउंड आर + 1 में एक ब्लॉक को प्रमाणित करने के लिए। अंत में, यदि भौतिक विभाजन ने लगभग समान आकार के दो भाग बनाए हैं, तो संभावना है कि |HSV r,s मैं | + |एमएसवी आर,एस मैं | \(\geq\)tH प्रत्येक भाग i के लिए छोटा है। इसी तरह के विश्लेषण के बाद, भले ही प्रतिद्वंद्वी प्रत्येक भाग में कुछ गैर-नगण्य संभावना के साथ एक कांटा बनाने में कामयाब हो जाए राउंड आर के लिए, राउंड आर + 1 में चार शाखाओं में से अधिकतम एक शाखा बढ़ सकती है। 10.2 प्रतिकूल विभाजन दूसरा, विभाजन विरोधी के कारण हो सकता है, ताकि संदेश प्रसारित हो सकें एक भाग के ईमानदार उपयोगकर्ताओं द्वारा सीधे दूसरे भाग के ईमानदार उपयोगकर्ताओं तक नहीं पहुँचेगा, लेकिन विरोधी दो भागों के बीच संदेश अग्रेषित करने में सक्षम है। फिर भी एक बार एक का सन्देश एक हिस्सा दूसरे हिस्से में एक ईमानदार उपयोगकर्ता तक पहुंचता है, इसे बाद में हमेशा की तरह प्रचारित किया जाएगा। यदि विरोधी बहुत सारा पैसा खर्च करने को तैयार है, यह संभव है कि वह हैक करने में सक्षम हो इंटरनेट और इसे कुछ देर के लिए इस तरह से विभाजित करें। विश्लेषण उपरोक्त भौतिक विभाजन (छोटे हिस्से) के बड़े हिस्से के समान है भाग को जनसंख्या 0 के रूप में माना जा सकता है): प्रतिद्वंद्वी एक कांटा बनाने में सक्षम हो सकता है प्रत्येक ईमानदार उपयोगकर्ता केवल एक शाखा देखता है, लेकिन अधिकतम एक शाखा बढ़ सकती है। 10.3 योग में नेटवर्क विभाजन हालाँकि नेटवर्क विभाजन हो सकता है और विभाजन के तहत एक दौर में एक कांटा हो सकता है कोई लंबे समय तक रहने वाली अस्पष्टता नहीं है: एक कांटा बहुत अल्पकालिक होता है, और वास्तव में अधिकतम एक दौर तक ही रहता है। में अधिकतम एक को छोड़कर विभाजन के सभी हिस्सों में, उपयोगकर्ता एक नया ब्लॉक उत्पन्न नहीं कर सकते हैं और इस प्रकार (ए) एहसास करें कि नेटवर्क में एक विभाजन है और (बी) कभी भी उन ब्लॉकों पर भरोसा न करें जो "गायब" हो जाएंगे। आभार हम सबसे पहले उद्धृत डेमोकॉइन प्रणाली के सह-लेखक सर्गेई गोर्बुनोव को धन्यवाद देना चाहेंगे। कई ज्ञानवर्धक चर्चाओं के लिए, इंगित करने के लिए मौरिस हेर्लिही को हार्दिक धन्यवाद पाइपलाइनिंग से Algorand के थ्रूपुट प्रदर्शन में सुधार होगा, और काफी सुधार होगा 26 ध्यान दें कि एक उपयोगकर्ता 2\(\lambda\) समय की प्रतीक्षा किए बिना एक चरण पूरा करता है, यदि उसने कम से कम TH हस्ताक्षर देखे हों वही संदेश. जब पर्याप्त हस्ताक्षर नहीं होंगे, तो प्रत्येक चरण 2\(\lambda\) समय तक चलेगा।

इस पेपर के पुराने संस्करण का प्रदर्शन। सर्जियो राज्सबाम को उनकी टिप्पणियों के लिए बहुत धन्यवाद इस पेपर का एक पुराना संस्करण. कई गहन चर्चाओं के लिए विनोद वैकुंठनाथन को बहुत धन्यवाद और अंतर्दृष्टि. योसी गिलाद, रोटेम हामो, जॉर्जियोस व्लाचोस और निकोलाई ज़ेल्डोविच को बहुत धन्यवाद इन विचारों का परीक्षण शुरू करने के लिए, और कई उपयोगी टिप्पणियों और चर्चाओं के लिए। सिल्वियो मिकाली असंख्य चर्चाओं और मार्गदर्शन के लिए रॉन रिवेस्ट को व्यक्तिगत रूप से धन्यवाद देना चाहते हैं उद्धृत माइक्रोपेमेंट प्रणाली के सह-लेखन के लिए 3 दशकों से अधिक समय से क्रिप्टोग्राफ़िक अनुसंधान में जिसने Algorand के सत्यापनकर्ता चयन तंत्रों में से एक को प्रेरित किया है। हम इस तकनीक को अगले स्तर पर लाने की उम्मीद करते हैं। इस बीच यात्रा और साथ बहुत मज़ेदार हैं, जिसके लिए हम बहुत आभारी हैं।