以太坊如何挖矿?以太坊挖矿的原理详解

资讯 2024-07-11 阅读:75 评论:0
以太坊如何挖矿?凡是涉及到币,就一定离不开挖矿。以太坊网络中,想要获得以太坊,也要通过挖矿来实现。那么,说道挖矿,就一定离不开共识机制。How does Etheria dig? When it comes to coins, it ha...
美化布局示例

欧易(OKX)最新版本

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

APP下载   全球官网 大陆官网

币安(Binance)最新版本

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

APP下载   官网地址

火币HTX最新版本

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

APP下载   官网地址

以太坊如何挖矿?凡是涉及到币,就一定离不开挖矿。以太坊网络中,想要获得以太坊,也要通过挖矿来实现。那么,说道挖矿,就一定离不开共识机制。

How does Etheria dig? When it comes to coins, it has to dig. When it comes to the Ethernet, it has to be done by digging. Then, when it comes to mining, it has to do with consensus mechanisms.

blob.png

比特币的共识机制是PoW (这是英文Proof of Work的缩写,意思是“工作量证明机制”)。简单来说,就是多劳多得,你付出的计算工作越高,那么你就越有可能第一个找到正确的哈希值,就越有可能得到比特币奖励。但是,比特币的PoW存在着一定的缺陷,就是它处理交易的速度太慢,矿工们需要不断地通过计算来碰撞哈希值,这是劳民伤财且效率低下的。

The consensus mechanism for Bitcoin is PoW (this is the acronym of the English Proof of Work, meaning “ the workload proof mechanism & & rdquo;). In short, the more you can find the right Hashi value, the more likely you are to get the Bitcoin reward. But, the Pow in Bitcoin has a certain flaw that it handles transactions too slowly, and miners need to constantly compute to collide the Hashi value, which is costly and inefficient.

以太坊为了弥补比特币的不足,提出了新的共识机制,名叫PoS(这是英文的缩写,意思是“权益证明”,也有翻译成“股权证明”的)。PoS简单来讲,其实就跟它的字面意思一样:权益、股权,你持有的币越多相当于你的股权越多,你的权益越高。以太坊的PoS就是说:你持币越多,你持有币的时间越久,你的计算难度就会降低,挖矿会容易一些。

In order to make up for Bitcoin's shortcomings, Taiwan has proposed a new consensus mechanism called PoS (in English, meaning “ proof of interest & rdquo; and translation & & & & rdquo; equity proof & & rdquo;). In short, PoS is like its literal meaning: The more you hold, the more you hold, the higher your interest. The more you hold, the longer you hold, the easier your calculation, the easier it is to dig.

说以太坊的共识机制是PoS,没错,但是,PoS只是以太坊发布之初的一个计划或者说目标,目前以太坊采用的共识机制也是PoW,就是比特币那个PoW。在以太坊最初的设定中,以太坊希望能够通过阶段性的升级,在前期依旧采用PoW来构建一个相对稳定的系统,之后逐渐采用PoW+PoS,最后完全过渡到PoS。

To say that the Etherm consensus mechanism is PoS, yes, but Pos is only a plan or goal from the beginning of the Etherm, and the consensus mechanism currently used by Ether is also PoW, that of Bitcoin. In its original design, the Etherms wanted to be able to build a relatively stable system through a phased upgrade, with PoW still being used in the previous period, and then gradually using PoW+PoS, with a complete transition to PoS.

这里涉及到两个信息点,第一个信息点是:以太坊采用的PoW就是比特币那个PoW,但是并不是一模一样的,是有差别的;第二个信息点是:以太坊最初的设定中,希望通过阶段性升级来最终实现由PoW向PoS过渡的。下面的内容,我们来对这两个信息点逐一说明一下。

There are two information points involved, the first one being that: the PoW used in Etheria is the PoW in Bitcoin, but it's not exactly the same, but it's different; the second is that, in its original design, it is hoped that the transition from PoW to PoS will eventually be achieved through a phased upgrade. Here we will describe each of these information points.

第一个信息点:以太坊目前采用的共识机制也是PoW,但是和比特币的PoW稍稍不同。那么,和比特币的PoW到底有什么不同呢?

The first information point: The consensus mechanism currently used by the Etherm is also PoW, but it is slightly different from the one in Bitcoin. So, what is the difference between the one in Bitcoin and the one in Bitcoin?

简单来说,就是以太坊挖矿难度可以调节,比特币挖矿难度不能调节。就好比我们高考,因为各个省份的教学情况、生源人数都不一样,所以高考分为全国卷和各省自主命题。以太坊说我赞成这样分地区出题,比特币说:不行,必须全国同一卷,大家难度都一样!

To put it simply, it's easy to dig a mine in a talisman, and it's difficult to dig a mine in a bitcoin. It's like a high test, which is divided into national volumes and provincial autonomy issues because of the differences in the teaching situation and the number of people in each province. It says that I agree with this sort of division, and Bitcoin says: No, we have to have the same volume in the country, and we all have the same difficulty.

通俗解释,就是,比特币是利用计算机算力做大量的哈希碰撞,列举出各种可能性,来找到一个正确哈希值。而以太坊系统呢,它有一个特殊的公式用来计算之后的每个块的难度。如果某个区块比前一个区块验证的更快,以太坊协议就会增加区块的难度。通过调整区块难度,就可以调整验证区块所需的时间。

The popular explanation is that Bitcoin uses computer computing to do a lot of Hash collisions, citing various possibilities, to find a correct Hashi value. In the case of the Taiwan system, it has a special formula for calculating the difficulty of each block. If a block is tested faster than the previous block, it increases the difficulty of the block. By adjusting the difficulty of the block, the time it takes to verify the block can be adjusted.

以太坊协议规定,难度的动态调整方式是使全网创建新区块的时间间隔为15秒,网络用15秒时间创建区块链,这样一来,因为时间太快,系统的同步性就大大提升,恶意参与者很难在如此短的时间发动51%(也就是半数以上)的算力去修改历史数据。

Under the Tails agreement, it is difficult to adjust dynamically by giving the entire network 15 seconds to create new blocks, and the network 15 seconds to create a chain of blocks, so that, because of the speed of time, the system's synchronization is greatly enhanced, and it is difficult for malicious participants to initiate 51 per cent (i.e. more than half) of their calculations at such a short time to modify historical data.

第二个信息点是:以太坊最初的设定中,希望通过阶段性升级来最终实现由PoW向PoS过渡的。

The second point of information is that, in its original design, it was hoped that the transition from PoW to PoS would eventually be achieved through a phased upgrade.

时间追溯到2014年,在以太坊发布之初,团队宣布将项目的发布分为四个阶段,即Froniter(前沿)、Homestead(家园)、Metropolis(大都会)和Serenity(宁静)。前三个阶段共识机制采用PoW(工作量证明机制),第四个阶段切换到PoS(权益证明机制)。

It dates back to 2014, when, at the beginning of the Etheria launch, the team announced that the project had been published in four phases, namely Frontité, Homestead, Metropolis and Serenity. The first three phases of the consensus mechanism were based on PoW (the workload certification mechanism) and the fourth phase was switched to PoS (the certificate of interests mechanism).

2015年7月30号,以太坊第一个阶段“前沿”正式发布,这个阶段只适用于开发者使用,开发人员可于在以太坊网络上编写智能合约和去中心化应用程序DAPP,矿工开始进入以太坊网络维护网络安全并挖矿得到以太币。前沿版本类似于测试版,证明以太坊网络到底是不是可靠的。

On July 30, 2015, the first phase & ldquo; Front & rdquo; officially released, this phase applies only to developers, who can prepare smart contracts and decentralised DAPPs on the Ethernet, and miners start entering the Ethernet to maintain network security and dig for mine in TT. The forward version is similar to the test version, proving whether the Ethernet is reliable or not.

2016年3月14日,以太坊进入到第二个阶段“家园”,这一阶段,以太坊提供了钱包功能,让普通用户也可以方便体验和使用以太坊。其他方面没有什么明显的技术提升,只是表明以太坊网络已经可以平稳运行。

On March 14, 2016, Etheria entered the second phase of & ldquo; Home & & rdquo; this stage, where Etheria provides wallets that make it easier for ordinary users to experience and use Ether. There is no obvious technological improvement in other areas, but only an indication that the Etherm network is working smoothly.

2017年9月,以太坊已经进行到第三个阶段“大都会”。“大都会”由拜占庭和君士坦丁堡两次升级组成,这个阶段的的目标是希望能够引入PoW和PoS的混合链模式,为PoW向PoS的顺滑过渡做准备。最近比较热门的“以太坊君士坦丁堡升级”升级的就是这个,在君士坦丁堡升级中呢,以太坊将对底层协议和算法做一些改变,来为实现PoW和PoS奠定良好的基础。

In September 2017, the Etherms began their third phase & ldquo; Metropolis & rdquo; & & & rdquo; & & & & & & & & & & ; made up of two upgrades in Byzantine and Constantinople, with the aim of introducing a mixed chain model of PoW and PoS in the hope of preparing the smooth transition of PoW to PoS. More recently, the popular & ldquo; upgrading & rdquo in Constantinople; and this is what upgrades in Constantinople, where the Tails will make some changes to the bottom agreements and algorithms in order to lay a good foundation for the realization of PoW and PoS.

以太坊挖矿会得到对多少奖励呢?赢得区块创建竞争成功的矿工会得到这么几项收入:

What are the rewards for mining in Ether? The mining unions that won the block to create a competitive competition get so many:

1)静态奖励,5个以太坊;

1) Static incentives, 5 Etheria;

2)区块内所花费的燃料成本,也就是Gas,这部分我们上一期内容讲过;

2) The cost of fuel in the blocks, that is, Gas, which we mentioned in the last issue;

3)作为区块组成部分,包含“叔区块”的额外奖励,每个叔区块可以得到挖矿报酬的1/32作为奖励,也就是5乘以1/32.等于0.15625 个以太坊。

3) As part of the blocks, there are & ldquao; &rdquao; and an additional incentive for each uncle block to receive 1/32 of the fee for mining, i.e. 5 times 1/32. equals 0.15625 to Tails.

这里我们简单解释一下“叔区块”,“叔区块”这个概念是以太坊提出来的,为什么要引进叔块的概念?这还要从比特币说起。在比特币协议中,最长的链被认为是绝对的正确。如果一个块不是最长链的一部分,那么它被称为是“孤块”。一个孤立的块是一个块,它也是合法的,但是可能发现的稍晚,或者是网络传输稍慢,而没有能成为最长的链的一部分。在比特币中,孤块没有意义,随后将被抛弃掉,发现这个孤块的矿工也拿不到采矿相关的奖励。

Here is a simple explanation of & & ldquo; & & rdquo; & & & rdquo; & & & rdquo; this concept was proposed in the Taiku, why did you introduce the concept of an uncle? This has to start with bitcoin. In bitcoin, the longest chain is considered to be absolute. If a piece is not part of the longest chain, it is called & & & & & rdquao; an isolated block is also legal, but it may be found a little late, or it may be transmitted over the Internet, but it does not become part of the longest chain. In bitco, there is no meaning for an orphan, and it will then be abandoned, and the miner who finds it will not be rewarded for mining.

但是,以太坊不认为孤块是没有价值的,以太坊系统也会给与发现孤块的矿工回报。在以太坊中,孤块被称为“叔块”(uncle block),它们可以为主链的安全作出贡献。 以太坊十几秒的出块间隔太快了,会降低安全性,通过鼓励引用叔块,使引用主链获得更多的安全保证(因为孤块本身也是合法的) ,而且,支付报酬给叔块,还能激发矿工积极挖矿,积极引用叔块,所以,以太坊认为,它是有价值的。

In Ether, the orphans are called “ uncles & & rdquo; uncle block, and they can contribute to the safety of the main chain. The distance of 10 seconds is too fast, it reduces safety, gives more security to the reference chain by encouraging the reference of uncles (as they are legal in themselves), and, by paying for uncles, they also inspire miners to actively dig mines and actively quote uncles them, so that, in the view of the community, it is valuable.

总结一下,本期我们主要介绍了以太坊的挖矿情况。以太坊宣称采用的共识机制是PoS,也就是权益证明,但是目前并没有实现,以太坊目前还停留在PoW,只是以太坊的PoW和比特币的PoW有一些不同的地方。

To sum up, we are focusing on mining in Ether. The consensus mechanism that Ether claims to use is PoS, which is proof of rights, but it has not yet been realized, and it is still in PoW, except that there are some differences between the Pow and Bitcoin PoWs in Ether.

美化布局示例

欧易(OKX)最新版本

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

APP下载   全球官网 大陆官网

币安(Binance)最新版本

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

APP下载   官网地址

火币HTX最新版本

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

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

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

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

分享:

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

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

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
热门文章
  • 支付領域投下震撼彈!美國數位銀行Chime疑與GuardPay 神盾支付合作!

    支付領域投下震撼彈!美國數位銀行Chime疑與GuardPay 神盾支付合作!
    2020年,新冠肺炎(COVID-19)疫情加速數位貨幣進展。例如:2019年4月,國際清算銀行(BIS)的調查顯示,在全球66家中央銀行中,沒有一家計畫發行跨境支付的數位貨幣。惟到了2020年10月,BIS支付委員會主席康利夫(Jon Cunliffe)指出,肺炎疫情拉高民眾對無現金支付的需求,迫使各國加快數位貨幣的研發進程日本與韓國於2021年進入數位貨幣試驗階段。直到2019年12月,美國聯邦準備理事會(Fed)都尚無數位貨幣規劃,惟到了2020年2月,Fed已開始研擬...
  • 区块链:交易系统开发指南

    区块链:交易系统开发指南
    播报编辑《区块链:交易系统开发指南》使用通俗易懂的语言,从技术的角度详细介绍了区块链交易系统应有的功能架构及工作原理,让人们能够张开双臂轻松地拥抱区块链技术,享受区块链交易系统带来的惊喜与成就感。《区块链:交易系统开发指南》共分 7 章,第 1~2 章主要介绍区块链及数字货币的基本概念,以及各种公有链的 API 接口;第3~5 章主要介绍区块链交易系统的分类架构及功能; 6 章主要介绍区块链交易系统面临的问题及演进方向;第 7 章对全书做了总结。《区块链:交易系统开发指南》是...
  • 5.14加密货币价格:BTC突破6.2万美元以太坊和山寨币反映市场情绪

    5.14加密货币价格:BTC突破6.2万美元以太坊和山寨币反映市场情绪
    今天,随着比特币(BTC)的价格突破62 000美元的门槛,顶级加密货币的价格反弹了。 此外,以铁大幅上涨,维持在2 900美元的水平。 此外,其他顶尖山硬币,如索拉纳(SOL )、XRP、卡达诺(ADA )也大幅上涨。    今天密钥加密货币价格 1. 比特币价格    在5月14日星期二撰写本文时,比特币价格上升了2.57%,达到62 487.50美元。 另一方面,在过去24小时内,交易量从65.26 % 急剧上升至277亿美元。 与此同时,加密货币的市场价值为...
  • OKEx回应用户质疑:合约交易非期货 平台无机器人

    OKEx回应用户质疑:合约交易非期货 平台无机器人
       热点点 自选股份 数据中心 数据中心 研究和资料中心 资金流动 模拟交易 客户客户 具体来说,OKEx回答用户的问题:合同交易不是期货,平台不是机器人。 金融同步化,3月22日。    昨天下午,OKEx公司就维护先前用户线下的权利问题对同步财务公司作出了回应,指出OKEx公司提供的合同交易不是期货交易,在旗下的业务中没有正式的机器人。 同时,OKEX称,它不会以非法为由对任何投资损失索赔作出答复。 答复全文如下: 同步你的财务! 近日来,...
  • 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)汇率更新时...
标签列表