公链,私链,联盟链...这些区块链有啥不同?
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">作为新兴科技领域,区块链的相关概念像天上的星星一样繁多,往往让人“丈二和尚摸不着头脑”。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">比如我们经常能听到,Filecoin、ETH这些主流区块链,是一种“公链”。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">那么公链是什么意思呢,对应的私链、联盟链又是什么东西呢?接下来让蝶链君带您解读。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;">·<strong style="color: blue;">公链</strong>(Public Blockchain),即公有/公共的区块链,访问与编写的权限对<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>(Private Blockchain),即私有的区块链,访问与编写的权限仅由<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>(Consortium Blockchain),即机构联盟的区块链,访问与编写的权限仅对加入<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;">越接近公链一端,去中心化程度越高,拥有访问编写权限的机构/个人越多;反之则越低和越少。</p>
<div style="text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/96f19114fac346e8bc4fe6769c3a6fb2~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1713684377&x-signature=zxLwMyghwtsZfvVNWI8vQ6k1wvM%3D" style="width: 100%; margin-bottom: 20px;"></div>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">01 公链</strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">公链,即公有链,公共链。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">公链代表:</span><strong style="color: blue;"><span style="color: green;">Filecoin</span></strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;"><span style="color: green;">公链特征是人人都可以访问网络,无需中心化机构的授权。</span></strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">比如Filecoin的任何区块均对外公开,任何人都可以在Filecoin网络上发送消息。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">由于公链是高度去中心化的,因此需要特定的</span><strong style="color: blue;"><span style="color: green;">共识机制</span></strong><span style="color: green;">,以确保各个网络节点采用同一套标准来确认新的区块。共识机制确保公链能去中心化地、无需人手干预地自动运行。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">除了共识机制,公链还需要设定</span><strong style="color: blue;"><span style="color: green;">激励机制</span></strong><span style="color: green;">。公链是高度去中心化的,通过给作出贡献的节点发放</span><strong style="color: blue;"><span style="color: green;">“通证”</span></strong><span style="color: green;">奖励,来激励网络参与者“愿意主动合作”,共同维护链上数据的安全。通证奖励往往也是新人关注区块链的动力。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;"><span style="color: green;">Filecoin网络用于激励的通证叫FIL,节点获得FIL奖励后,可以用来换取其他网络服务,或者拿到交易平台出售。</span></strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;"><span style="color: green;">由于是公共区块链,公链上所有的交易数据均是公开的。</span></strong><span style="color: green;">虽然公链上的所有节点都是匿名加入网络的,但任何节点都可以查看其他节点的账户余额以及交易活动。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">人人可参与的模式使得公链网络能以去中心化的形式,</span><strong style="color: blue;"><span style="color: green;">在全世界范围内快速发展壮大。</span></strong></p>
<div style="text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/a17df9750548448e84e2f4d0aa26d6f0~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1713684377&x-signature=gwZVLYwu3kI7R%2FViMrUyzmb2f7U%3D" style="width: 100%; margin-bottom: 20px;"></div>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">02 私链</strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">私链,即私有链。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">私链代表:</span><strong style="color: blue;"><span style="color: green;">蚂蚁金服</span></strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;"><span style="color: green;">私链的访问和编写权限由某个机构掌握。</span></strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">私链的公开程度由这个机构来决定,他人必须先注册取得许可才可以访问和使用。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;"><span style="color: green;">私链的价值主要是提供了可追溯的、不可篡改的运算平台,赋能机构的数据系统。</span></strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">私链适合用于机构的数据管理、审计等场景。</span><strong style="color: blue;"><span style="color: green;">因为相比中心化数据库,私链能够防止内部某个节点篡改数据。</span></strong><span style="color: green;">故意隐瞒或篡改数据的情况很容易被发现,发生错误时也能追踪错误来源。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;"><span style="color: green;">比起公链,私链能提供更快的交易速度、更低的交易成本。</span></strong><span style="color: green;">因为私链上只有少量的节点,也都具有很高的信任度,并不需要每个节点来验证一个交易。因此,相比需要通过大多数节点验证的公有链,私链的交易速度更快,交易成本也更低。</span></p>
<div style="text-align: left; margin-bottom: 10px;"><img src="https://p26-sign.toutiaoimg.com/pgc-image/83b2a4a85bd44660b370f42af9cc196d~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1713684377&x-signature=5NWYplXDDt%2BG1LWIv72KZNssZhs%3D" style="width: 100%; margin-bottom: 20px;"></div>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;">03 联盟链</strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">联盟链,即多个机构间建立的区块链。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">联盟链代表:</span><strong style="color: blue;"><span style="color: green;">超账本(Hyperledger)</span></strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">联盟链由机构间根据自行商定的协议建立而成。成员节点参与区块链运行需要根据规则获得访问和编写的权限。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;"><span style="color: green;">联盟链由成员节点共同维护,提供成员管理,认证,授权,监控,审计等功能。</span></strong></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">由Linux基金会成立的超账本项目,就采用了联盟链的模式。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><strong style="color: blue;"><span style="color: green;">联盟链适合机构间交易清算结算的B2B场景,用于节省对账和清算成本,减少人为错误的发生。</span></strong><span style="color: green;">联盟链对安全性能要求比公链高。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">本质上来说,联盟链是私有链的一种,只是私有程度不同,而且其权限设计要求比私有链更复杂;但联盟链比纯粹的私有链更具可信度。</span></p>
<div style="text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/b85560f68afd476cb8bfab7847028c37~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1713684377&x-signature=r3uzg64KjojXLoyY%2F%2F5FJxASz0M%3D" style="width: 100%; margin-bottom: 20px;"></div>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">总体而言,在对可信度、安全性有很高要求,而对交易速度不苛求的落地场景,公有链更有优势。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">而对于更加注重隐私保护、交易速度和内部监管的应用,开发私链或者联盟链则更加合适。</span></p>
<p style="font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;"><span style="color: green;">三者不同的区块链模式各有所长又相互补充,共同推动Web3.0的落地与应用。</span></p>
页:
[1]