西池 发表于 2024-4-14 16:38:10

区块链挖矿原来是这么一回事

<img src="https://p3-sign.toutiaoimg.com/pgc-image/RivR6n1AU5yy8h~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1713684012&amp;x-signature=kYEfgB1uyiCBcVrhTgTErLcKGZE%3D" style="width: 100%; margin-bottom: 20px;">
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">免责声明:本文旨在传递更多市场信息,不构成任何投资建议。文章仅代表作者观点,不代表火星财经官方立场。</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">小编:记得关注哦</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">来源:链客Talk</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">在整个数字货币领域,很多人都知道挖矿,然而,有些人认为挖矿很赚钱,也有人认为挖矿就是个坑。但是对于挖矿而言,其本质是一种加密的计算。</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">什么是挖矿?</strong></p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">简单说,挖矿其实就是数字货币发行的一个过程,通过区块链技术对链上数据进行记录,然后进行广播从而获得奖励,那么这个奖励就是新发行的数字货币。</p><img src="https://p3-sign.toutiaoimg.com/pgc-image/RkJE3Q6D9iTitv~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1713684012&amp;x-signature=nsu7RqospZ6cdGvvG7Oj07WCvV0%3D" style="width: 100%; margin-bottom: 20px;">
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">目前,数字货币的发行主要分为两种:<strong style="color: blue;">一种是通过计算机运行特定的算法争夺记账权益(POW工作量证明机制),另一种是通过持有有效数字货币获取的利息(POS权益证明机制)。</strong></p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">虽然这两种挖矿机制的原理不一样,但它们最终获得的结果是相同的,都是以回去的币作为奖励。现在基于这两种机制,数字货币还创新了其它发行类型,如POC容量证明,通过硬盘的存储空间进行挖矿,但POC仍没有大范围的使用。</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">怎么挖矿?</strong></p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">以上讲了关于POW和POS挖矿原理,那么,挖矿就必须要有设备,但是矿机是一笔非常大的投资,为了达到规模化,通常一个矿场会有几百台,甚至几万台以上的矿机。</p><img src="https://p3-sign.toutiaoimg.com/pgc-image/RkJE3QS9eNfsO~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1713684012&amp;x-signature=9CbEpoGrLyF8Z8Jpc%2BBMflv%2FHyg%3D" style="width: 100%; margin-bottom: 20px;">
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">POW机制挖矿:</strong>这种类型的挖矿需要矿工利用设备做一定难度的计算得出一个哈希数,而验证者能够轻松检验出这个结果的正确与否,最先计算出哈希值的矿工将获得记账权利,同时获得一定数量的手续费,即矿工费。POW挖矿会不断打包计算出新的区块Block,从而延续生成Block Chain的过程,CPU会对验证的数值进行相应的计算核对。</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">目前,POW挖矿已从CPU过渡到ASIC专业的集成电路挖矿,以便提高矿机效率获得更多的奖励。以比特币、达世币、门罗币等为代表,使用最多的是GTX 1080和1070矿机。</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">POS机制挖矿:</strong>通过质押一定的token,根据质押币的时间和数量进行奖励的分发。</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">在股权证明POS模式下,每个币每天产生1币龄,比如你持有100个币,总共持有了30天,那么,此时你的币龄就为3000,这个时候,如果你发现了一个POS区块,你的币龄就会被清空为0。</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">这一类型的币有ATOM、XTZ等,可通过两种方式参与:一种是自行介入网络成为验证节点。另一种是将币委托给验证节点,最后进行分红。</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">挖矿收益是怎么计算的?</strong></p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">以POW机制挖矿为例计算收益,因为这种类型的挖矿需要考虑矿机、电缆、变电器、电线、散热器等硬件成本、以及电力成本、全网算力、挖矿难度系数等诸多因素,所以收益等于回报减去这些条件所需的成本。</p><img src="https://p3-sign.toutiaoimg.com/pgc-image/RkJE3Qv8MlxrHB~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1713684012&amp;x-signature=r7AaUThIzCMtB7%2FDNjlVpcRllBY%3D" style="width: 100%; margin-bottom: 20px;">
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">假如抛开硬件的固定成本,大致计算公式为:</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">算力:</strong>所需设备具有的运算能力;</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">时间:</strong>开始挖矿到区块挖出时的时间范围;</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">区块奖励:</strong>每挖出一个区块所对应的奖励;</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">这个公式实际是一种理论上的收益,然而实际操作过程中还会受到矿池效率、式计算力等因素影响,而实际算力取决于硬件配置,通过将机器接入网络进行测算。另外,所有运行的硬件都不是免费的,作为矿工,电力成本(即挖矿所用的时间*设备功率和当地每度电的价格)的运营也是一大开支。</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">如果带有4个GTX 1070s GPU的采矿设备将耗费约480瓦为显卡供电,还有主板和CPU需要50瓦,这样一来耗电量总共就是530瓦。电费按照0.5元/(Kwh)计算,矿机24小时的电费就是:</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">530W=0.53Kw</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">0.53Kw X24h=12.72Kw/天</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">0.5X12.72=6.36元</p>
    <p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">即使使用相同设备,采用不同算法的项目也可能会消耗不同的电量。现在业内许多企业都在布局一些新的项目,这些项目挖矿所需的网络算力较小,如果选择正确,将来的收益也是无可估计的。</p>


页: [1]
查看完整版本: 区块链挖矿原来是这么一回事