한국어
뉴스

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

title: 퀀텀아이콘퀀텀지킴이 2017.10.25 00:20 조회 수 : 1009 추천: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

번호 제목 글쓴이 날짜 조회 수
397 퀀텀, 테스트넷에 라이트닝 네트워크 솔루션 도입 [16] title: 퀀텀아이콘껀텀 2019.07.03 1455
396 QIP-5, QIP-6, QIP-9 테스트 [1] title: 퀀텀아이콘껀텀 2019.07.02 652
395 우리는 2개의 프라이버시 솔루션을 구현할 것이다 [14] title: 퀀텀아이콘껀텀 2019.06.29 1153
394 중국에서 좋은소식 Super Good News [12] title: 퀀텀아이콘껀텀 2019.06.29 1764
393 Bitcoin want smart contract, Qtum made the best practice in our industry title: 퀀텀아이콘껀텀 2019.06.26 757
392 Qtum에서 Mimble Wimble 기술을 구현 [4] title: 퀀텀아이콘껀텀 2019.06.26 742
391 개발 업데이트 (6 월 17 일 - 23 일) title: 퀀텀아이콘껀텀 2019.06.26 252
390 Mainnet Ignition v0.17.6 - 소프트 포크 - 필수 업데이트 [2] title: 퀀텀아이콘껀텀 2019.06.25 584
389 재능있는 기술자 지원 퀀텀파운데이션 창립자 Patrick Dai [3] title: 퀀텀아이콘껀텀 2019.06.19 1179
388 2019 Qtum Privacy Hackathon은 Qtum과 Beam이 공동으로 주최 title: 퀀텀아이콘껀텀 2019.06.19 322
387 퀀텀 OKEx Cooperation 베트남 Summit 2019 title: 퀀텀아이콘껀텀 2019.06.19 273
386 2019 Qtum Privacy Hackathon title: 퀀텀아이콘껀텀 2019.06.19 269
385 개발 업데이트 (6 월 10 일 -16 일) [2] title: 퀀텀아이콘껀텀 2019.06.18 390
384 trustwallet 텔방 AMA 내용들 [16] title: 퀀텀아이콘껀텀 2019.06.14 2453
383 https://t.me/trustwallet 텔방에서 AMA 6월14일 새벽2시 [3] title: 퀀텀아이콘껀텀 2019.06.13 652
382 Google BigQuery를 기반으로 Qtum에 대한 데이터의 통계, 분석 및 시각화를 실현 [4] title: 퀀텀아이콘껀텀 2019.06.12 647
381 QTUM 주간 기술보고 6월3일 ~ 6월9일 [2] title: 퀀텀아이콘Maniac 2019.06.11 540
380 3분전 올라온 패트릭 발언. [6] 패사장 2019.06.10 1624
379 비트렉스 관련 패트릭 말말말 나왔네요! [6] file 웁스아이 2019.06.09 1179
378 Qtum Full Node Incentive program 2nd Round [10] title: 퀀텀아이콘Maniac 2019.06.06 1405

퀀텀 뉴스

포인트랭킹

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