Agenda
-
Chaincode-as-a-service builder for Kubernetes - Matthew White
-
See https://lists.hyperledger.org/g/fabric/message/10510 for more background.
-
Fabric 2.4 Release coming soon
-
Gateway相關內容測驗階段
前置討論:
https://github.com/hyperledger/fabric/pull/2990
https://github.com/hyperledger/fabric/issues/2884

合約部署架構圖

外部合約部署架構圖

因此在build階段這里的邏輯是“magic”可以是從遠端拉image也可以是基于github build,環境可以是k8s或者其他,
參考:https://blog.csdn.net/oe1019/article/details/106608389
參考:https://blog.csdn.net/oe1019/article/details/121062832
k8s下的外部合約

因此要在build環節讓peer知道合約跑在k8s的什么位置,
一旦peer知道了地址那么peer和chainchode之間的連接即可以建立,
所以外部部署工具之需要做很少的事情即可完成所有的事情,
PR的概要講解

案例

總結
某種意義上提供了默認的external chaincode builder在fabric端,然后把chaincode build的邏輯交到了用戶手中(依賴倒置),
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/355387.html
標籤:區塊鏈
上一篇:個人投資筆記(一)
