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,

    I am facing issue while installing fabric 1.1..when trying to run make command..it giving below error bccsp/factory/pluginfactory.go:12:2: cannot find package "plugin" in any of:
    /usr/local/go/src/pkg/plugin (from $GOROOT)
    /home/ubuntu/gopath/src/plugin (from $GOPATH)
    make: * [build/bin/peer] Error 1

    could please any body help..I am using go version 1.9.2

    mxz-scott
    @mxz-scott

    I am facing issue while installing fabric 1.1..when trying to run make command..it giving below error bccsp/factory/pluginfactory.go:12:2: cannot find package "plugin" in any of:
    /usr/local/go/src/pkg/plugin (from $GOROOT)
    /home/ubuntu/gopath/src/plugin (from $GOPATH)
    make: * [build/bin/peer] Error 1

    could please any body help..I am using go version 1.9.2 pluginfactory.go 这应该是你自己的代码吧?

    Sooraj S
    @sooraj-citta

    Error when starting hyperledger fabric using ./startFabric.sh

    Error response from daemon: Container f3159ad170dffda21c1024825cedc9a65f4c9a5750f90b23f2409620e4b5079f is not running

    any idea ???

    nnsgmsone
    @nnsgmsone
    看不懂英文的娃路过
    mxz-scott
    @mxz-scott
    @sooraj-citta ./startFabric.sh What exactly does this file do?
    Sooraj S
    @sooraj-citta
    @mxz-scott I am new to hyperledger but from what i understood, this script file pull and start the docker containers for basic hyperledger fabric , couchdb etc. So sometimes this error comes up. I have no clue. I always to the ./teardownFabric.sh to kill & remove the existing docker before attempting to start a new one..
    manoj485
    @manoj485
    Hi ,How can we create publickey for user when he registered and with that publickey he can create his won privatekey ,is it possible to do so in hyperledger. And these keys should not stored in ledger.
    mxz-scott
    @mxz-scott
    你可以使用 cryptogen 工具生成密钥和相关证书文件,或者调用bccsp的加密接口生成公私钥对,这些密钥会存储在你配置的keystore目录下
    harinishree
    @harinishree
    hi everyone can anyone please tell me how to do hyperledger fabric setup for multiple channel and multiple chaincode
    nnsgmsone
    @nnsgmsone
    @harinishree 可以说中文吗
    Mayank Sahai
    @mayank-sahai
    I want to use hyperledger fabric ...do you know which version is the stable on?
    Mayank Sahai
    @mayank-sahai
    i have few basic questions is ther anyone who could help me out a little?
    bhemeswararao
    @bhemeswararao

    ./createPeerAdminCard.sh
    Development only script for Hyperledger Fabric control
    Running 'createPeerAdminCard.sh'
    FABRIC_VERSION is set to 'hlfv11'
    FABRIC_START_TIMEOUT is unset, assuming 15 (seconds)

    Using composer-cli at v0.19.5

    Successfully created business network card file to
    Output file: /tmp/PeerAdmin@hlfv1.card

    Command succeeded

    Error: No connection type provided, probably because the connection profile has no 'x-type' property defined.
    Command failed

    how to resolve it
    Error: No connection type provided, probably because the connection profile has no 'x-type' property defined.
    Command failed