|
Post by account_disabled on Jan 26, 2024 23:32:29 GMT -5
本文最初发表于区块链评论。感谢您对合作伙伴的支持,使 SitePoint 成为可能。什么是共识?为什么它很重要? 比特币世界以及分布式账本和区块链的底层技术正在经历快速的变化和增长。 随着低信任度数字系统获得追随者和不同的用例,开发人员正在创建新的变体区块链,以应对公共、联盟和私有区块链技术之间不可避免的碎片化问题。 让我们注意一下公共区块链、联盟链和私有区块链之间的区别。 公开 ——完全去中心化且不受控制的网络,无需访问权限——任何人都可以参与共识过程来确定添加哪些交易块。公共区块链的参与者之间通常很少或没有预先存在的信任。 Learn to Code with JavaScript 联盟 ——新交易区块的共识过程由一组固定的节点控制,例如一组预先存在信任度较高的金融机构。 私有 ——访问权限受到严格控制,读取或修改区块链的权限仅限于某些用户。 读取区块链的权限可能受到限制或公开。[ 1 ] 至少一些私有区块链参与者之间通常存在某种程度的预先存在的信任。 组织所需的预先存在的信任程度以及对参与者权限的必要控制将决定使用哪种类型的区块链。 不同的区块链解决方案各有优缺点。以每种类型的区块链 WhatsApp 号码数据 中交易验证方式的差异为例: 工作量证明(PoW):关于利用资源密集型哈希过程“挖掘”交易,该过程(a)确认网络参与者之间的交易,以及(b)将确认的交易作为新块写入区块链分类账中。 接受的新区块是工作已完成的证明,因此矿工可以因成功完成工作而收到 25 BTC(比特币)付款。PoW 的问题在于它是资源密集型的,并且基于计算机资源能力在矿工之间产生中心化趋势。 股权证明(PoS):关于“验证”矿工创建的区块,并要求用户证明其“股权”的所有权[ 2 ]。验证在过程中引入了随机性,使得验证垄断的建立变得更加困难,从而增强了网络安全性。 的一个问题是“无利害关系”问题,矿工在投票支持不同的区块链历史时不会有任何损失,从而阻止达成共识。目前正在尝试解决这个问题。 该领域的其他发展希望将 PoW 与 PoS 结合起来,创建具有最高安全性和最低资源需求的混合区块链。 为此,一些开发人员专注于通过“无需挖矿的共识”来增强网络安全。[ 3 ] Tendermint 联合创始人 Jae Kwon 发表了一篇论文,描述了他的公司在这方面的概念和方法。 现有的工作量证明和权益证明协议存在各种问题,例如需要大量的能源使用支出和日益集中化(PoW),或者没有任何利害关系的参与者(PoS)可能会导致开采区块的共识中断。 Kwon 的解决方案是双重的,并且不需要工作量证明挖矿: ⅔ 大多数验证者需要签署区块提交,不超过 ⅓ 能够签署重复区块而不会受到惩罚 该协议通过破坏恶意行为者的比特币账户价值,将双花攻击的惩罚提高到令人无法接受的高水平。
|
|