小编jas*_*nth的帖子

exec:"gcc":尝试go build时在%PATH%中找不到可执行文件

我正在使用Windows 10.当我尝试构建Chaincode时,它报告了此错误

# github.com/hyperledger/fabric/vendor/github.com/miekg/pkcs11 
exec: "gcc": executable file not found in %PATH%
Run Code Online (Sandbox Code Playgroud)

我的链码导入:

import (
    "fmt"
    "strconv"

    "github.com/hyperledger/fabric/core/chaincode/shim"
    pb "github.com/hyperledger/fabric/protos/peer"
)
Run Code Online (Sandbox Code Playgroud)

它在Docker中运行良好.

windows build go cgo hyperledger-fabric

48
推荐指数
8
解决办法
5万
查看次数

hyperledger-fabric 中的最大交易大小是多少?

我尝试将图像上传到分类帐中(将图像转换为 base64 字符串并将其作为交易中的 arg 传递)。

当我发送大小为 30 kb 的图像时,它工作正常,但是对于 100 kb 的图像,我的交易失败了,指出最大大小为 102400。

我的问题是交易的最大大小和块的最大大小是多少?

hyperledger hyperledger-fabric

5
推荐指数
1
解决办法
1898
查看次数

标签 统计

hyperledger-fabric ×2

build ×1

cgo ×1

go ×1

hyperledger ×1

windows ×1