Giter Club home page Giter Club logo

Comments (2)

syuukawa avatar syuukawa commented on September 6, 2024

@River-Rebase-北京 bridge的作用是夸不同的链,和中继链类似,只是中继链只是用来支持substrate所搭建的平行链。实现上就是由不同模块来实现。比如波卡中继链本身就有个parachain的模块。kusama就是polkadot的预览版本,只是同时也是一个独立的网络。bridge是需要一个单独的项目来实现,目前还没有太多的资源。w3f正在和不同团队合作实现各种bridges,不过现在还没有任何开源的结果出来。

@River-Rebase-北京

  • Kusama 是 polkadot 上线前对经济系统、安全等方面的实验版本

  • Relay chain 中继链的作用是达成关于平行链和中继链状态的共识
    - 在中继链上,可以查询、确认与它相连的平行链上的状态
    - 在平行链上,同样可以查询与它相连的中继链上的状态
    - 这些状态必需保持一致,就是所谓的共识
    - 中继链拥有自己独立的验证人节点,保证中继链的安全性,不会有双花的可能

  • Parachain 平行链是独立的区块链,拥有自己独立的链上数据和交易处理,但同时利用了中继链来保证安全性,中继链的验证人只是做 finalization
    - 平行链有自己的 collector,打包交易(出块),发送给中继链 validator 来确认,平行链的 finazation 是在中继链上记录下平行链最新的 block header。然后平行链通过内置中继链的轻节点,就可以验证中继链上面自己链 finalized 的 block
    - 平行链拥有自己独立的出块逻辑,但是它出的块只有在中继链上确认的时候,才是真正确认的,这样解决了传统区块链项目扩展性的问题
    - CryptoKitties 加密猫曾经造成了以太坊严重堵塞的问题,这对于其他以太坊的用户非常不公平,但如果加密猫是一个 parachain 平行链的话,那这条链的使用度是不会对中继链和其他平行链造成任何影响的

  • Bridges 跨链桥接,让Polkadot 生态圈能够与其他原先不在 Polkadot 生态圈中的独立链进行交流,比如比特币和以太坊
    - 让 Polkadot生态圈成为一个开发的生态圈
    - 不光可以与 Substrate 开发的链交流,还可以与其它的区块链交流

我的理解:

中继链Relaychain
中继链是Polkadot的核心,管理抵押、共识、治理等逻辑,也负责确保平行链之间的消息传递。
验证人在中继链抵押Dot代币,然后被验证人分配去做平行链的验证工作。
中继链没有具体的应用业务逻辑。

平行链Parachain
特定应用的区块链,满足特定需求。为了使用Polkadot的共享安全性、获得跨链能力,而成为平行链。
平行链一般使用Substrate开发区块链逻辑,然后通过cumulus整合到Polkadot成为平行链。
平行链之间可以通讯

桥Bridge
桥也是一种平行链,只是这个平行链用来和其他Polkadot以外的区块链进行通讯(如比特币、以太坊)
白皮书有提到比特币和以太坊的桥接思路
有一些宣称要做桥的项目,可以在这里找到https://forum.web3.foundation/t/teams-building-on-polkadot/67

kusama金丝雀网络,可以认为是测试网络(有区别),Polkadot的一个完整拷贝,作为Polkadot的先行验证网络,会比Polkadot早发布,早更新。

一般测试网络要防止别人炒作上面的币,会定期重置,所以币不值钱。
但是因为Polkadot本身实现链上治理,Kusama矿工肯定不会愿意去重置网络。
所以Kusama和测试网络有差别,KSM代币也被买卖。

ICMP的交互是链对链的,不经过relay chain。不过还是依赖于relay chain的finalization确保自己发出去的消息是对方是接收到执行的。
这个是最近的一个ICMP相关的PR paritytech/polkadot#304

from team1.

syuukawa avatar syuukawa commented on September 6, 2024

lol

from team1.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.