Conflux 백서

Conflux

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 5쪽 중 4쪽

orx transactions, users need to putβ·x tokens into bonded storage and on dayd it isγ(d)·T (d) transactions that require users put tokens into bonded storage. 36 In total, the required amount isβ·γ(d)·T (d). We conclude that each day the miners receiving interest paid on these bonded tokens as described in (7) is the below: I(d) :=β×γ(d)·T (d)×R. (10) H. CFX Price Roughly speaking, the market cap of the Conflux network is the market price of the tokens multiplied with the number of outstanding tokens. In addition to market-driven changes to the token price, CFX changes subject to built-in inflation because the price per token relative to fiat money, ceteris paribus, falls when the number of outstanding tokens increases. This is not to say that the network becomes less valuable, it merely means that there are now more tokens available for usage in the network. This inflation rate is caused by the expansion of the monetary base in the forms of block rewards and interest payments. Let p(0) denote the initial price of a CFX token. At the launch of the mainnet, the number of tokens outstanding isG = G(0). After d days, the number of tokens has increased by the block rewards and interest payments as illustrated below: G(d) =G(0) + b(d)·d| {z } block rewards + d∑ j=1 R·α·j·n | {z } interest payments , (11) where the interest payments simplify to d∑ j=1 R·α·j·n = d(d + 1)365· 366 G(0)·rc. 37 Assuming no exogenous forces, the market driven changes to the price of CFX token on dayd is: p(d) =p(0)· G(0)G(d). (12) Using the derivations in (1) and (7), the price of CFX is therefore: p(d) = p(0)· ( 1 + d365 rb + d365d + 1366 rc )−1 . (13) Based on our current information, at main-net launch a CFX will have nominal value of $0.1 and the aggregate value of the network is $500M. As of the beginning of 2020, the Ethereum network had a market cap of around $16B, that is, x32 times that of Conflux. Notably, Ether’s price started to trade around $1 at launch and it is now above $300. In the later part of this paper, we develop an equilibrium model of token usage and mining costs that helps underpin how the token price depends on theutility that the network (and therefore, the miners) provide to users. I. Total Miner Revenue To summarize, total miner revenue,12 denoted by m(d), consists of (a) the block reward from equation (1),(b) interest income from bonded tokens as shown by equa- tion (10), and(c) user fees expressed by equation (6): m(d) = p(d)·b(d) +p(d)·I(d) +F (d) = p(d)· Grb 365 +p(d)·β×γ(d)·T (d)×R +f·T (d). (14) 12We assume that block rewards and interest income is converted to fiat equivalent using the price of CFX as derived by equation (13). 38 In the next subsection, we provide simulations to illustrate possible revenue levels with reasonable model parameters. J. Calibration of Miner Revenue Before presenting the calibration results for Conflux miner revenue, we shed some lights on what Ethereum miners currently earn for their work. There are around 6,500 blocks created per day, paying around 13,500 ETH so that the total average daily block rewards is a just shy of $3M USD (based on ETH prices of early 2020).13 For Ethereum, user-paidtransactionfeesplayanegligibleroleinminerincome, whereasforConfluxuser fees are expected to play a more significant role due to its high throughput. However, as early on, there will be few transactions while the network gains traction. Therefore, for our calibration we average miner income over relatively long horizons. Below, we compute year-long averages in 91-day intervals: ¯m(d) = 1365 (i+4)·91+d∑ d′=i·91+d m(d′), i = 0,..., 7. Weusefourvaluesforaveragetransactionfees, f∈{.005,. 01,. 02,. 08}, wherethehighest number $0.08 corresponds to the low-end median fee paid on Ethereum in early 2020, as we discussed earlier. For the uptake rate, we consider the three benchmark ratesufast(d), uETH(d), anduslow(d) from Subsection C. For the required amount of bonded storage, we useβ = 1% meaning that if the user occupies space on the blockchain for future computation that is equivalent to what 1 virtual-machine opcode transaction occupies, then this user has to put 1/100 of a CFX token into bonded storage. 13Source: bitinfocharts.com/ethereum/. 39 In the below, we make no assumptions about market-driven price appreciations ex- cept where explicitly stated. As a first step, we separately plot the three components of miner revenue: block rewards, interest income, and user fees. Figure 5 plots these daily revenues. These figures use an annual interest payments ofrc = 4%, and average fees of $.01. 40 Panel A: Block Rewards Panel B: Interest Income Panel A: Transaction Fee Revenue Figure 5 Miner Revenues over time as a Function of the Adoption Rate 41 Figure 6 Miner Revenues over time as a Function of the Adoption Rate In Figure 5, the $-value of block rewards (Panel A) declines because the price declines due to inflation; note that we assume that the number of tokens given as a block reward is constant within the interval. For the remaining two panels, we set the annual block inflation rate torb = 5%. Interest income (Panel B) rises with blockchain usage, but it is small in magnitude. Finally, user fee revenue (Panel C) plots fee income. The values recorded on the vertical axis indicates that these fees are expected an order of magnitude larger than interest income or block reward income, except immediately after the launch of the main-net. Combining these three figures, Figure 6 plots expected daily miner revenuem(d) over three years following the launch of the main-net for the three different user uptake speed scenarios. This figure uses an annual block inflation rate ofrb = 5%, annual interest payments ofrc = 4%, and average fees of $.01. 42 Figure 7 Miner Revenues over time as a Function of Average Fees Figure 7 shows the time series of expected miner revenues per day with the four different average transaction fees. When Conflux is at capacity, even for moderate fees of $0.02, miner revenue will be around $2.5M. This figure uses block inflation rate of 5%, interest payments of 4%, and Ethereum-like adoption rates. For the sake of the argument, we also consider a situation when market forces lead to increasesinthepriceofCFXtokenssuchthatinthreeyearsConfluxhasthesamemarket valuation as Ethereum today, that is, roughly a $15B market-cap. Further assume that the price change follows linear growth at some rateg such that the price at timed is pETH(d) =p(0)· (1 +g)d. The rateg that ensures that the market evaluation of Conflux three years after launch is the same as Ethereum at the beginning of 2020 isg≈ 0.0031. We now compute total miner revenue using the “speculative” pricepETH(d), i.e., in (14), 43 Figure 8 Miner Revenues if prices would grow to ETH levels we substitutep(d) with pETH(d) so that we obtain: mETH(d) = pETH(d)·b(d) +pETH(d)·I(d) +F (d) (15) Figure 8 shows the time series of expected miner revenues per day for this alternative price path,pETH, where we plot only the first 650 days. In this Figure, we use a block inflation rate of 5%, interest payments of 4%, Ethereum level adoption rates, and will- ingness to pay fees at current Ethereum rates ($0.08). We also include the revenue case when there is no price growth (it corresponds to the most “optimistic” case in Figure 7) as a point of reference. Thekey takeaway from this figure is that when we assume that prices rise significantly, miner income in the medium run is not affected, simply because transaction fees continue dominate. 44 Figure 9 Hashing Power over time as a Function of Average Fees Since miners compete to build blocks and incur a notable cost of computation power, theexpectedrevenuesrelatedirectlytotheminers’willingnesstoprovidehashpower. At current prices, miners receive on average $12.5 per GigaHz of hashing power.14 Figure 9 transfers Figure 7 by relating the hashing power that miners would be willing to provide given the predicted the mining rewards. Finally, we show how inflation from block rewards and interest payments affect min- ing revenue. Figure 10 plots the average mining revenue as a function of the block reward, measured through block inflation. We plot the curves for the first year (all medium-gray lines), and then for the second to fifth quarter (black), and third to sixth quarter (light gray). We use interest payments of 1%, 5%, and 10%, and average fees of $.01. Adoption is based on the Ethereum adoption levels (uETH). The figure indicates 14To obtain this number, we use data frometherscan.io on total daily hashing power of the network and average block revenue. 45 Figure 10 Average Revenue and Block Inflation that block rewards have a significant effect on miner income, while the interest rate has limited impact. Figure 11 confirms these latter insights. In this Figure, we plot the average mining revenue as a function of the interest rate. Again we plot the curves for the first year (all medium-gray lines), then for the second to fifth quarter (black), and finally third to sixth quarter (light gray). For this, we use block inflation rates of 1%, 5%, and 10%, and average fees of $.01. Adoption is again based on the Ethereum adoption levels (uETH). The lines are essentially flat, as indicated by the earlier figures, simply because miner income from interest rate is so small. We conclude that early on, block rewards play the most important role in miner income at the beginning, whereas, once a certain adoption rate is reached, user fees will be the most important source of income. We emphasize, however, that this is not to say that interest is irrelevant for user decisions. 46 Figure 11 Average Revenue and Interest Rates Instead, there will be many users who each have to pay a small but possibly for their case significant implicit fee for storing data on the network. VI. Economic Limits against Attacks In this section, we examine the limits of the Conflux network under two different attacks, the selfish mining attack and the double-spending attack. A. Selfish Mining Attacks If a participant in Bitcoin holds more than 23.21% of the network computation power, she can gain more mining profit by strategically withholding her mined block for a period of time before broadcasting them to the network (Sapirshtein, Sompolinsky, and Zohar 2015). This is because Bitcoin only gives reward to the blocks in the longest 47 /uni00000013 /uni00000014/uni00000013 /uni00000015/uni00000013 /uni00000016/uni00000013 /uni00000017/uni00000013 /uni00000018/uni00000013 /uni00000019/uni00000013 /uni0000001a/uni00000013 /uni0000001b/uni00000013 /uni0000001c/uni00000013 /uni00000014/uni00000013/uni00000013 /uni0000003a/uni0000004c/uni00000057/uni0000004b/uni0000004b/uni00000052/uni0000004f/uni00000047/uni0000004c/uni00000051/uni0000004a/uni00000003/uni00000053/uni00000048/uni00000055/uni0000004c/uni00000052/uni00000047/uni00000003/uni0000000b/uni00000056/uni00000048/uni00000046/uni00000052/uni00000051/uni00000047/uni00000056/uni0000000c /uni00000013/uni00000011/uni00000013 /uni00000013/uni00000011/uni00000014 /uni00000013/uni00000011/uni00000015 /uni00000013/uni00000011/uni00000016 /uni00000013/uni00000011/uni00000017 /uni00000013/uni00000011/uni00000018 /uni00000013/uni00000011/uni00000019 /uni00000013/uni00000011/uni0000001a /uni00000013/uni00000011/uni0000001b /uni00000013/uni00000011/uni0000001c /uni00000014/uni00000011/uni00000013/uni00000025/uni0000004f/uni00000052/uni00000046/uni0000004e/uni00000003/uni00000055/uni00000048/uni0000005a/uni00000044/uni00000055/uni00000047/uni00000003/uni00000055/uni00000044/uni00000057/uni0000004c/uni00000052 /uni00000033/uni00000048/uni00000051/uni00000044/uni0000004f/uni00000057/uni0000005c/uni00000003/uni00000049/uni00000052/uni00000055/uni00000003/uni0000005a/uni0000004c/uni00000057/uni0000004b/uni0000004b/uni00000052/uni0000004f/uni00000047/uni0000004c/uni00000051/uni0000004a/uni00000003/uni00000045/uni0000004f/uni00000052/uni00000046/uni0000004e/uni00000056 /uni00000024/uni00000033/uni00000020/uni00000013/uni00000011/uni00000014 /uni00000024/uni00000033/uni00000020/uni00000013/uni00000011/uni00000015 /uni00000024/uni00000033/uni00000020/uni00000013/uni00000011/uni00000016 /uni00000024/uni00000033/uni00000020/uni00000013/uni00000011/uni00000017 Figure 12 Penalty of attackers on different attacker ratios of block generation power (A) chain. When she withholds the newly mined block, she has the exclusive privilege to mine under her new block which is the current longest chain. Of course, withholding the block brings the risk that someone else may mine a new block concurrently to become the new longest chain, but the study shows that if the participant has more than 23.21% of the network computation power, the benefit of withholding will outweighs the risk; see Sapirshtein, Sompolinsky, and Zohar (2015). Because Bitcoin mining is a winner- take-all game, honest miners expect to get less reward comparing to their computation power when the selfish participant launches such fairness attacks. Conflux is more resilient against selfish mining attacks because withholding a block leads to less reward. Unlike Bitcoin, all blocks receive reward in Conflux and the reward of a block is discounted by its anti-cone size. Withholding the block will prevent future new blocks from referencing it. Therefore, it increases the anti-cone size of the block and consequently decreases the block reward. Given all network participants are rational, honest mining is incentive compatible. 48 Figure 12 presents our experimental results to illustrate the resilience of Conflux against selfish mining attacks. We run a Conflux network simulation with 10000 nodes. One of them is the attacker which will withhold her generated block for a certain period of time. In the simulation, normal nodes have the network delay (4.1 seconds in average). The attacker, however, has the capability of instantly receive and send its block to all other nodes. We run the simulation for 2000 blocks and measure the reward ratio the attacker receives comparing to the normal honest strategy for the last 1000 blocks under different the block generation power and the block withholding period. Our results show that the attacker consistently receives less reward than she would with the normal honest strategy (i.e., the reward ratio is less than 1). The longer she withholds the blocks, the less reward she will receive. More computation power will help the attacker to receive more reward, but even with 40% of the computation power of the whole network, the attacker would still get more reward if she just participates the network honestly. B. Double Spending Attacks Several works in the economics literature highlight that PoW networks face funda- mental constraints in terms of the economic incentives that can sustain ongoing security of the network (Auer 2019). The Conflux network is no different but in what follows, we argue that the constraints of Conflux are “looser” when compared to existing networks. In this section, we impose the limitation that the attacker is not capable of reversing cryptographic functions, therefore honest miners behave correctly even with the pres- ence of an attacker. We focus on double-spending attacks with selfish mining through withholding of blocks. 49 We first repeat the arguments from Budish (2018) which apply to serial blockchains. We assume that the mining of each block involves a costc (including physical equipment andelectricity)andthatthereare N identicalminerswhocompete. Forthescenariowith negligible user fees, the most significant revenue is the block rewardB per block. The miners’ participation constraint requires the expected gain to exceed the expected cost, that is: probability of winning the block×B≥ cost ⇔ B/N≥c. This condition holds for all identical miners, and in equilibrium it must hold that the aggregate cost of mining agrees with the aggregate benefit: c×N =B. (16) Now suppose an attacker wants to double-spend a transaction of valueV. The attack proceeds in the sense that the attacker builds an alternative chain faster than all re- maining miners. Assume that to gain50% power, the attacker has to payc×N, and to gain a majority they have to pay in excess of this. If the attacker spendsA×c×N on equipment, withA> 1, they gain an advantage ofA/(A + 1)> 50%; the largerA, the larger the advantage (and thus the faster they finish the attack). For a successful attack, they earn valueV, which is the amount that they can double spend. Assume that, con- ditional on the equipment advantageA, it takest blocks (in expectation) to complete the attack, that is creating a longer chain than the chain honest miners collaboratively generating. Then the cost of the attack is: t×A×c×N. 50 Once successful, however, the attacker earns not only the attack valueV but also rewards for thet blocks. Therefore, for attacks to beunattractive, it must hold that: t×A×c×N >V +t×B. (17) Using equation (16), we obtain the following: t×B(A− 1)>V. (18) Therefore, for an expected attack timet, there exists a valueV such that for allV >V, t×B(A− 1) =V <V, and the transaction of valueV cannot be secured. Inequality (18) is a firm constraint on the economics (and the security) of a serial chain such as Bitcoin. Conflux subjects to a different lower bound forV. First, to be successful in an attack, the attacker’s alternative chain must become the pivot chain. Since any epoch may contain multiple blocks, not only the attacker needs to create blocks faster, but also to generate a “heavy” chain, which will require relatively more time (and thus more resources). To simplify the argument, we abstract from this issue and assume, as before, that the honest chain contains a single block per epoch. Next, when creating the alternative chain, an attacker does not receive the full reward because block rewards are assigned based on the relative position in the block’s anti- cone in the next 10 epochs. As before, suppose the attack succeeds after t periods, and there is a single attacker in the system. Then the attacker’s first block in the alternate chain has an anti-cone of sizemin{t− 1, 10}, the second ofmin{t− 2, 10}, and so forth. Therefore, the block reward for blocka since the start of the attack is 51 B× ( 1− (min{t−a, 10}/100)2) assuming a fixed per block rewardB. For the longest chain (now the pivot chain) of lengtht since the start of the attack, the attacker will therefore earn: B· t∑ i=1 ( 1− (min{t−i, 10} 100 )2) | {z } Πt <t ×B. Using the same argument as above, and therefore, the economic constraint for Conflux becomes: B(tA− Πt)>V (19) In other words, there exists a valueV′ such that for allV∈ (V,V′], the following holds: B(tA− Πt)>V >B (tA−t) The implication of this relationship is that the set of transaction valuesV that can be secured on the Conflux network is strictly larger than in “traditional” serial blockchains such as Bitcoin. VII. The Storage Cost Model of Conflux In this section, we develop a simple model to understand Conflux’s storage cost rules. We begin with the observation that users have the choice between consuming a service on Conflux or choosing to do so with an alternative technology. The latter does not have to be an alternative blockchain but could be, for instance, a financial service or a computing service in traditional economy. Users in this model, for all practical purposes, are developers who use Conflux as an infrastructure. In our theoretical model, weabstractfrommanycomplications, suchaspricefluctuationsandotherexternalforces 52 beyond the network’s control, and focus on two groups of constituents: miners and users. Explicitly, the model does not consider holding of CFX for speculative purposes. We write the model in static form with an implicitly assumption of a steady-state outcome. For instance, we assume that there are existing users who are paying for storage, so that miners receive storage rewards. A. Miners This portion of our model is inspired by He, Tang, and Wang (2019).15 Miners buy or
프로젝트로 돌아가기