Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    blockcloud
    @blockcloud
    你好,国密的fabric是可以直接用的吗?如果要做成密码算法可选应该如何做呢?
    TJF
    @tjfoc
    目前已发布版本的fabric-gm,是可以测试使用了。但是对应的SDK还没有完成,所以暂时无法支持外部应用。
    bengewb
    @bengewb
    这个改造是基于fabric哪个版本实现的?
    TJF
    @tjfoc
    1.0.2
    bengewb
    @bengewb
    改造的清单可以通过哪里看到码?
    TJF
    @tjfoc
    这个倒是没有,涉及的地方挺多
    asaningmaxchain
    @asaningmaxchain
    Cannot run peer because error when setting up MSP from directory /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp: getCertFromPem error: failed to parse x509 cert: x509: unsupported elliptic curve
    !!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
    mxz-scott
    @mxz-scott
    这个错误应该证书认证的问题,需要国密版的证书,建议先编译 crypto-gen 工具,可以根据配置文件生成对应sm2的证书
    asaningmaxchain
    @asaningmaxchain
    en
    // if config.ProviderName == "" {
    //     config.ProviderName = "GM"
    // }
    
    //暂时由GM替代bccsp
    config.ProviderName = "GM"
    我不知道你你为什么要这么干
    通过配置来判断不好吗?
    mxz-scott
    @mxz-scott
    现在的版本只支持国密,不兼容ECC
    asaningmaxchain
    @asaningmaxchain
    Process Results Build Status Build Status build error?
    TejPandey
    @TejPandey
    Hi..I am new to hyperledger..I am trying to create 4 diferent channel in 7peers and one orderer network..do we have to create separate genesis block for each channel
    mxz-scott
    @mxz-scott
    @TejPandey 使用工具configtxgen 生成的genesis block 是ordere 节点启动需要的创始区块用于引导排序服务,createChannel 命令的产出是一个创世区块-<your_channel_name>.block-这个创世区块被存储在peer节点的文件系统中同时包含了在channel.tx的信道配置,详细参见:http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html
    bengewb
    @bengewb
    根据fabric-gm编译了peer、orderer、tools镜像,启动、创建channel、安装chaincode没有问题,但是在初始化(instantiate)时,报找不到“fabric/core/chaincode/shim”、“fabric/protos/peer”包,不知什么原因,pull的ccenv是1.02版本
    bengewb
    @bengewb
    并且已经关闭了TLS验证
    hrt031293
    @hrt031293
    hi, anyone here?
    I am new here as well as i n hyperledger, I need help in hyperledger
    Yu Zhao
    @cmal
    Hi, Some one can help? It went to an error when I trying to make configtxgen the hyperledger/fabric source code.
    make configtxgen
    build/bin/configtxgen
    CGO_CFLAGS=" " GOBIN=/home/xxx/gits/fabric/build/bin go install -tags "experimental nopkcs11" -ldflags "-X github.com/hyperledger/fabric/common/tools/configtxgen/metadata.Version=1.1.1-snapshot-301c302" github.com/hyperledger/fabric/common/tools/configtxgen
    bccsp/factory/pluginfactory.go:12:2: cannot find package "plugin" in any of:
        /home/xxx/go/src/github.com/hyperledger/fabric/vendor/plugin (vendor tree)
        /usr/lib/go-1.6/src/plugin (from $GOROOT)
        /home/xxx/go/src/plugin (from $GOPATH)
    Makefile:259: recipe for target 'build/bin/configtxgen' failed
    make: *** [build/bin/configtxgen] Error 1
    qsuai
    @qsuai
    @cmal 我们的fabric-gm是基于fabric 1.02的,而上述问题是在fabric1.1中的,我们还没研究过这个版本,所以回答不了您的问题,抱歉。
    ArtyomAminov
    @artjoma
    Folks, can somebody explain me what ECDSA use in Fabric? For example Ethereum use secp256k1
    nnsgmsone
    @nnsgmsone
    不知道fabric用的什么,不过我们用的是P256和sm2p256v1
    Hitesh Paliwal
    @hiteshpm
    Hi folks, I m working on fabric ca setup? Could you pls help me on that part.means how to customize it
    Satyam Chaturvedi
    @satyamchaturvedi
    trying to run hyperledger fabric network through nodejs chaincode , but it specifies -l as an illegal option!
    but in documentation the command is given to run it through nodejs.
    Hitesh Paliwal
    @hiteshpm
    -l menas you have to mention language name as node because bydefault it will take name as go lang
    PRANJAL KUMAR
    @pranjalkumar
    Hey, I am trying to download the six docker images which are mentioned in the hyperledger tutorial on the official site
    But it is not downloading
    Upon searching for the issue, I found out that it was some version issue
    Can anyone help.me solve that
    husainbr
    @husainbr

    Hi @pranjalkumar

    Please find command to download all images : curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash

    husainbr
    @husainbr

    @husainbr
    Hi everyone,

    I facing issue to deploy golang/nodejs chain in after modification. I need to delete all docker container and docker image to see changes done.
    I also go through this example https://stackoverflow.com/questions/47330576/how-to-upgrade-a-chaincode-after-modification and Currently i am working on this example : http://websecuritypatterns.com/blogs/2017/12/15/exploring-hyperledger-fabric-v1-supply-chain-demo-tuna-fish-shipments/ with hyperledger fabric

    Please help me !!!
    TejPandey
    @TejPandey
    Hi everyone,