hyperledger - 锯齿供应链应用程序设置失败

标签 hyperledger blockchain hyperledger-sawtooth

第 1/11 步:来自 hyperledger/sawtooth-shell:nightly 错误:服务“shell”无法构建:hyperledger/sawtooth-shell 的 list :nightly 未找到

我尝试在 Linux 环境上构建供应链应用程序,但构建失败。

最佳答案

Hyperledger Sawtooth 供应链已针对夜间版本 1.2 进行了修改,但尚未发布。我所做的就是恢复到支持当前 Sawtooth 版本的版本,Sawtooth 1.1:

git clone https://github.com/hyperledger/sawtooth-supply-chain
cd sawtooth-supply-chain
git diff 50c404c >bionic.patch
patch --dry-run -R -p1 <bionic.patch
patch           -R -p1 <bionic.patch
sudo docker-compose up

我见过但没有尝试过的另一个解决方案是几个 Dockerfile 周:


    diff --git a/shell/Dockerfile b/shell/Dockerfile
    index 7ea0caba..b57c2db1 100644
    --- a/shell/Dockerfile
    +++ b/shell/Dockerfile
    @@ -13,10 +13,10 @@
     # limitations under the License.
     # ------------------------------------------------------------------------------

    -FROM hyperledger/sawtooth-shell:nightly
    +FROM hyperledger/sawtooth-shell:bumper-nightly

     # Install Python, Node.js, and Ubuntu dependencies
    -RUN echo "deb http://repo.sawtooth.me/ubuntu/1.0/stable bionic universe" >> /etc/apt/sources.list \
    +RUN echo "deb http://repo.sawtooth.me/ubuntu/1.0/nightly xenial universe" >> /etc/apt/sources.list \
       && (apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 44FC67F19B2466EA \
       || apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 44FC67F19B2466EA) \
       && apt-get update \

You can also ask these questions on the Sawtooth Supply Chain chat channel (free registration with The Linux Foundation):

https://chat.hyperledger.org/channel/sawtooth-supply-chain

关于hyperledger - 锯齿供应链应用程序设置失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54687656/

相关文章:

docker - Hyperledger Composer 休息服务器 : Error trying to ping. 错误 : No peers available to query. 最后一个错误是错误:14 不可用:连接失败

blockchain - 问 : Ethereum mempool transaction of Uncle and Fork nodes

在 macOS 上构建锯齿交易处理器时出现构建错误

docker - Hyperledger锯齿安装问题。主机和Docker容器之间没有连接

blockchain - 如何更深入地了解 chainlink req.add ("path") 请求的 JSON 主体?添加 2+ 路径

hyperledger-sawtooth - super 账本锯齿波 : How to retrieve transaction that changed a specific state?

kubernetes - 无法与来自对等 super 账本结构的排序者进行通信

blockchain - node.js 中的 transientMap 和链码中的 getTransient

super 账本结构 : No script

java - 如何在android中使用bitcoinj(walletappkit)从助记词创建比特币钱包