比特币挖矿收益是怎么计算的?

资讯 2024-07-14 阅读:34 评论:0
币界网报道: 我们知道,比特币的挖矿实际上就是找出符合0的个数的Hash值,如下图:We know that Bitcoin's mining is actu...
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址
币界网报道:

我们知道,比特币的挖矿实际上就是找出符合0的个数的Hash值,如下图:

We know that Bitcoin's mining is actually a search for a zero-digit Hash value, as follows:

TIM截图20180403101311.png

那么比特币挖矿收益是怎么计算的呢?

How do you calculate the profits of bitcoin mining?

这个问题居然在网上找不到明确的中文解释,矿叔从Bitcoin官网上找到了一些资料,精简后,解释如下:

The problem was not clearly explained online in Chinese, and Uncle Mine found some information on the Bitcoin website, which was streamlined and explained as follows:

首先Hash(哈希)加密算法会产生一个256位的二进制数,为了在这256位数中“猜到”前N个字节为0的成功概率为【2的256次方-1】分之一,也就是平均需要计算2的256次方 - 1次才能算出。

First, the Hash (Hashi) encryption algorithm produces a 256-digit binary number, in order to “ guess ” the first N byte is one-fifth of the two-and-a-half, i.e. an average of two-and-a-half.

即:

That is:

2**256-1=115792089237316195423570985008687907853269984665640564039457584007913129639935

由此,当难度为D时,需要计算如下次数。(**符号代表幂运算)

Thus, when the difficulty is D, the number of times is calculated as follows. (** symbol is an operation.)

(0xffff * 2**208)/D

因此总的哈希次数为:

As a result, the overall number of Hashis is as follows:

D * 2**256 / (0xffff * 2**208)

由于比特币规则设定每10分钟产生一个区块,10分钟等于600秒,所以将上面换算成每秒算力:

Since the Bitcoin rule provides for a block to be created every 10 minutes, which equals 600 seconds, the above is converted to arithmetic per second:

D * 2**48 / 0xffff / 600

换算成10进制就是:

to 10 degrees is:

D * 2**32 / 600

以上公式是个通用公式,变量只有两个:挖矿难度和矿机算力。

The above formula is a generic formula, with only two variables: difficulty in mining and miner arithmetic.

举例:2017年8月15日,难度D为:923,233,068,448 (点击 https://blockexplorer.com/api/status?q=getDifficulty 可获取当前难度)

Example: 15 August 2017, difficulty D: 923,233,068,448 (click https://blockexporer.com/api/status?q=getDifficulty to get the current difficulty)

代入上述公式,在本轮难度下,需要算力为:6,608,759,725,949,815,794,即6609P/秒的算力,才能在10分钟内产生1个区块,即12.5个BTC。

Added to the formula described above, at the difficulty of this round, arithmetic capacity of 6,608,759,725,949,815,794, or 6609P/second, is required to produce one block, or 12.5 BTC, within 10 minutes.

也就是需要:6609P /12.5BTC=528.72P 的算力才能挖出一个比特币。

That is: 6609P/12.5 BTC = 528.72 P is needed to dig up a bitcoin.

目前最通用的蚂蚁S9矿机13.5T/s算力,也就是528720T / 13.5T/s=39164台机器挖矿,能在10分钟内产生一个BTC。

The current most commonly used ant S9 miner 13.5 T/s arithmetic, that is, 528720 T / 13.5 T/s = 39164 machines, produces a BTC in 10 minutes.

也就是 39164 / 144个10分钟=272台S9矿机,每天能挖一个BTC。

That is, 39164/144 10 minutes = 272 S9 machines, one BTC per day.

将以上过程整理成公式,设D为难度,H为算力(G为单位),每天能挖的比特币数量为:

Forming the above processes into formulae with D as difficult and H as arithmetic (G in units), the number of bitcoins that can be dug each day is as follows:

600 * 10**9 * 12.5 * 144 * H / 2 ** 32 / D

将以上公式简化为:

simplifies the formula to read:

251457 * H / D

从公式可以看出,产出与挖矿难度成反比,与矿机算力成正比。随着难度的不断攀升,每天能挖的比特币数量不断降低。

shows in formulae that output is inversely proportional to the difficulty of mining, and to the ability of the miner to calculate. As the difficulty rises, the number of bitcoins that can be dug each day decreases.

因此,只要能给出一个难度的增长比例预期,就能计算出回本时间与投资回报。

Thus, the return time and return on investment can be calculated provided that a difficult proportion of growth is expected.

备注:常用单位换算:1P=10^15,1T=10^12, 1G=10^9, 1M=10^6, 1K=10^3

Note: Conversion of commonly used units: 1 P=10~15, 1T=10~12, 1G=10~9, 1M=10~6, 1K=10~3

美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址
文字格式和图片示例

注册有任何问题请添加 微信:MVIP619 拉你进入群

弹窗与图片大小一致 文章转载注明

分享:

扫一扫在手机阅读、分享本文

发表评论
平台列表
美化布局示例

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
热门文章
  • 区块链社区有哪些?区块链社区是什么?

    区块链社区有哪些?区块链社区是什么?
    展开全文...
  • 0.00006694个比特币等于多少人民币/美金

    0.00006694个比特币等于多少人民币/美金
    0.00006694比特币等于多少人民币?根据比特币对人民币的最新汇率,0.00006694比特币等于4.53424784美元/32.5436 16人民币。比特币(BTC)美元(USDT)人民币(CNY)0.000066944.53424784【比特币密码】32.82795436 16比特币对人民币的最新汇率为:490408.64 CNY(1比特币=490408.64人民币)(1美元=7.24人民币)(0.00006694USDT=0.0004846456 CNY)汇率更新时...
  • 0.00015693个比特币等于多少人民币/美金

    0.00015693个比特币等于多少人民币/美金
    0.000 15693比特币等于多少人民币?根据比特币对人民币的最新汇率,0.000 15693比特币等于10.6 1678529美元/76.86554996人民币。比特币(BTC)【比特币价格翻倍】美元(USDT)人民币(CNY)0.000/克洛克-0/5693【数字货币矿机】10.6 167852976.8655254996比特币对人民币的最新汇率为:489,807.72 CNY(1比特币= 489,807.72人民币)(1美元=7.24人民币)(0.00015693 U...
  • 0.00003374个比特币等于多少人民币/美金

    0.00003374个比特币等于多少人民币/美金
    0.00003374比特币等于多少人民币?根据比特币对人民币的最新汇率,0.00003374比特币等于2.2826 1222美元/16.5261124728人民币。比特币(BTC)美元(USDT)人民币(CNY)0.00003374克洛克-0/22216.5261124728比特币对人民币的最新汇率为:489807.72 CNY(1比特币=489807.72人民币)(1美元=7.24人民币)(0.00003374USDT=0.0002442776 CNY)。汇率更新于2024...
  • 2018-5-31币圈简报

    2018-5-31币圈简报
    一、要闻资讯类I. KEY INFORMATION CATEGORY1、央视:数字货币在京揭牌成立!中国或为此突变!1. View: Digital currency is established in Kyoto! China or mutated for it!中国数字货币来了˂a href="https://mp.weixin.qq.com/s/69fxKCf8GKSCscS4lT8WCA" Target="_blank"rel="noformlow"" Chinese...
标签列表