IEEE Consumer Electronics Magazine - July 2018 - 12

PROOF OF WORK

Proof of work was the first
decentralized consensus protocol
proposed by Nakamoto to achieve
consistency and security in the
bitcoin network.
selected validator nodes, unlike the private blockchain, which
is completely centralized, and the public blockchain, which is
completely decentralized. It is decided by the consortium
whether read or write permissions would be public or limited
to the network participants. Also, the restriction of consensus
to a set of nodes does not guarantee immutability and irreversibility, since control of the consortium by a majority can
lead to tampering with the blockchain.

Proof of work was the first decentralized consensus protocol proposed by Nakamoto to achieve consistency and security in the bitcoin network. In bitcoin, currency transfer
occurs in a completely decentralized fashion, thus requiring a consensus for authentication and block validation.
The nodes in the bitcoin network compete to calculate the
hash value of the next block, which is supposed to be less
than a dynamically varying target value, determined by the
consensus rule. Nodes achieving the solution wait for confirmation by other nodes before adding the block to the
existing blockchain.
More than one valid block might be generated if multiple
nodes find an appropriate solution causing a temporary fork
(branch) in the network. In such scenarios, all of them are
acceptable, and the nodes closer to the miners accept the
solution they receive and forward the same to other peers.
Conflict at a later stage is avoided by accepting the longest
version of the chain available at any time.

CONSENSUS ALGORITHMS
A consensus in a decentralized and distributed network with
distrusted users is the sole and imperative determinant of
the next secure update of their shared state. The following
sections present various approaches to achieve consensus in a
blockchain network, as shown in Figure 7.

PRACTICAL BYZANTINE FAULT TOLERANCE ALGORITHM
The practical Byzantine fault tolerance (PBFT) algorithm was
proposed as a solution to the Byzantine Generals' Problem,
which is about conducting a successful attack on a rival city
by the Byzantine army [11], [12]. For the Byzantine army to
win, all of the loyal generals must work from the same plan
and attack simultaneously. In addition, no matter what the
traitors do, the loyal generals should stick to the decided plan,
as a small number of traitors could ruin the plan.
Similarly, in the blockchain, PBFT works to establish consensus among the participating nodes. The nodes maintain
their current state, and, when a new message is received, the
current state and the message are fed together for computations to help the node reach a decision. This decision is then
broadcast to the network. A majority of the decisions determines the consensus for the network. Hyperledger [13],
which is working on developing consortium blockchain systems for businesses, utilizes PBFT as its underlying consensus mechanism. It should be pointed out that many of the new
developments on blockchain stem from prior work on distributed databases (e.g., [14]-[16]).

Consensus Algorithms

Proof of Work

PBFT

Proof of Stake

FIGURE 7. The consensus approaches in the blockchain.

12 IEEE Consumer Electronics Magazine

^

july 2018

PROOF OF STAKE
Proof of stake was proposed to overcome the disadvantages of
excessive power consumption by proof of work in bitcoin.
Ethereum utilizes proof of stake to achieve consensus. Instead
of investing in resources that can perform rigorous computations for hash calculations in proof of work, proof of stake
proposes to buy cryptocurrency and use it as stake in the network. The stake is directly proportional to the chance of
becoming the block validator. To reach consensus, the block
validator is randomly selected and is not predetermined. The
nodes producing valid blocks get incentives, but, if their block
is not included in the existing chain, they also lose some
amount of their stake. Various consensus models have been
created based upon several factors [17], such as the following:
▼ Type of blockchain: A blockchain network can be permissioned or permissionless.
▼ Transaction rate: The consensus algorithm basically
decides the rate at which transactions are confirmed. In
bitcoin, which employs proof of work, the transaction rate
is only seven transactions/s, because proof of work
requires significant computation time and the block generation time is 10 min.
▼ Scalability: A blockchain system is scalable if it can
achieve consensus with the number of nodes continuously
growing, especially in public blockchain systems.
▼ Participation charges: For some systems, an initial cost
of participation is required. For example, with proof of
stake, nodes invest in the cryptocurrency to express their
interest in the consensus and block validation, whereas
proof of work requires energy input, which is not necessary if you simply want to be part of the network and do
not wish to mine.
▼ Trust condition: This determines whether the nodes contributing are to be trusted and predetermined (as in consortium and private blockchain systems) or unknown (as in
public and proof of work-based blockchains).



Table of Contents for the Digital Edition of IEEE Consumer Electronics Magazine - July 2018

Contents
IEEE Consumer Electronics Magazine - July 2018 - Cover1
IEEE Consumer Electronics Magazine - July 2018 - Cover2
IEEE Consumer Electronics Magazine - July 2018 - Contents
IEEE Consumer Electronics Magazine - July 2018 - 2
IEEE Consumer Electronics Magazine - July 2018 - 3
IEEE Consumer Electronics Magazine - July 2018 - 4
IEEE Consumer Electronics Magazine - July 2018 - 5
IEEE Consumer Electronics Magazine - July 2018 - 6
IEEE Consumer Electronics Magazine - July 2018 - 7
IEEE Consumer Electronics Magazine - July 2018 - 8
IEEE Consumer Electronics Magazine - July 2018 - 9
IEEE Consumer Electronics Magazine - July 2018 - 10
IEEE Consumer Electronics Magazine - July 2018 - 11
IEEE Consumer Electronics Magazine - July 2018 - 12
IEEE Consumer Electronics Magazine - July 2018 - 13
IEEE Consumer Electronics Magazine - July 2018 - 14
IEEE Consumer Electronics Magazine - July 2018 - 15
IEEE Consumer Electronics Magazine - July 2018 - 16
IEEE Consumer Electronics Magazine - July 2018 - 17
IEEE Consumer Electronics Magazine - July 2018 - 18
IEEE Consumer Electronics Magazine - July 2018 - 19
IEEE Consumer Electronics Magazine - July 2018 - 20
IEEE Consumer Electronics Magazine - July 2018 - 21
IEEE Consumer Electronics Magazine - July 2018 - 22
IEEE Consumer Electronics Magazine - July 2018 - 23
IEEE Consumer Electronics Magazine - July 2018 - 24
IEEE Consumer Electronics Magazine - July 2018 - 25
IEEE Consumer Electronics Magazine - July 2018 - 26
IEEE Consumer Electronics Magazine - July 2018 - 27
IEEE Consumer Electronics Magazine - July 2018 - 28
IEEE Consumer Electronics Magazine - July 2018 - 29
IEEE Consumer Electronics Magazine - July 2018 - 30
IEEE Consumer Electronics Magazine - July 2018 - 31
IEEE Consumer Electronics Magazine - July 2018 - 32
IEEE Consumer Electronics Magazine - July 2018 - 33
IEEE Consumer Electronics Magazine - July 2018 - 34
IEEE Consumer Electronics Magazine - July 2018 - 35
IEEE Consumer Electronics Magazine - July 2018 - 36
IEEE Consumer Electronics Magazine - July 2018 - 37
IEEE Consumer Electronics Magazine - July 2018 - 38
IEEE Consumer Electronics Magazine - July 2018 - 39
IEEE Consumer Electronics Magazine - July 2018 - 40
IEEE Consumer Electronics Magazine - July 2018 - 41
IEEE Consumer Electronics Magazine - July 2018 - 42
IEEE Consumer Electronics Magazine - July 2018 - 43
IEEE Consumer Electronics Magazine - July 2018 - 44
IEEE Consumer Electronics Magazine - July 2018 - 45
IEEE Consumer Electronics Magazine - July 2018 - 46
IEEE Consumer Electronics Magazine - July 2018 - 47
IEEE Consumer Electronics Magazine - July 2018 - 48
IEEE Consumer Electronics Magazine - July 2018 - 49
IEEE Consumer Electronics Magazine - July 2018 - 50
IEEE Consumer Electronics Magazine - July 2018 - 51
IEEE Consumer Electronics Magazine - July 2018 - 52
IEEE Consumer Electronics Magazine - July 2018 - 53
IEEE Consumer Electronics Magazine - July 2018 - 54
IEEE Consumer Electronics Magazine - July 2018 - 55
IEEE Consumer Electronics Magazine - July 2018 - 56
IEEE Consumer Electronics Magazine - July 2018 - 57
IEEE Consumer Electronics Magazine - July 2018 - 58
IEEE Consumer Electronics Magazine - July 2018 - 59
IEEE Consumer Electronics Magazine - July 2018 - 60
IEEE Consumer Electronics Magazine - July 2018 - 61
IEEE Consumer Electronics Magazine - July 2018 - 62
IEEE Consumer Electronics Magazine - July 2018 - 63
IEEE Consumer Electronics Magazine - July 2018 - 64
IEEE Consumer Electronics Magazine - July 2018 - 65
IEEE Consumer Electronics Magazine - July 2018 - 66
IEEE Consumer Electronics Magazine - July 2018 - 67
IEEE Consumer Electronics Magazine - July 2018 - 68
IEEE Consumer Electronics Magazine - July 2018 - 69
IEEE Consumer Electronics Magazine - July 2018 - 70
IEEE Consumer Electronics Magazine - July 2018 - 71
IEEE Consumer Electronics Magazine - July 2018 - 72
IEEE Consumer Electronics Magazine - July 2018 - 73
IEEE Consumer Electronics Magazine - July 2018 - 74
IEEE Consumer Electronics Magazine - July 2018 - 75
IEEE Consumer Electronics Magazine - July 2018 - 76
IEEE Consumer Electronics Magazine - July 2018 - 77
IEEE Consumer Electronics Magazine - July 2018 - 78
IEEE Consumer Electronics Magazine - July 2018 - 79
IEEE Consumer Electronics Magazine - July 2018 - 80
IEEE Consumer Electronics Magazine - July 2018 - 81
IEEE Consumer Electronics Magazine - July 2018 - 82
IEEE Consumer Electronics Magazine - July 2018 - 83
IEEE Consumer Electronics Magazine - July 2018 - 84
IEEE Consumer Electronics Magazine - July 2018 - 85
IEEE Consumer Electronics Magazine - July 2018 - 86
IEEE Consumer Electronics Magazine - July 2018 - 87
IEEE Consumer Electronics Magazine - July 2018 - 88
IEEE Consumer Electronics Magazine - July 2018 - 89
IEEE Consumer Electronics Magazine - July 2018 - 90
IEEE Consumer Electronics Magazine - July 2018 - 91
IEEE Consumer Electronics Magazine - July 2018 - 92
IEEE Consumer Electronics Magazine - July 2018 - 93
IEEE Consumer Electronics Magazine - July 2018 - 94
IEEE Consumer Electronics Magazine - July 2018 - 95
IEEE Consumer Electronics Magazine - July 2018 - 96
IEEE Consumer Electronics Magazine - July 2018 - Cover3
IEEE Consumer Electronics Magazine - July 2018 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20240102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20231112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20221112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20211112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202010
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202009
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202007
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202004
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202003
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202001
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201909
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201907
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201905
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201903
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201901
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201811
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201809
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201807
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201805
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201803
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2015
https://www.nxtbookmedia.com