一个比特币要挖多久 比特币挖矿到底是在挖什么?

资讯 2024-06-20 阅读:26 评论:0
美化布局示例

欧易(OKX)最新版本

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

APP下载   全球官网 大陆官网

币安(Binance)最新版本

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

APP下载   官网地址

火币HTX最新版本

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

APP下载   官网地址

­  比特币最迷人的地方就是挖矿了。为什么挖矿这么迷人?因为挖矿能获得比特币呗(比特币是什么)。我写这篇文章的时候比特币的价格是3900美元,如果能挖到一个区块,就能获得48750美元的挖矿收入和约6000美元的交易手续费收入,这不是非常迷人吗?

& shy; bitcoin is the most fascinating place to dig. Why is mining so charming? Because mining can get Bitcoin?

­  那么到底什么是挖矿呢?矿工又如何通过挖矿获得比特币的呢?这就需要从比特币区块链系统采用的PoW(工作量证明)共识机制说起了。

So what is mining? How does a miner get bitcoin through a mine? This needs to be explained by the PoW (Credit of Work) consensus mechanism used in the Bitcoin block chain system.

­  PoW(工作量证明)共识机制

& shy; PoW (Credit of Work) Consensus Mechanism

­  先讲一个故事:

& shy; let's start with a story:

­  有一个村子,这个村子里很多事情都需要大家一起决策。比如某天,村长需要全体村民一起决策今天中午村里的大食堂是包饺子还是擀面条。

There is a village, where a lot of things need to be decided together. For example, one day, the village chief needs all the villagers to decide whether the canteen in the village today is a dumpling or a noodle.

­  通常,我们能想到的方法就是投票----每个村民一票,少数服从多数。但是有些村民并不想在食堂吃饭,所以他可能就会把票送给别人,这样就有可能会导致不公平,在食堂吃饭的大多数人可能没有实现他们的愿望。

The way we usually think about it is to vote -- one vote per village and a few to obey the majority. But some villagers don't want to eat in the canteen, so he may give the tickets to others, which may lead to unfairness, and most people eating in the canteen may not fulfil their wishes.

­  于是村长换了一种办法,他在10点50的时候,用大喇叭给全体村民广播:“大家来选择食堂中午是做饺子还是做面条,想来食堂吃饭的人,就去食堂门口推那个巨大的石头,到了11点整,石头被推到了大门东边,中午就吃饺子;推到了大门西边,中午就吃面条。”

& shy; So the village chief changed his approach, and at 10:50 he broadcast the loudspeaker to all the villagers: &ldquao; who chooses whether the canteen is for dumplings or noodles at noon, and who wants to come to the canteen for dinner, then pushes the giant stone at 11 o'clock, and the stone is pushed east of the gate and eats dumplings at noon; and pushes west of the gate and eats noodles at noon; and & rdquao;

­  于是想去食堂吃饭的人,就跑去推石头了。出力多的人群最终实现了自己的愿望,出力少的人群也心甘情愿,因为村里一直都是这样的规矩。

& shy; So whoever wants to eat in the canteen, he goes to push the rocks. The people who make the most of it finally get what they want, and the people who make the least of it are willing, because that's the way it always is in the village.

­  这个故事讲了一种实现人群共识的方式,我们可以叫它“工作量证明机制”。利用出力的多少,来证明自己的选择意愿。

& shy; this story is about a way to achieve consensus, and we can call it & & & & & & & & & & & & & ; the workload proof mechanism.

­  在这个系列的第一篇文章里,我们讲到了区块链系统能够让所有人的账本保持一致。这种让所有节点数据保持一致的机制,我们称之为共识机制。采用不同的共识算法,能够实现不同性能的共识效果,其最终目的都是保持数据的一致性。

In the first article in this series, we talk about a block chain system that allows everyone to keep their books consistent. This mechanism for aligning all node data, we call it a consensus mechanism. Using different consensus algorithms, it achieves a consensus effect on different performances, the ultimate purpose of which is to keep the data consistent.

­  记录工作量证明,不可篡改

& shy; records proof of workload and cannot be tampered with

­  我们已经知道,在比特币系统中,记录交易是系统工作的基础方式。在比特币区块链系统中,区块是记录交易的最基本容器。在比特币(BTC)中目前区块大小限制为1MB,(前几天刚刚诞生了一种新的虚拟货币,叫做比特币现金——BCC,这个区块大小限制目前是8MB)。

& shy; We already know that in bitcoin, recording transactions is the basic way the system works. In bitcoin block chain systems, blocks are the most basic packaging for recording transactions. In bitcoin (BTC), the size of blocks is currently limited to 1MB (a new virtual currency called Bitcoin Cash & mdash; & mdash; BCC, which is currently 8MB).

­  由于区块的大小有限制,因此每个区块所能容纳的交易数量也是有一定限制的。目前比特币系统规定平均每10分钟产生一个区块,因此,矿工工作的方式实质上就是在10分钟内收集网上产生的所有交易,然后将交易填到一个区块里。这个区块大约如下表所示:

The size of the blocks limits the number of transactions that each block can accommodate. Currently, the Bitcoin system provides for the generation of a block on average of 10 minutes, so miners work essentially by collecting all transactions generated online within 10 minutes and then filling them into a block. This block is approximately as follows:

­  注意第一条,在任何区块里,第一条都是没有转出地址的,就是所谓的CoinBase(挖矿交易)。没有任何人付给矿工这笔钱,矿工只是理所应当的写上自己获得了12.5比特币。所有节点都认可矿工这样写,因此矿工就得到了挖矿收入。

& shy; note that in any block, the first one is not sent out of the address, the so-called CoinBase. No one pays the miners for the money, and the miners just write that they get 12.5 bits.

­  不同的矿工在填写区块的时候,数据一定是不一样的,因为每个矿工的第一条肯定不一样,矿工只会把挖矿收入转入自己的地址。所以矿工Michael的CoinBase是“Michael获得了12.5比特币”,矿工Nancy的CoinBase是“Nancy获得了12.5比特币”。

& shy; Different miners must have different data when filling blocks, because the first one for each miner must be different, and miners simply transfer the mining revenues to their own addresses. So the miner's CoinBase is &ldquao; Michael gets 12.5 bitcoin&rdquao; Nancy's CoinBase is & ldquao; Nancy gets 12.5 bitcoin”

­  每一个矿工都把自己收集到的交易和自己该获得的收入填好了,那么,到底谁的记录才会被大家认可呢?比特币就采用工作量证明机制,让矿工互相间竞争求解一个数学题,谁先解出来了,谁的区块就会被所有人认可。

& shy; Every miner fills out the transaction he collects and the income he earns, so who's going to be accepted? Bitcoin uses a workload proof mechanism to get miners to compete with each other to solve a mathematical problem, and whoever solves it first will be accepted by everyone.

­  就好像开篇的故事讲的那个村子一样,每个矿工都在努力地推那个巨石,一旦石头把自己记录的那一页账目压住了,他就大喊一声,“我的工作量证明成功了,你们快来看!”全体矿工就都过来把那一页账目抄写一份,贴在自己账本的最后面,然后又开始新的记账过程。周而复始,生生不息,账本一页一页的增加,账本越来越厚。

& shy; As in the village where the story begins, every miner is trying to push the stone, and once the stone crushes that page of his account, he shouts, “ my workload has proved successful and you come and see! ” all the miners come and write a copy of that page, put it at the end of their book, and then start a new booking process. Again, there is no end to life, there is an increase in one page of the book, and the books are thicker and thicker.

一个比特币要挖多久

一个比特币要挖多久

­  “中本聪”决定采用工作量证明机制的时候,出发点是避免系统受到攻击。“中本聪”认为,如果一个攻击者想用搞乱账本的方式来进行攻击,那么他就需要足够的计算能力。也就是说,他要比大多数推石头的人的力量更大。这样,他就需要付出巨大的成本,但是换回的收益并不足以抵消成本,因此攻击者是没有攻击比特币系统的经济学动力的。

& & shy; & & & ldquo; & & rdquo; when deciding to use the workload proof mechanism, the starting point is to avoid an attack on the system. & & & & & & & & & & & & & & & & ; & & & & & & & & & & ; & & & & & & & & ; & & & & & & & & ; & & & & & & & & & & ; & & & & & & & & & & & & & & & & & & & & & & & ; ; & & & & & ; & & & & & & ; ; & & & & & & & ; & ; & & & & & & & & & & ; ; ; ; ; ; & ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; & ; ; ; ; ; ; ; ; ; ; ; & ; ; ; ; ; ; ; ; & ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; & ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;

­  与推石头的方式不同的地方在于,比特币中是大家一起通过穷举结果的方式,来求解一个数学题,并不是算力强的人每次都会赢,因为有人可能很幸运,一下子就搜索到了那个答案。而算力强的人,可能这次没那么幸运,穷举了很多次也没有碰到解。

& shy; The difference with the way you push a rock is that the bitcoin is where you solve a math problem through a lot of results, and not every time a very good person wins, because one may be lucky, and the answer is found at once. And a very good person may not be so lucky this time, but a lot of times has not been solved.

­  但是从概率上看,求出答案的次数和自己在整个比特币网络中算力的比例是一致的,也就是说,如果一个矿工拥有了全网30%的算力,那么基本上在1000分钟(产生了100个区块)里,有30个区块都是他找到的答案,他获得了30%的挖矿收益。

However, in probability, the number of answers obtained is consistent with the proportion of the entire Bitcoin network in which one miner has 30 per cent of the total value of the net, so that basically 30 blocks out of 1,000 minutes (where 100 blocks were created) were found, and he received 30 per cent of the mining proceeds.

­  但是,现在由于比特币的价格越来越高,推石头的人已经不满足于自己去推了,而是把家里的大骡子大马都派上去干活了。在“中本聪”最初的设计里,一个CPU一票,用算力来决定哪个矿工记的账成为最终的账目。随着比特币价格的增高,开始出现了GPU挖矿,后来人们又不满足于GPU的速度,开始制造专用芯片挖矿。专用芯片在计算比特币问题的能力上是普通CPU的数万倍,因此现在比特币已经不是“一个CPU一票”了,这也背离了当初“中本聪”的设计,比特币网络已经基本上被几大矿池所垄断,背离了去中心化货币这一初衷。

However, now that the price of bitcoin is increasing, the stone-pumpers are not satisfied with pushing themselves, but instead sending their big mules up to work. In “ Bint & rdquo; in the original design, a CPU vote was used to determine which miner's account was final. With the price of bitcoin rising, there was a start to GPU mining, and then people were not satisfied with GPU's speed and started to build specialized chips. Special chips are tens of thousands of times more common CPUs in their ability to calculate bitcoins, so now they are not &ldquao; a CPU vote & rdquao; this is also a departure from the original & & ldquo; the design of the Bitcoins network has been largely monopolized by large ponds and deviated from the original idea of centralization of the currency.

美化布局示例

欧易(OKX)最新版本

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

APP下载   全球官网 大陆官网

币安(Binance)最新版本

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

APP下载   官网地址

火币HTX最新版本

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

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

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

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

分享:

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

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

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
热门文章
  • 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...
  • 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...
  • 币圈院士:5.20比特币(BTC)以太坊(ETH)行情分析

    币圈院士:5.20比特币(BTC)以太坊(ETH)行情分析
    利空出尽?华尔街多头坚信美股将摆脱泥潭 经济衰退风险被夸大A lot of people on Wall Street believe that beauty will escape the quagmire; the risk of recession is exaggerated. 从目前美国经济的情况加上美股先有的走势来判断,确信通胀已经或即将见顶,这为价格压力回落铺平了道路,这最终将使美联储得以放缓...
  • 2000年美国GDP占世界的304%,中国GDP仅占35%,现在呢?

    2000年美国GDP占世界的304%,中国GDP仅占35%,现在呢?
    GDP作为全球公认的实力基准,就像是一个大国实力的代言人,它是布雷顿森林体系下全球团结的声音。它不仅仅是数字的累积,更是大国综合实力的人格化,默默诉说着每个国家的辉煌与荣耀。虽然GDP不是衡量一个国家综合实力的唯一标准,但无疑是最关键的指标之一。作为一面镜子,它反映了国家的经济实力和发展水平,是国家综合实力的重要体现,不容忽视。2000年,中国GDP迈过/克洛克-0/万亿美元的重要门槛,达到/克洛克-0/。2/克洛克-0/万亿美元(折合人民币7。7万亿元)。然而,在全球经济的...
标签列表