草庐IT

hyperledger-archives

全部标签

node.js - 在 hyperledger Fabric 区 block 链上修改链码后升级网络配置

我正在使用这个基于hyperledgerfabric区block链的医疗可追溯性区block链应用程序(https://github.com/rastringer/medication-blockchain)。它与这个项目(https://github.com/hyperledger/education/tree/master/LFS171x/fabric-material/tuna-app)完全一样,除了这个项目是为了金枪鱼的可追溯性。我修改了链码文件(文件是“drug-chaincode.go”),现在显然我需要在“basic-network”文件夹中重新配置我的所有网络,以便添加

node.js - 在 hyperledger Fabric 区 block 链上修改链码后升级网络配置

我正在使用这个基于hyperledgerfabric区block链的医疗可追溯性区block链应用程序(https://github.com/rastringer/medication-blockchain)。它与这个项目(https://github.com/hyperledger/education/tree/master/LFS171x/fabric-material/tuna-app)完全一样,除了这个项目是为了金枪鱼的可追溯性。我修改了链码文件(文件是“drug-chaincode.go”),现在显然我需要在“basic-network”文件夹中重新配置我的所有网络,以便添加

ubuntu 20.04解决在处理时有错误发生: /var/cache/apt/archives/python3-catkin-pkg-modules_0.4.24-1_all.deb问题

记录:安装ros时出现的依赖错误输入sudoaptinstallros-noetic-desktop-full之后就开始报这个错python3-rosdep-modules:依赖:python3-catkin-pkg-modules(>=0.4.0)但是它将不会被安装而且提示:可以用sudoapt--fix-brokeninstall不指名修复然后报错E:Sub-process/usr/bin/dpkgreturnedanerrorcode(1)/dpkg:errorprocessingarchive/var/cache/apt/archives/python-rospkg-modules_1

go - 无法在 Ubuntu 终端上从我自己的 github 运行 hyperledger 链码

我可以从以下官方路径运行链码:https://github.com/ibm-blockchain/learn-chaincode/finishedgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02#peerchaincodedeploy-pgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02-c'{"Function":"init","Args":["a","100","b","200"]}'但无法从我自己

go - 无法在 Ubuntu 终端上从我自己的 github 运行 hyperledger 链码

我可以从以下官方路径运行链码:https://github.com/ibm-blockchain/learn-chaincode/finishedgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02#peerchaincodedeploy-pgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02-c'{"Function":"init","Args":["a","100","b","200"]}'但无法从我自己

go - HyperLedger-Fabric ChainCode 部署 - Base64 错误

我试图按照Windows设置在我的笔记本电脑上设置Hyperledger区block链,能够启动并运行docker镜像,但是当我尝试部署提供的示例时,它总是会返回JSON中的错误输入如下图。peerchaincodedeploy-pgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02-c'{"Function":"init","Args":["a","100","b","200"]}'回复:sug@sri-ub:~/go/$dockerexec-itaa413f4c4289bashroot@aa4

go - HyperLedger-Fabric ChainCode 部署 - Base64 错误

我试图按照Windows设置在我的笔记本电脑上设置Hyperledger区block链,能够启动并运行docker镜像,但是当我尝试部署提供的示例时,它总是会返回JSON中的错误输入如下图。peerchaincodedeploy-pgithub.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02-c'{"Function":"init","Args":["a","100","b","200"]}'回复:sug@sri-ub:~/go/$dockerexec-itaa413f4c4289bashroot@aa4

Cgo include archive .a 文件

我正尝试在我的Go程序中使用外部C库。我尝试了以下方法:packagecgoexample/*#include#include#cgoCFLAGS:-I/Users/me/somelib/include#cgoLDFLAGS:/Users/me/somelib/libhello.a#include"stinger.h"voidmyprint(char*s){printf("%s",s);}*/import"C"import"unsafe"//...morehere在/Users/me/somelib/include中有.h文件,在libhello.a中有.o文件(我使用ar命令),它具

Cgo include archive .a 文件

我正尝试在我的Go程序中使用外部C库。我尝试了以下方法:packagecgoexample/*#include#include#cgoCFLAGS:-I/Users/me/somelib/include#cgoLDFLAGS:/Users/me/somelib/libhello.a#include"stinger.h"voidmyprint(char*s){printf("%s",s);}*/import"C"import"unsafe"//...morehere在/Users/me/somelib/include中有.h文件,在libhello.a中有.o文件(我使用ar命令),它具

Hyperledger Fabric/Fabric-samples 安装及使用(Mac)

因为未找到mac相关的安装方式,故根据优秀博主的文档以及本人安装、使用的经验整理此文。1.安装清单brewGitcUrldockerdocker-composeGoLangFabricFabric-samples2.开始安装2.1Gitmac自带git,也可自行安装:brewinstallgit2.2curlbrewinstallcurl2.3dockerbrewinstalldocker2.4docker-compose无需操作,docker安装完成后,也含有了docker-compose以上安装细节也可自行百度,网上都有^.^2.5GoLang1>下载Golang照旧使用brewinsta