bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 5쪽 중 4쪽
vesK(P ) and the payment offer and determines
if it accepts the packet for the offered price,
5. Assuming R accepts the packet at the offered price, it
constructs a transactionT of valuen payable toM and
sends it to the Miner; and
6. OnceM sees the transaction in the reply it deliversP to
R and submitsT to the consensus group for inclusion in
the Helium network
5.3.2 Transaction Fees
Transaction fees are an essential part of most blockchain
implementations. They incentivize Miners to include a trans-
action in their draft block and ensure that spam transactions
do not pollute the Helium network.
To determine the appropriate fee for a new transaction, the
transactor will take the median of the pastδ packet transport
fees, within some margin of error. Untilδ packet transports
have occured on the Helium network, the fee will be fixed
at a constant value α. By anchoring the transaction fee to
the current fees being charged for transport on the Helium
network, we root them in reality. The Helium network’s
primary purpose is to facilitate a network of wireless Internet
coverage. In order to accomplish this in the long term,
all of the economics of the system must align to make it
practical for the primary users to transact on the Helium
network. If one set of fees were to outstrip the others, then
the Helium network would quickly lose its utility for the key
user segment.
To enable Miners and other light clients to determine an
appropriate fee, full nodes [Section 5.5] will expose a fee
suggestion API. This way resource constrained entities that
do not maintain a complete copy of the blockchain will not
need to compute the fee from the most recent transactions.
During the block submission process, Miners in the consensus
group [Section 6] will verify the correctness of the block
and ensure that no fee has deviated beyond the acceptable
threshold ofδ.
Due to the censorship-resilience built into theHelium Consen-
sus Protocol[Section 6], there is no incentive to include larger
transaction fees. Unlike Bitcoin, where miners cherry-pick
the transactions with the largest fees from their mempool to
include in their blocks, Helium miners cannot see the contents
of the transactions without collaborating with other members
of the consensus group to decrypt them. Transactions with
incorrect fees (either too high or low) will be rejected prior
to the block being appended to the blockchain.
5.3.3 Staking Fees
The assert location transaction, mentioned below [Sec-
tion 5.4], has a special type of fee calculation, a dynamic fee.
Because the Helium network reaches maximum usefulness
at a specific density of Hotspots, we want the fees to incen-
tivize the Helium network density to be as close to that ideal
as possible. To that end, the transaction fee for asserting a
location can be thought of as the y coordinate on a curve with
the formula:
y = (x− D)4 + F
whereD is the ideal Hotspot density andF is the unit fee for
a location transaction. A sample graph of this function where
D = 3 andF = 1 follows:
As can be seen, Hotspots near the ideal network density are
cheap to add, but establishing a new network or overpopu-
lating a network gets expensive very quickly. This serves to
dis-incentivize Hotspot deployments that are not beneficial
to the network. In particular, Alternate Reality Attacks and
warehouses full of Miners become prohibitively expensive.
Miners who have not asserted their location, and therefore
not paid the staking fee, will not be considered for inclusion
in the consensus group [Section 6].
Miners who move physical location will need to assert a new
location, and pay the new staking fee.
15
0 1 2 3 4 5 6
0
20
40
60
80
Density
Fee
Figure 12. Staking fee vs Miner density
5.4 Primitives in The Helium Network
Having discussed the philosophy of our transaction system
and presented our approach to facilitating microtransactions
on the Helium network, we now delineate the transaction
primitives and their properties.
add hotspot Registers a new Hotspot on the Helium net-
work, adding it to an existing account that will be respon-
sible for supplying its stake (required for mining) and will
receive mining rewards [Section 6] and fees earned by the
Hotspot
Property Description
hotspot address the public key address of the Hotspot
being added to the network
owner address the address of the owner account
signatures mutual signatures of the owner and
Hotspot
assert location Asserts a Hotspot’s location in the form of
geographic coordinates, requiring a dynamic stake
Property Description
hotspot address the address asserting its location
nonce a monotonically increasing integer
latitude the latitude of the Hotspot
longitude the longitude of the Hotspot
altitude the altitude of the Hotspot
signature the signature of the Hotspot
payment Moves tokens from one account, the payer, to
another account, the payee, including the requisite fee.
Property Description
payer address the address of the sender
payee address the address of the recipient
nonce a monotoically increasing integer
value an integer-based representation of the
tokens to send
signature the signature of the sender
5.5 Light Clients and Full Nodes
Until now, we have discussed how to deal with microtrans-
actions in a cost-effective way, however we have not yet
addressed how to deal with the inevitable continuously in-
creasing size of the blockchain. One requirement for the
Helium network is that all transactions occur on-chain. This
means that the size of the full blockchain will eventually grow
quite large. This is compounded by the fact that all Miners on
the Helium network are Hotspot devices, relatively limited in
computation power and storage space.
We solve this constraint by allowing mining nodes to operate
as light clients on the blockchain, pruning old blocks and
transactions as needed and keeping only the latest ledger
values. They will communicate over the peer-to-peer network
with full nodes which maintain a complete history of the
blockchain to verify transactions.
This raises a question: who is responsible for operating full
nodes, and what is their incentive to do so? Routers are
software-only applications with access to scalable, cloud-
based storage and will be required to operate full nodes in
order to fulfill their purpose. We will operate a set of hosted
routers that will make it easy for developers to launch prod-
ucts without needing to deploy their own router. However,
many enterprise developers, who are required to maintain a
higher standard of privacy, will want to host their own router.
Together, these routers will form a network of full nodes capa-
ble of supporting resource constrained Hotspots and wallets
operating light clients.
6. Helium Consensus Protocol
Instead of an extremely computationally expensive and power
hungry Proof-of-Work, Miners generate Proofs-of-Coverage
[Section 3]. In this section we present how these useful proofs
can be used to create permissionless network consensus.
6.1 Motivation
Many current generation blockchains rely on a computation-
ally difficult Proof-of-Work to protect the Helium network
against Sybil attacks, also known as Nakamoto Consensus.
The fact that the Proof-of-Work is computationally expensive
to create, but cheap to verify means that in order to propose
16
a new valid block to the Helium network there is evidence
that a significant amount of computation has been expended.
Due to the fact that computation is limited by hardware cost,
power cost, physical space and computational efficiency of
modern technology, Sybil attacks become impossible. How-
ever, this approach, while fundamental to the mainstream
adoption of blockchain technology, has several downsides.
Chief among the downsides is the power consumption; it is
estimated that the Bitcoin network is consuming more power
than many small countries. Bitcoin’s Proof-of-Work is so
wasteful it is now on the list of the top uses of electricity in
the world and whenever the value of Bitcoin goes up, so do
the resources devoted to mining it.
Related to the power problem is the mining pool problem.
Many blockchains have mining pools where users band
together to, in parallel, mine a single block and listing the
pool’s address as the party to get paid. The pool then shares
the block reward with the members of the pool. This ends
up defeating many of the advantages of decentralization as
both Bitcoin and Ethereum have come to be dominated by
less than 10 mining pools each. These large pools effectively
prevent independent parties from mining blocks on their own.
This means that the consensus protocol for these blockchains
is effectively controlled by a very small number of mining
pools and risks becoming further centralized.
More recently there has been increased momentum around
making blockchain consensus protocols less wasteful and
more useful to the network. Filecoin [25] has a Proof-of-
Spacetime and Ethereum [5] is moving towards a Proof-of-
Stake [26] approach.
For the Helium network, we desire a consensus protocol with
the following attributes:
Permissionless Nodes should be able to freely participate
in the Helium network without permission or approval
from any other entity, as long as those nodes operate in
accordance with the consensus rules.
Extremely decentralized in nature Network consensus should
be designed such that there is no incentive available for
taking advantage of macro-economic factors, such as
cheaper access to electricity in certain geographies, and
that simply buying more hardware in the same location
is either ineffective or cost prohibitive. Additionally, it
should be impossible for mining pools to form and for
groups to collaborate in mining blocks.
Byzantine Fault Tolerant The protocol should be tolerant
of Byzantine failures [27] such that consensus can still
be reached as long as a threshold of actors are acting
honestly.
Based on useful work Achieving network consensus should
be useful and reusable to the network. Work performed in
Nakamoto Consensus-based systems is only useful for the
particular block being mined and is not otherwise useful
or reusable on the network. An ideal consensus system
would contain work that is both useful and reusable to the
network beyond simply securing the blockchain.
High confirmed transaction rate Our ideal consensus pro-
tocol would be able to process a very high number of
transactions per second, and once a transaction is seen
in a block it would be considered confirmed. Many exist-
ing blockchains require a lengthy settlement time while
the network achieves consensus which is not ideal in a
system like the Helium network, which may experience a
very high number of transactions and where waiting for a
transaction to settle is not tenable.
Transactions are censor-resistant Ideally, Miners would
not be able to censor or otherwise pick and choose trans-
actions prior to mining them. This would not only nullify
any attempts to nefariously censor transactions, but would
allow for otherwise unattractive transactions (such as
fixed-fee transactions) to be included in the blockchain.
The remainder of this section lays out our construction of a
consensus protocol with these design goals in mind that we
refer to as the Helium Consensus Protocol.
6.2 Helium Consensus Protocol
We propose a unique consensus protocol around Proof-of-
Coverage to capture the useful work of verifying the Helium
network as a replacement for Proof-of-Work, combined with
a variant of the HoneyBadgerBFT (HBFT) [4] asynchronous
byzantine fault tolerant protocol.
6.2.1 HBFT
HBFT is an asynchronous atomic broadcast protocol designed
to achieve optimal asymptotic efficiency, initially presented
in 2016. In HBFT, the setting assumes a network of N
designated nodes with distinct well-known identities ( P0
through P N-1). In our HCP instantiation, this network of
nodes is known as the consensus group C. The consensus
group receives transactions as input, and its goal is to reach
common agreement on an ordering of these transactions and
form them into blocks to be added to the blockchain.
The protocol proceeds in rounds, where after each round, a
new batch of transactions is appended to the blockchain. At
the beginning of each round, the group chooses a subset of
the transactions in its buffer and provides them as input to an
instance of a randomized agreement protocol. At the end of
the agreement protocol, the final set of transactions for this
round is chosen.
HBFT relies on a threshold encryption scheme [28] that
requires transactions be encrypted using a sharded public
key, such that the consensus group must work together to
17
decrypt it. This means that no individual node is able to
decrypt or censor a particular transaction without colluding
with the majority of the group.
6.2.2 Applying Proof-of-Coverage to HBFT
In the Helium network, miners are required to submit Proofs-
of-Coverage to the Helium network at an epoch, ∆p. These
proofs are submitted as a special type of transaction, and
subsequently recorded to the blockchain. As detailed in
[Section 3], Miners increase their scores as they submit valid
proofs to the Helium network. At an epoch, ∆c, the highest
scoring Miners,N, are elected as the new HBFT consensus
group,C.
By using Proof-of-Coverage to elect the members ofC we
are essentially substituting for well-known identities in the
HBFT protocol. As we desire a permissionless network, we
can use Proofs-of-Coverage to determine whether Miners are
acting honestly and reward the most honest Miners at a given
epoch by electing them to the HBFT consensus group.
6.2.3 The consensus group
During ∆c, the currently elected consensus group is responsi-
ble for creating blocks and appending them to the blockchain.
All new transactions on the Helium network are submitted
to the current members of the consensus group. New blocks
are created by C at a fixed interval ∆b and recorded to the
blockchain. A token block reward is split among the members
ofC for every block submitted, along with the sum of all
fees contained within valid transactions. In the unusual case
that there are no transactions during ∆b, an empty block is
appended to the blockchain.
6.2.4 The mining process
Once the consensus groupC has been elected for a given ∆c
epoch, a distributed key generation phase occurs to bootstrap
a threshold encryption key TPKE. TPKE is a cryptographic
primitive that allows any party to encrypt a transaction to
a master public key PK, such that C must work together to
decrypt it. Oncef + 11 correct members ofC compute and
reveal decryption shares,σi, the transaction can be recovered.
Once PK is generated via the TPKE.Setup function, a block
containing PK is immediately submitted to the blockchain.
Each memberNm inC receives a secret key share, SKi, of
PK.
Miners on the Helium network submit new transactions t
toC. Each member ofC takes a random subset of the first
B transactions in its queue and applies the TPKE.Enc(PK,
t)→ e function and submits them to the other member of
C. Once the members of C receive at least N−f ethey
1 f is a protocol parameter equal to the number of tolerable byzantine faults
run the TPKE.DecShare(SKi,e)→ σi function to produce
their decryption share. Members broadcast their σi to the
other members ofC, and oncef + 1 members have seenσi
shares they can proceed to the TPKE.Dec function using PK,
e and the σi shares and attempt to decrypt the transaction.
Each member ofC appends decrypted transactions to its own
instantiation of the next block kept in a local buffer. Double-
spend and other malformed transactions are removed from
these blocks at this stage.
As members of the group cannot decrypt e on their own,
a given member cannot censor a transaction prior to its
inclusion in the candidate block withoutf + 1 members ofC
colluding as transactions are received. Any honest member
of C that has t in the first B of its transaction queue will
eventually be able to includet in a block as the other members
ofC cannot decrypt the transaction until it has been agreed
to, at which point it is too late to censor it. As the members
ofC for a ∆c epoch are selected based on their submitted
Proofs-of-Coverage, making the members unpredictable, this
type of collusion would be extremely challenging to execute.
Oncef + 1 nodes have agreed on the transactions for the
block, a TPKE threshold signature is obtained over the block.
This certifies that enough nodes to exceed the byzantine fault
threshold have agreed on a block. Members of C that are
censoring or disagreeing on the contents of the block will
produce an incompatible signature share that cannot be used
to count towards the signature threshold. This block is then
gossiped via the Helium network to all Miners and added to
the blockchain.
M
e
σi σi
N
C
NN
B
B
B
B
B
Figure 13. The Consensus Group and Mining
6.2.5 Conclusion
We have presented the Helium Consensus Protocol which
combines a modern, asynchronous and highly efficient byzan-
tine fault tolerant consensus protocol with a novel mecha-
nism for substituting permissioned identity with a useful and
18
reusable Proof-of-Coverage. The resultant protocol satisfies
the design requirements of being permissionless, decentral-
ized, byzantine fault tolerant, based on useful work, and with
a very high-rate censor proof transaction mechanism.
We refer the interested reader to [4] for a detailed breakdown
and analysis of the HoneyBadgerBFT protocol.
7. Future Work
This paper presents a well thought-out design for building
the Helium network. However, we consider this to be just
the beginning of the engineering, research and design of
decentralized wireless networks. We believe that this tight
integration of real-world hardware with a blockchain and
a native token is a novel and valuable innovation that can
be applied to other kinds of networks and wireless physical
layers. We believe that the future of blockchains is not about
who has the most hashing power or access to the cheapest
electricity, but about blockchains where the mining proof is
tied to providing a valuable, verifiable service.
There are several initiatives that we either have or intend to
undertake, including:
• Investigate the applicability of applying these ideas to
other physical layers such as WiFi, Bluetooth and Cellular
• Explore the potential for the delivery of 5G 60GHz+
mmWave connectivity through a similar design
• Research and implement more Proofs-of-Coverage to
keep the Helium network secure as it grows
• Game theoretical analysis of the incentive system
• Formally prove the scoring algorithm used in the Proof-
of-Coverage
• Create and release the WHIP wireless specification
• Manufacture Hotspots and Device modules for availability
at launch of the Helium network
• Investigate the deployment of a smart contract environ-
ment beyond the basic DWN primitives
• Continued work and evolution of Forward Error Correc-
tion techniques
Acknowledgments
This document is the result of collaborative work by members
of our team, and would not have been possible without the
help, feedback, and review of our board of directors, advisors,
investors and collaborators. We extend our most heartfelt
thanks to all involved.
We would also like to extend our thanks to Jeremy Rubin of
the MIT Digital Currency Initiative. Your earliest feedback
and direction was critical to some of the design decisions and
evolution of this project. We also thank the Blockchain at
Berkeley team for their help and detailed review of this work.
We would also like to acknowledge many of the prior works
and inventions that have allowed us to create this project,
most notably Bitcoin [9] and Ethereum [5].
19
References
[1] Marcus Torchia, Monika Kumar.IDC - Worldwide Semiannual
Internet of Things Spending Guide, 2017 (document)
[2] Shawn Fanning. Napster - independent peer-to-peer file
sharing, 1999 1
[3] Mehmet Adalier. Efficient and Secure Elliptic Curve
Cryptography Implementation of Curve P-256 2.6
[4] Andrew Miller프로젝트로 돌아가기