Consensus (computer science)

From HandWiki - Reading time: 17 min

Short description: Concept in computer science

A fundamental problem in distributed computing and multi-agent systems is to achieve overall system reliability in the presence of a number of faulty processes. This often requires coordinating processes to reach consensus, or agree on some data value that is needed during computation. Example applications of consensus include agreeing on what transactions to commit to a database in which order, state machine replication, and atomic broadcasts. Real-world applications often requiring consensus include cloud computing, clock synchronization, PageRank, opinion formation, smart power grids, state estimation, control of UAVs (and multiple robots/agents in general), load balancing, blockchain, and others.

Problem description

The consensus problem requires agreement among a number of processes (or agents) for a single data value. Some of the processes (agents) may fail or be unreliable in other ways, so consensus protocols must be fault tolerant or resilient. The processes must somehow put forth their candidate values, communicate with one another, and agree on a single consensus value.

The consensus problem is a fundamental problem in control of multi-agent systems. One approach to generating consensus is for all processes (agents) to agree on a majority value. In this context, a majority requires at least one more than half of available votes (where each process is given a vote). However, one or more faulty processes may skew the resultant outcome such that consensus may not be reached or reached incorrectly.

Protocols that solve consensus problems are designed to deal with limited numbers of faulty processes. These protocols must satisfy a number of requirements to be useful. For instance, a trivial protocol could have all processes output binary value 1. This is not useful and thus the requirement is modified such that the output must somehow depend on the input. That is, the output value of a consensus protocol must be the input value of some process. Another requirement is that a process may decide upon an output value only once and this decision is irrevocable. A process is called correct in an execution if it does not experience a failure. A consensus protocol tolerating halting failures must satisfy the following properties.[1]

Termination
Eventually, every correct process decides some value.
Integrity
If all the correct processes proposed the same value [math]\displaystyle{ v }[/math], then any correct process must decide [math]\displaystyle{ v }[/math].
Agreement
Every correct process must agree on the same value.

Variations on the definition of integrity may be appropriate, according to the application. For example, a weaker type of integrity would be for the decision value to equal a value that some correct process proposed – not necessarily all of them.[1] There is also a condition known as validity in the literature which refers to the property that a message sent by a process must be delivered.[1]

A protocol that can correctly guarantee consensus amongst n processes of which at most t fail is said to be t-resilient.

In evaluating the performance of consensus protocols two factors of interest are running time and message complexity. Running time is given in Big O notation in the number of rounds of message exchange as a function of some input parameters (typically the number of processes and/or the size of the input domain). Message complexity refers to the amount of message traffic that is generated by the protocol. Other factors may include memory usage and the size of messages.

Models of computation

Varying models of computation may define a "consensus problem". Some models may deal with fully connected graphs, while others may deal with rings and trees. In some models message authentication is allowed, whereas in others processes are completely anonymous. Shared memory models in which processes communicate by accessing objects in shared memory are also an important area of research.

Communication channels with direct or transferable authentication

In most models of communication protocol participants communicate through authenticated channels. This means that messages are not anonymous, and receivers know the source of every message they receive. Some models assume a stronger, transferable form of authentication, where each message is signed by the sender, so that a receiver knows not just the immediate source of every message, but the participant that initially created the message. This stronger type of authentication is achieved by digital signatures, and when this stronger form of authentication is available, protocols can tolerate a larger number of faults.[2]

The two different authentication models are often called oral communication and written communication models. In an oral communication model, the immediate source of information is known, whereas in stronger, written communication models, every step along the receiver learns not just the immediate source of the message, but the communication history of the message.[3]

Inputs and outputs of consensus

In the most traditional single-value consensus protocols such as Paxos, cooperating nodes agree on a single value such as an integer, which may be of variable size so as to encode useful metadata such as a transaction committed to a database.

A special case of the single-value consensus problem, called binary consensus, restricts the input, and hence the output domain, to a single binary digit {0,1}. While not highly useful by themselves, binary consensus protocols are often useful as building blocks in more general consensus protocols, especially for asynchronous consensus.

In multi-valued consensus protocols such as Multi-Paxos and Raft, the goal is to agree on not just a single value but a series of values over time, forming a progressively-growing history. While multi-valued consensus may be achieved naively by running multiple iterations of a single-valued consensus protocol in succession, many optimizations and other considerations such as reconfiguration support can make multi-valued consensus protocols more efficient in practice.

Crash and Byzantine failures

There are two types of failures a process may undergo, a crash failure or a Byzantine failure. A crash failure occurs when a process abruptly stops and does not resume. Byzantine failures are failures in which absolutely no conditions are imposed. For example, they may occur as a result of the malicious actions of an adversary. A process that experiences a Byzantine failure may send contradictory or conflicting data to other processes, or it may sleep and then resume activity after a lengthy delay. Of the two types of failures, Byzantine failures are far more disruptive.

Thus, a consensus protocol tolerating Byzantine failures must be resilient to every possible error that can occur.

A stronger version of consensus tolerating Byzantine failures is given by strengthening the Integrity constraint:

Integrity
If a correct process decides [math]\displaystyle{ v }[/math], then [math]\displaystyle{ v }[/math] must have been proposed by some correct process.

Asynchronous and synchronous systems

The consensus problem may be considered in the case of asynchronous or synchronous systems. While real world communications are often inherently asynchronous, it is more practical and often easier to model synchronous systems,[4] given that asynchronous systems naturally involve more issues than synchronous ones.

In synchronous systems, it is assumed that all communications proceed in rounds. In one round, a process may send all the messages it requires, while receiving all messages from other processes. In this manner, no message from one round may influence any messages sent within the same round.

The FLP impossibility result for asynchronous deterministic consensus

In a fully asynchronous message-passing distributed system, in which at least one process may have a crash failure, it has been proven in the famous 1985 FLP impossibility result by Fischer, Lynch and Paterson that a deterministic algorithm for achieving consensus is impossible.[5] This impossibility result derives from worst-case scheduling scenarios, which are unlikely to occur in practice except in adversarial situations such as an intelligent denial-of-service attacker in the network. In most normal situations, process scheduling has a degree of natural randomness.[4]

In an asynchronous model, some forms of failures can be handled by a synchronous consensus protocol. For instance, the loss of a communication link may be modeled as a process which has suffered a Byzantine failure.

Randomized consensus algorithms can circumvent the FLP impossibility result by achieving both safety and liveness with overwhelming probability, even under worst-case scheduling scenarios such as an intelligent denial-of-service attacker in the network.[6]

Permissioned versus permissionless consensus

Consensus algorithms traditionally assume that the set of participating nodes is fixed and given at the outset: that is, that some prior (manual or automatic) configuration process has permissioned a particular known group of participants who can authenticate each other as members of the group. In the absence of such a well-defined, closed group with authenticated members, a Sybil attack against an open consensus group can defeat even a Byzantine consensus algorithm, simply by creating enough virtual participants to overwhelm the fault tolerance threshold.

A permissionless consensus protocol, in contrast, allows anyone in the network to join dynamically and participate without prior permission, but instead imposes a different form of artificial cost or barrier to entry to mitigate the Sybil attack threat. Bitcoin introduced the first permissionless consensus protocol using proof of work and a difficulty adjustment function, in which participants compete to solve cryptographic hash puzzles, and probabilistically earn the right to commit blocks and earn associated rewards in proportion to their invested computational effort. Motivated in part by the high energy cost of this approach, subsequent permissionless consensus protocols have proposed or adopted other alternative participation rules for Sybil attack protection, such as proof of stake, proof of space, and proof of authority.

Equivalency of agreement problems

Three agreement problems of interest are as follows.

Terminating Reliable Broadcast

Main page: Terminating Reliable Broadcast

A collection of [math]\displaystyle{ n }[/math] processes, numbered from [math]\displaystyle{ 0 }[/math] to [math]\displaystyle{ n - 1, }[/math] communicate by sending messages to one another. Process [math]\displaystyle{ 0 }[/math] must transmit a value [math]\displaystyle{ v }[/math] to all processes such that:

  1. if process [math]\displaystyle{ 0 }[/math] is correct, then every correct process receives [math]\displaystyle{ v }[/math]
  2. for any two correct processes, each process receives the same value.

It is also known as The General's Problem.

Consensus

Formal requirements for a consensus protocol may include:

  • Agreement: All correct processes must agree on the same value.
  • Weak validity: For each correct process, its output must be the input of some correct process.
  • Strong validity: If all correct processes receive the same input value, then they must all output that value.
  • Termination: All processes must eventually decide on an output value

Weak Interactive Consistency

For n processes in a partially synchronous system (the system alternates between good and bad periods of synchrony), each process chooses a private value. The processes communicate with each other by rounds to determine a public value and generate a consensus vector with the following requirements:[7]

  1. if a correct process sends [math]\displaystyle{ v }[/math], then all correct processes receive either [math]\displaystyle{ v }[/math] or nothing (integrity property)
  2. all messages sent in a round by a correct process are received in the same round by all correct processes (consistency property).

It can be shown that variations of these problems are equivalent in that the solution for a problem in one type of model may be the solution for another problem in another type of model. For example, a solution to the Weak Byzantine General problem in a synchronous authenticated message passing model leads to a solution for Weak Interactive Consistency.[8] An interactive consistency algorithm can solve the consensus problem by having each process choose the majority value in its consensus vector as its consensus value.[9]

Solvability results for some agreement problems

There is a t-resilient anonymous synchronous protocol which solves the Byzantine Generals problem,[10][11] if [math]\displaystyle{ \tfrac{t}{n} \lt \tfrac{1}{3} }[/math] and the Weak Byzantine Generals case[8] where [math]\displaystyle{ t }[/math] is the number of failures and [math]\displaystyle{ n }[/math] is the number of processes.

For systems with [math]\displaystyle{ n }[/math] processors, of which [math]\displaystyle{ f }[/math] are Byzantine, it has been shown that there exists no algorithm that solves the consensus problem for [math]\displaystyle{ n \leq 3f }[/math] in the oral-messages model.[12] The proof is constructed by first showing the impossibility for the three-node case [math]\displaystyle{ n=3 }[/math] and using this result to argue about partitions of processors. In the written-messages model there are protocols that can tolerate [math]\displaystyle{ n=f+1 }[/math].[2]

In a fully asynchronous system there is no consensus solution that can tolerate one or more crash failures even when only requiring the non triviality property.[5] This result is sometimes called the FLP impossibility proof named after the authors Michael J. Fischer, Nancy Lynch, and Mike Paterson who were awarded a Dijkstra Prize for this significant work. The FLP result has been mechanically verified to hold even under fairness assumptions.[13] However, FLP does not state that consensus can never be reached: merely that under the model's assumptions, no algorithm can always reach consensus in bounded time. In practice it is highly unlikely to occur.

Some consensus protocols

The Paxos consensus algorithm by Leslie Lamport, and variants of it such as Raft, are used pervasively in widely deployed distributed and cloud computing systems. These algorithms are typically synchronous, dependent on an elected leader to make progress, and tolerate only crashes and not Byzantine failures.

An example of a polynomial time binary consensus protocol that tolerates Byzantine failures is the Phase King algorithm by Garay and Berman.[14] The algorithm solves consensus in a synchronous message passing model with n processes and up to f failures, provided n > 4f. In the phase king algorithm, there are f + 1 phases, with 2 rounds per phase. Each process keeps track of its preferred output (initially equal to the process's own input value). In the first round of each phase each process broadcasts its own preferred value to all other processes. It then receives the values from all processes and determines which value is the majority value and its count. In the second round of the phase, the process whose id matches the current phase number is designated the king of the phase. The king broadcasts the majority value it observed in the first round and serves as a tie breaker. Each process then updates its preferred value as follows. If the count of the majority value the process observed in the first round is greater than n/2 + f, the process changes its preference to that majority value; otherwise it uses the phase king's value. At the end of f + 1 phases the processes output their preferred values.

Google has implemented a distributed lock service library called Chubby.[15] Chubby maintains lock information in small files which are stored in a replicated database to achieve high availability in the face of failures. The database is implemented on top of a fault-tolerant log layer which is based on the Paxos consensus algorithm. In this scheme, Chubby clients communicate with the Paxos master in order to access/update the replicated log; i.e., read/write to the files.[16]

Many peer-to-peer online real-time strategy games use a modified lockstep protocol as a consensus protocol in order to manage game state between players in a game. Each game action results in a game state delta broadcast to all other players in the game along with a hash of the total game state. Each player validates the change by applying the delta to their own game state and comparing the game state hashes. If the hashes do not agree then a vote is cast, and those players whose game state is in the minority are disconnected and removed from the game (known as a desync.)

Another well-known approach is called MSR-type algorithms which have been used widely from computer science to control theory.[17][18][19]

Source Synchrony Authentication Threshold Rounds Notes
Pease-Shostak-Lamport [10] Synchronous Oral [math]\displaystyle{ n \gt 3f }[/math] [math]\displaystyle{ f+1 }[/math] total communication [math]\displaystyle{ O(n^f) }[/math]
Pease-Shostak-Lamport [10] Synchronous Written [math]\displaystyle{ n \gt f+1 }[/math] [math]\displaystyle{ f+1 }[/math] total communication [math]\displaystyle{ O(n^f) }[/math]
Ben-Or [20] Asynchronous Oral [math]\displaystyle{ n \gt 5f }[/math] [math]\displaystyle{ O(2^n) }[/math]
(expected)
expected [math]\displaystyle{ O(1) }[/math] rounds when [math]\displaystyle{ f \lt \sqrt{n} }[/math]
Dolev et al.[21] Synchronous Oral [math]\displaystyle{ n \gt 3f }[/math] [math]\displaystyle{ 2f+3 }[/math] total communication [math]\displaystyle{ O(f^3 \log f) }[/math]
Dolev-Strong [2] Synchronous Written [math]\displaystyle{ n \gt f+1 }[/math] [math]\displaystyle{ f+1 }[/math] total communication [math]\displaystyle{ O(n^2) }[/math]
Dolev-Strong [2] Synchronous Written [math]\displaystyle{ n \gt f+1 }[/math] [math]\displaystyle{ f+2 }[/math] total communication [math]\displaystyle{ O(nf) }[/math]
Feldman-Micali [22] Synchronous Oral [math]\displaystyle{ n \gt 3f }[/math] [math]\displaystyle{ O(1) }[/math]
(expected)
Katz-Koo [23] Synchronous Written [math]\displaystyle{ n \gt 2f }[/math] [math]\displaystyle{ O(1) }[/math]
(expected)
Requires Public Key Infrastructure (PKI)
PBFT [24] Asynchronous (safety)
Synchronous (liveness)
Oral [math]\displaystyle{ n \gt 3f }[/math]
Abraham et al.[25] Synchronous Written [math]\displaystyle{ n \gt 2f }[/math] [math]\displaystyle{ 8 }[/math]
Byzantine Agreement Made Trivial [26][27] Synchronous Signatures [math]\displaystyle{ n \gt 3f }[/math] [math]\displaystyle{ 9 }[/math]
(expected)
Requires digital signatures

Permissionless consensus protocols

Bitcoin uses proof of work, a difficulty adjustment function and a reorganization function to achieve permissionless consensus in its open peer-to-peer network. To extend Bitcoin's blockchain or distributed ledger, miners attempt to solve a cryptographic puzzle, where probability of finding a solution is proportional to the computational effort expended in hashes per second. The node that first solves such a puzzle has their proposed version of the next block of transactions added to the ledger and eventually accepted by all other nodes. As any node in the network can attempt to solve the proof-of-work problem, a Sybil attack is infeasible in principle unless the attacker has over 50% of the computational resources of the network.

Other cryptocurrencies (e.g. Ethereum, NEO, STRATIS, ...) use proof of stake, in which nodes compete to append blocks and earn associated rewards in proportion to stake, or existing cryptocurrency allocated and locked or staked for some time period. One advantage of a 'proof of stake' over a 'proof of work' system, is the high energy consumption demanded by the latter. As an example, Bitcoin mining (2018) is estimated to consume non-renewable energy sources at an amount similar to the entire nations of Czech Republic or Jordan, while the total energy consumption of Ethereum, the largest proof of stake network, is just under that of 205 average US households.[28][29][30]

Some cryptocurrencies, such as Ripple, use a system of validating nodes to validate the ledger. This system used by Ripple, called Ripple Protocol Consensus Algorithm (RPCA), works in rounds:

Step 1: every server compiles a list of valid candidate transactions;
Step 2: each server amalgamates all candidates coming from its Unique Nodes List (UNL) and votes on their veracity;
Step 3: transactions passing the minimum threshold are passed to the next round;
Step 4: the final round requires 80% agreement.[31]

Other participation rules used in permissionless consensus protocols to impose barriers to entry and resist sybil attacks include proof of authority, proof of space, proof of burn, or proof of elapsed time.

Contrasting with the above permissionless participation rules, all of which reward participants in proportion to amount of investment in some action or resource, proof of personhood protocols aim to give each real human participant exactly one unit of voting power in permissionless consensus, regardless of economic investment.[32][33] Proposed approaches to achieving one-per-person distribution of consensus power for proof of personhood include physical pseudonym parties,[34] social networks,[35] pseudonymized government-issued identities,[36] and biometrics.[37]

Consensus number

To solve the consensus problem in a shared-memory system, concurrent objects must be introduced. A concurrent object, or shared object, is a data structure which helps concurrent processes communicate to reach an agreement. Traditional implementations using critical sections face the risk of crashing if some process dies inside the critical section or sleeps for an intolerably long time. Researchers defined wait-freedom as the guarantee that the algorithm completes in a finite number of steps.

The consensus number of a concurrent object is defined to be the maximum number of processes in the system which can reach consensus by the given object in a wait-free implementation.[38] Objects with a consensus number of [math]\displaystyle{ n }[/math] can implement any object with a consensus number of [math]\displaystyle{ n }[/math] or lower, but cannot implement any objects with a higher consensus number. The consensus numbers form what is called Herlihy's hierarchy of synchronization objects.[39]

Consensus
number
Objects
[math]\displaystyle{ 1 }[/math] atomic read/write registers, mutex
[math]\displaystyle{ 2 }[/math] test-and-set, swap, fetch-and-add, wait-free queue or stack
... ...
[math]\displaystyle{ 2n-2 }[/math] n-register assignment
... ...
[math]\displaystyle{ \infty }[/math] compare-and-swap, load-link/store-conditional,[40] memory-to-memory move and swap, queue with peek operation, fetch&cons, sticky byte

According to the hierarchy, read/write registers cannot solve consensus even in a 2-process system. Data structures like stacks and queues can only solve consensus between two processes. However, some concurrent objects are universal (notated in the table with [math]\displaystyle{ \infty }[/math]), which means they can solve consensus among any number of processes and they can simulate any other objects through an operation sequence.[38]

See also

References

  1. 1.0 1.1 1.2 George Coulouris; Jean Dollimore; Tim Kindberg (2001), Distributed Systems: Concepts and Design (3rd ed.), Addison-Wesley, p. 452, ISBN 978-0201-61918-8 
  2. 2.0 2.1 2.2 2.3 Dolev, D.; Strong, H.R. (1983). "Authenticated algorithms for Byzantine agreement". SIAM Journal on Computing 12 (4): 656–666. doi:10.1137/0212045. 
  3. Gong, Li; Lincoln, Patrick; Rushby, John (1995). "Byzantine Agreement with authentication". Dependable Computing for Critical Applications 10. http://www.csl.sri.com/papers/dcca95/. 
  4. 4.0 4.1 Aguilera, M. K. (2010). "Stumbling over Consensus Research: Misunderstandings and Issues". Replication. Lecture Notes in Computer Science. 5959. pp. 59–72. doi:10.1007/978-3-642-11294-2_4. ISBN 978-3-642-11293-5. 
  5. 5.0 5.1 Fischer, M. J.; Lynch, N. A.; Paterson, M. S. (1985). "Impossibility of distributed consensus with one faulty process". Journal of the ACM 32 (2): 374–382. doi:10.1145/3149.214121. https://groups.csail.mit.edu/tds/papers/Lynch/jacm85.pdf. 
  6. Aspnes, James (May 1993). "Time- and Space-Efficient Randomized Consensus". Journal of Algorithms 14 (3): 414–431. doi:10.1006/jagm.1993.1022. https://www.sciencedirect.com/science/article/abs/pii/S0196677483710229. 
  7. Milosevic, Zarko; Martin Hutle; Andre Schiper (2009). "Unifying Byzantine Consensus Algorithms with Weak Interactive Consistency". Principles of Distributed Systems. Lecture Notes in Computer Science. 5293. 300–314. doi:10.1007/978-3-642-10877-8_24. ISBN 978-3-642-10876-1. https://archive.org/details/principlesofdist0000opod/page/300. 
  8. 8.0 8.1 Lamport, L. (1983). "The Weak Byzantine Generals Problem". Journal of the ACM 30 (3): 668. doi:10.1145/2402.322398. 
  9. Fischer, Michael J. "The Consensus Problem in Unreliable Distributed Systems (A Brief Survey)". http://zoo.cs.yale.edu/classes/cs426/2012/bib/fischer83consensus.pdf. 
  10. 10.0 10.1 10.2 Lamport, L.; Shostak, R.; Pease, M. (1982). "The Byzantine Generals Problem". ACM Transactions on Programming Languages and Systems 4 (3): 382–401. doi:10.1145/357172.357176. http://research.microsoft.com/en-us/um/people/lamport/pubs/byz.pdf. 
  11. Lamport, Leslie; Marshall Pease; Robert Shostak (April 1980). "Reaching Agreement in the Presence of Faults". Journal of the ACM 27 (2): 228–234. doi:10.1145/322186.322188. http://research.microsoft.com/users/lamport/pubs/reaching.pdf. Retrieved 2007-07-25. 
  12. Attiya, Hagit (2004). Distributed Computing (2nd ed.). Wiley. pp. 101–103. ISBN 978-0-471-45324-6. 
  13. Bisping, Benjamin et al. (2016), "Mechanical Verification of a Constructive Proof for FLP", in Blanchette, Jasmin Christian; Merz, Stephan, Interactive Theorem Proving, Lecture Notes in Computer Science, 9807, Springer International Publishing, pp. 107–122, doi:10.1007/978-3-319-43144-4_7, ISBN 978-3-319-43144-4 
  14. Berman, Piotr; Garay, Juan A. (1993). "Cloture Votes: n/4-resilient Distributed Consensus in t + 1 rounds". Theory of Computing Systems. 2 26: 3–19. doi:10.1007/BF01187072. 
  15. Burrows, M. (2006). "The Chubby lock service for loosely-coupled distributed systems". Proceedings of the 7th Symposium on Operating Systems Design and Implementation. USENIX Association Berkeley, CA, USA. pp. 335–350. http://research.google.com/archive/chubby-osdi06.pdf. 
  16. Tushar, C.; Griesemer, R.; Redstone, J. (2007). "Paxos Made Live – An Engineering Perspective". Proceedings of the Twenty-Sixth Annual ACM Symposium on Principles of Distributed Computing. Portland, Oregon, USA: ACM Press New York, NY, USA. pp. 398–407. doi:10.1145/1281100.1281103. http://delivery.acm.org/10.1145/1290000/1281103/p398-chandra.pdf?key1=1281103&key2=4382532021&coll=GUIDE&dl=GUIDE&CFID=15324100&CFTOKEN=95510390. Retrieved 2008-02-06. 
  17. LeBlanc, Heath J. (April 2013). "Resilient Asymptotic Consensus in Robust Networks". IEEE Journal on Selected Areas in Communications 31 (4): 766–781. doi:10.1109/JSAC.2013.130413. 
  18. Dibaji, S. M. (May 2015). "Consensus of second-order multi-agent systems in the presence of locally bounded faults". Systems & Control Letters 79: 23–29. doi:10.1016/j.sysconle.2015.02.005. 
  19. Dibaji, S. M. (July 2017). "Resilient consensus of second-order agent networks: Asynchronous update rules with delays". Automatica 81: 123–132. doi:10.1016/j.automatica.2017.03.008. Bibcode2017arXiv170103430M. 
  20. Ben-Or, Michael (1983). "Another advantage of free choice (extended abstract): Completely asynchronous agreement protocols". pp. 27–30. doi:10.1145/800221.806707. 
  21. Dolev, Danny; Fisher, Michael J.; Fowler, Rob; Lynch, Nancy; Strong, H. Raymond (1982). "An Efficient Algorithm for Byzantine Agreement without Authentication". Information and Control 52 (3): 257–274. doi:10.1016/S0019-9958(82)90776-8. 
  22. Feldman, Pesech; Micali, Sylvio (1997). "An optimal probabilistic protocol for synchronous Byzantine agreement". SIAM Journal on Computing 26 (4): 873–933. doi:10.1137/S0097539790187084. 
  23. Katz, Jonathan; Koo, Chiu-Yuen (2006). "On Expected Constant-Round Protocols for Byzantine Agreement". CRYPTO 2006. doi:10.1007/11818175_27. 
  24. Castro, Miguel; Liskov, Barbara (1999). "Practical Byzantine Fault Tolerance". http://pmg.csail.mit.edu/papers/osdi99.pdf. 
  25. Abraham, Ittai; Devadas, Srinivas; Dolev, Danny; Nayak, Kartik; Ren, Ling (September 11, 2017). "Efficient Synchronous Byzantine Consensus". https://eprint.iacr.org/2017/307.pdf. 
  26. Micali, Sylvio (March 19, 2018). "Byzantine agreement made trivial". CSAIL, MIT. https://people.csail.mit.edu/silvio/Selected%20Scientific%20Papers/Distributed%20Computation/BYZANTYNE%20AGREEMENT%20MADE%20TRIVIAL.pdf. 
  27. Chen, Jing; Micali, Silvio (2016). "ALGORAND". arXiv:1607.01341v9 [cs.CR].
  28. Irfan, Umair (June 18, 2019). "Bitcoin is an energy hog. Where is all that electricity coming from?". https://www.vox.com/2019/6/18/18642645/bitcoin-energy-price-renewable-china. 
  29. "The Merge - Implications on the Electricity Consumption and Carbon Footprint of the Ethereum Network". September 7, 2022. https://carbon-ratings.com/eth-report-2022. 
  30. "Electricity consumption per capita worldwide in 2022, by selected country". https://www.statista.com/statistics/383633/worldwide-consumption-of-electricity-by-country/. 
  31. Schwartz, David; Youngs, Noah; Britto, Arthur (2014). "The Ripple Protocol Consensus Algorithm". https://ripple.com/files/ripple_consensus_whitepaper.pdf. 
  32. Maria Borge; Eleftherios Kokoris-Kogias; Philipp Jovanovic; Linus Gasser; Nicolas Gailly; Bryan Ford (29 April 2017). "Proof-of-Personhood: Redemocratizing Permissionless Cryptocurrencies". IEEE Security & Privacy on the Blockchain (IEEE S&B). doi:10.1109/EuroSPW.2017.46. https://ieeexplore.ieee.org/document/7966966. 
  33. Divya Siddarth; Sergey Ivliev; Santiago Siri; Paula Berman (13 Oct 2020). "Who Watches the Watchmen? A Review of Subjective Approaches for Sybil-resistance in Proof of Personhood Protocols". arXiv:2008.05300 [cs.CR].
  34. Ford, Bryan; Strauss, Jacob (April 2008). "An Offline Foundation for Online Accountable Pseudonyms". 1st Workshop on Social Network Systems - SocialNets '08. pp. 31–36. doi:10.1145/1435497.1435503. ISBN 978-1-60558-124-8. 
  35. Gal Shahaf; Ehud Shapiro; Nimrod Talmon (October 2020). "Genuine Personal Identifiers and Mutual Sureties for Sybil-Resilient Community Growth". International Conference on Social Informatics. doi:10.1007/978-3-030-60975-7_24. https://link.springer.com/chapter/10.1007/978-3-030-60975-7_24. 
  36. "CanDID: Can-Do Decentralized Identity with Legacy Compatibility, Sybil-Resistance, and Accountability". 28 Sep 2020. https://eprint.iacr.org/2020/934.pdf. 
  37. Mohammad-Javad Hajialikhani; Mohammad-Mahdi Jahanara (20 June 2018). "UniqueID: Decentralized Proof-of-Unique-Human". arXiv:1806.07583 [cs.CR].
  38. 38.0 38.1 Herlihy, Maurice (January 1991). "Wait-Free Synchronization". ACM Transactions on Programming Languages and Systems 11 (1): 124–149. doi:10.1145/114005.102808. http://www.cs.brown.edu/~mph/Herlihy91/p124-herlihy.pdf. Retrieved 19 December 2011. 
  39. Imbs, Damien; Raynal, Michel (25 July 2010). "The multiplicative power of consensus numbers". Proceedings of the 29th ACM SIGACT-SIGOPS symposium on Principles of distributed computing. Association for Computing Machinery. pp. 26–35. doi:10.1145/1835698.1835705. ISBN 978-1-60558-888-9. https://hal.inria.fr/inria-00454399/file/PI-1949.pdf. Retrieved 22 April 2021. 
  40. Fich, Faith; Hendler, Danny; Shavit, Nir (25 July 2004). "On the inherent weakness of conditional synchronization primitives". Proceedings of the twenty-third annual ACM symposium on Principles of distributed computing. Association for Computing Machinery. pp. 80–87. doi:10.1145/1011767.1011780. ISBN 1-58113-802-4. 

Further reading

  • Herlihy, M.; Shavit, N. (1999). "The topological structure of asynchronous computability". Journal of the ACM 46 (6): 858. doi:10.1145/331524.331529. 
  • Saks, M.; Zaharoglou, F. (2000). "Wait-Free k-Set Agreement is Impossible: The Topology of Public Knowledge". SIAM Journal on Computing 29 (5): 1449–1483. doi:10.1137/S0097539796307698. 
  • Bashir, Imran. "Blockchain Consensus." Blockchain Consensus - An Introduction to Classical, Blockchain, and Quantum Consensus Protocols. ISBN:978-1-4842-8178-9 Apress, Berkeley, CA, 2022. doi:10.1007/978-1-4842-8179-6




Licensed under CC BY-SA 3.0 | Source: https://handwiki.org/wiki/Consensus_(computer_science)
7 views | Status: cached on July 20 2024 11:55:15
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF