한국어
뉴스

10월 16일 - 22일간의 메인넷 결과

title: 퀀텀아이콘퀀텀지킴이 2017.10.25 00:20 조회 수 : 1092 추천:5

이건 제가 좀 읽어보고.. 요약본을 올려볼게요! 일단은 이렇게 ^^;;


Weekly Results += 128, Network Weight, Statistics and Nodemap

This is my third week of reporting on the public deployment of Qtum Mainnet Ignition, examining the parameters and performance of the Qtum blockchain. Data sources for this article come from the Qtum Explorer and logging of the qtumd wallet.

Mainnet saw increasing activity this week, with the token swap on Coinone completed. Unique wallet addresses winning block rewards grew to 343 per day, and the network weight peaked up to almost 16 million. The number of Qtum ERC-20 tokens burned reached 41%, up from 26% last week. In addition to the usual staking results charts and graphs, I cover the following topics:

· Errata on target block spacing

· How is network weight calculated?

· Probability and statistics for block rewards (educational)

· The Qtum Nodemap

Network Weight

Network weight increased to a peak of 15,907,217 for block 31,638 on October 22.

Network weight varies dynamically on a block-by-block basis. An example is the network weight for October 19, which varied from a low of 8,060,321 at block 29,312 to a high of 14,589,769 at block 29,710.

Unique Reward Addresses

The network continued to become more diverse with a peak of 343 unique wallet addresses winning block rewards on October 16th. Later in the week, some big wallets joined which reduced this number.

How high could the number of unique reward address per day go? In the extreme with thousands of small wallets, the number of unique reward addresses per day could reach the number of blocks per day. This is unlikely because of random probability (a small wallet could win two block rewards per day) and because of the big wallets hauling in 4 to 20 block rewards a day. Over time, this number could reach the 400 — 450 range. This is a very healthy diversity compared to bitcoin where the top 8 pools win approximately 82% of the blocks.

Transactions Per Day

Transactions per day peaked at 11,036 on October 20 as Coinoners withdrew QTUM from that exchange.

Block Spacing Variation

This week I am able to make a deeper dive into block spacing variation, working with a larger data set of the block spacing for October 15 through October 21[1]. In this week of data there were 9 blocks with more than 20-minute spacing, with the greatest spacing for block 28,632 at 38:06. There were some speedsters on the low end too, with block 30,536 the winner at only a few seconds. Here is a look at the block spacing, for those spacings from 0 to 528 seconds.

A brief explanation about these Excel histogram charts. The x-axis groups the sorted occurrences into “buckets”, for example, the leftmost bar shows that for the bucket of 2 seconds to 17 seconds, there were 455 occurrences.

Next we “zoom in” on the block spacing and look at the occurrences from 0 to 256 seconds. 256 seconds is twice the target block spacing of 128 seconds, and about 85% of the block spacings are within this range. If we plot the results in one second buckets there is a clear 16 second pattern visible.

Occurrences are definitely clustered around 16 second cycles, which I think is related to the Proof of Stake algorithm solving for the next block reward winner (e.g., solving for the kernel hash). The dispersion around these intervals is probably due to the measurement accuracy of my logging (+- 2 seconds) and propagation time through the network.

Annual Return

This week’s annual return chart is corrected for the 128 second target block spacing (see below) which gives first-year total block rewards of 985,550 QTUM[2].

Normalized Weighting for Foundation Wallets

The Foundation vs. private chart below compares the block reward winners each day with a list of 3 dozen Foundation wallet addresses that were active before October 4th. On October 22nd, Foundation wallets were collecting 34% of the block rewards.

The methodology for calculating and charting the normalized Foundation capacity is given in a previous report. This chart attempts to show the total weight of Foundation wallets normalized for changes in network weight. The small sample size of 600 blocks a day causes some randomness for this calculation, but it appears that the Foundation held their mining capacity constant during the week.

Target Block Spacing = 128 seconds for 675 blocks per day

This is a correction to block space timing that I had used in my prior reports, where I had been using return calculations based on “2 minutes” (120 seconds) target block spacing, or 720 blocks per day. The correct target block spacing is 128 seconds (a little longer, and maybe not coincidentally 2 x Blackcoin’s target block spacing)[3]. This means that previous calculations of expected return (using 720 blocks per day) overstated returns by 6.3%. With this corrected value, you can calculate the same “expected time to reward” as the wallet, using your weight and the network weight (more on network weight next), and the formula is:

Network Weight

On the QtumNexus Slack this week there was some discussion of the network weight, some of the huge variations we saw, and why this might be happening. I think we have a mental model of “network weight” that is useful, but not grounded in reality (mea culpa, I was previously describing network weight as the sum the mature coins in all staking wallets).

The Qtum network is a peer-to-peer system with the wallets operating independently, and these wallets could not actually know the weight of all the wallets staking on the network. For example, as the network grows to thousands of nodes (wallets), the nodes simply couldn’t collect and process the data, and there is no central server in Patrick’s basement doing the network weight calculation.

What we do have is the blockchain orchestrating everything, with each node tightly coupled to the network through the blocks. Based on the code, each wallet independently calculates the “network weight” based on data from recent blocks using what financial technical analysts would call a simple moving average. This approach somehow captures the weights of the recent block reward winners and crunches them into a meaningful number: the “network weight.”

Understanding how the network weight really works helps explain the variation we see in the network weight, which fluctuates (sometimes almost wildly) on a block-by-block basis. Really big wallets (> 300k QTUM) will cause variations in the moving average when they come online and begin winning block rewards, go offline, or have an unlucky run.

Probability and Statistics for Block Rewards

(Put on your wellies, we are going to wade into some math here. If you don’t want to learn about the probability and statistics behind block rewards, please skip ahead to Nodemap)

Your report writer had some time to think about probability and the distribution of block reward timing this week, as he suffered through a long fallow period for his wallet. Patience is a virtue, and while waiting for block rewards, patience is also a necessity. The wallet gives the expected time to a reward (with the calculation shown above), but I wondered, how long could the wait be?

To answer this question we need some basic probability. First, we consider independent trials, and there have been some questions related to this on the Slack and subreddit this week. Random variables do not have a history because each roll of the dice, spin of the roulette wheel, etc., is an independent trial and the previous results have no influence on the next result. That is why you can’t beat a roulette wheel, slot machine (usually), or lottery (usually) by keeping track of previous results.

The timing for Qtum block rewards does not have a history, and the “time to expected reward” is a calculation of the average time, with no history involved. With PoS staking, rewards do not accrue like they do for pool mining. If your expected time to reward is one day, it doesn’t mean that after one day you will get the reward, it means that on average you will get a reward in one day, but the actual time could be much less or much greater.

Probability of winning

The probability of winning the next block reward is simply your wallet weight, divided by the network weight. Suppose you have a wallet with 1,000 mature coins, and the network weight is 10,000,000, then the formula gives:

Probability values range from 0.0 (not gonna happen) to 1.0 (guaranteed to happen). A probability of 0.0001 means there is 1 chance in 10,000 you will win, or in percentage terms, a 0.01% chance of winning the next block reward.

To calculate the probability of winning a block reward over multiple independent trials, you simply add the probability for each trial:

The probability of winning a block reward in one day can be calculated by taking each of the 675 trials in a day and adding them together, or more easily, taking the probability of one trial and multiplying by 675:

Continuing this example, the probability for a block reward in one day for 1,000 coins, with the network weight of 10,000,000 is 0.675, or 67.5%. To get a probability of 1.0 (the time period where on average, it should happen), divide 1 by 0.675 to get 1.482 days, which the qtum-qt wallet would display (rounding down to 1 day) as

Test your understanding of independent trials: could a wallet win two blocks back-to-back? [4]

Probability of not winning

How can we examine the probability of not winning a block reward over a given period of time, so that we can tell if we should worry when our wallet goes through a fallow period? I should have paid more attention in statistics class, and even though I think the answer lies somewhere with the distribution of interarrival times for Poisson processes[5], I’m going to fall back on the Python script simulator for block rewards that I wrote for the first paper in this series.

At this point in the paper we are switching from the probability calculations above, which are giving “on average” answers, e.g., your expected time (on average) to win a block reward is 1 day. Using statistics, we can get answers like: what percentage of the time will I have to wait 3 days for a block reward?

Using input parameters for the simulator of my weight = 1,000, and a network weight of 10,000,000, I looked at the time between block rewards, which is what an individual wallet would experience. Running through 100 years of rewards (with no yearly compound interest effects) the simulation won 2,449 block rewards, with a median time of 9.90 days. This means that for 50% of the time, the simulation received a block reward before 9.90 days. This also means that for 50% of the time, there was no block reward before 9.90 days.

The resulting chart of “No Reward Before a Time” is given below.

With statistics, we don’t have to say “on average” anymore. We can say, using this chart, that 50% of the time this wallet will not receive a block reward within 9.9 days (point A), and that for 10% of the time this wallet will not receive a block reward within 32.2 days (point B).

To use these results with your wallet, scale the t

번호 제목 글쓴이 날짜 조회 수
» 10월 16일 - 22일간의 메인넷 결과 [2] title: 퀀텀아이콘퀀텀지킴이 2017.10.25 1092
37 퀀텀 모바일지갑 오픈! [11] title: 퀀텀아이콘퀀텀지킴이 2017.10.24 958
36 [한글번역] Nothing at stake 문제 관련하여 (PoS vs. CASPER) [11] title: 퀀텀아이콘퀀텀지킴이 2017.10.24 709
35 [말말말] 보디 dapp 은 퀀텀만 받습니다! [17] title: 퀀텀아이콘퀀텀지킴이 2017.10.22 1235
34 [10월 21일] 패트릭 말말말 [10] title: 퀀텀아이콘퀀텀지킴이 2017.10.21 1151
33 [10월 21일 밋업] 퀀텀 디앱 리스트 [12] title: 퀀텀아이콘퀀텀지킴이 2017.10.21 997
32 [10월 21일] 새로운 로드맵 [8] title: 퀀텀아이콘퀀텀지킴이 2017.10.21 975
31 10월 20일 오후 2시 패트릭다이 실시간 인터뷰 주소 title: 퀀텀아이콘퀀텀지킴이 2017.10.20 494
30 퀀텀팀의 새로운 어드바이저 (new advisor) [5] title: 퀀텀아이콘퀀텀지킴이 2017.10.19 1057
29 [10월 19일] 패트릭 말말말 [14] title: 퀀텀아이콘퀀텀지킴이 2017.10.19 1139
28 유통물량 증가 관련 팀 멘트 [10] title: 퀀텀아이콘퀀텀지킴이 2017.10.19 760
27 Wireline And Qtum To Pioneer The Next Generation Of Cloud Computing [4] title: 퀀텀아이콘퀀텀지킴이 2017.10.19 522
26 코인원블록스X퀀텀 토크콘서트 (CoinoneBlocks X QTUM Talk Concert) [8] title: 퀀텀아이콘퀀텀지킴이 2017.10.17 690
25 퀀텀 모바일 지갑 [10] title: 퀀텀아이콘퀀텀지킴이 2017.10.17 810
24 잉크, Qtum에 기반한 지적 재산을위한 생태계 발표 title: 퀀텀아이콘퀀텀교주 2017.10.17 436
23 Exclusive Interview with QTUM’s Jordan Earls [퀀텀팀 조던얼즈 단독인터뷰] [1] title: 퀀텀아이콘퀀텀지킴이 2017.10.16 674
22 퀀텀지갑 사용방법 [퀀텀팀 정식배포버전] [5] file title: 퀀텀아이콘퀀텀지킴이 2017.10.16 892
21 코인네스트, 블록체인 기술 공유 ‘CAM-UP’ 컨퍼런스 개최 [2] title: 퀀텀아이콘퀀텀교주 2017.10.16 535
20 upcoming topics (곧 있을 주제들) [33] title: 퀀텀아이콘퀀텀지킴이 2017.10.12 1364
19 [제7회] 설립인과 함께하는 퀀텀(Qtum) 공개밋업2 [6] title: 퀀텀아이콘퀀텀지킴이 2017.10.12 680

퀀텀 뉴스

포인트랭킹

순위 닉네임 포인트
1위 title: 스텔라쿵 캐리커쳐 #1타이어 7479995점
2위 슈퍼비트 6511300점
3위 title: 퀀텀아이콘빵먹는곰돌이 6472344점
4위 title: 스텔라쿵 캐리커쳐 #1미스릴 6224546점
5위 불꽃 6119050점
6위 지금감사 5822300점
7위 title: 퀀텀아이콘봄이 5501650점
8위 밀키웨이 3047900점
9위 빵상 2975450점
10위 대바기 2728250점