vonechain-cs / fabric-sdk-go-gm Goto Github PK
View Code? Open in Web Editor NEW基于hyperledger/fabric-sdk-go v1.0.0-beta3进行国密改造
License: Apache License 2.0
基于hyperledger/fabric-sdk-go v1.0.0-beta3进行国密改造
License: Apache License 2.0
how to solve:
GOROOT=/usr/local/go1.14.4 #gosetup
GOPATH=/home/xxx/go #gosetup
/usr/local/go1.14.4/bin/go build -o /tmp/___go_build_fabcar fabcar #gosetup
go: downloading github.com/VoneChain-CS/fabric-sdk-go-gm v1.0.0
go: downloading github.com/pkg/errors v0.8.1
go: downloading github.com/spf13/viper v1.7.1
go: downloading github.com/stretchr/testify v1.5.1
go: downloading github.com/cloudflare/cfssl v1.4.1
go: downloading google.golang.org/grpc v1.29.1
go: downloading github.com/tjfoc/gmtls v1.2.1
go: downloading golang.org/x/crypto v0.0.0-20200221231518-2aa609cf4a9d
go: downloading github.com/tjfoc/gmsm v1.3.2
go: downloading github.com/spf13/jwalterweatherman v1.0.0
go: downloading github.com/hyperledger/fabric-protos-go v0.0.0-20200707132912-fee30f3ccd23
go: downloading github.com/golang/protobuf v1.3.3
go: downloading github.com/mitchellh/mapstructure v1.3.3
go: downloading golang.org/x/net v0.0.0-20200421231249-e086a090c8fd
go: downloading github.com/spf13/pflag v1.0.3
go: downloading github.com/fsnotify/fsnotify v1.4.7
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading golang.org/x/sys v0.0.0-20200420163511-1957bb5e6d1f
go: downloading github.com/pelletier/go-toml v1.2.0
go: downloading gopkg.in/ini.v1 v1.51.0
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/prometheus/client_golang v1.1.0
go: downloading github.com/spf13/afero v1.1.2
go: downloading github.com/hyperledger/fabric-lib-go v1.0.0
go: downloading github.com/golang/mock v1.4.3
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/go-kit/kit v0.9.0
go: downloading github.com/spf13/cast v1.3.1
go: downloading github.com/prometheus/common v0.6.0
go: downloading golang.org/x/text v0.3.2
go: downloading github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: downloading google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215
go: downloading github.com/google/certificate-transparency-go v1.1.0
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/prometheus/procfs v0.0.5
go: downloading github.com/grantae/certinfo v0.0.0-20170412194111-59d56a35515b
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/zmap/zlint v1.1.0
go: downloading github.com/go-logfmt/logfmt v0.4.0
go: downloading github.com/hyperledger/fabric-config v0.0.5
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/Knetic/govaluate v3.0.0+incompatible
go: downloading github.com/zmap/zcrypto v0.0.0-20191112190257-7f2fe6faf8cf
go: downloading github.com/weppos/publicsuffix-go v0.5.0
github.com /VoneChain-CS/ fabric-sdk-go-gm/http
../../../../pkg/mod/github.com/!vone!chain-!c!s/[email protected]/http/server.go:1793:54: re.Conn undefined (type gmtls.RecordHeaderError has no field or method Conn)
../../../../pkg/mod/github.com/!vone!chain-!c!s/[email protected]/http/server.go:1794:22: re.Conn undefined (type gmtls.RecordHeaderError has no field or method Conn)
../../../../pkg/mod/github.com/!vone!chain-!c!s/[email protected]/http/server.go:1795:7: re.Conn undefined (type gmtls.RecordHeaderError has no field or method Conn)
Compilation finished with exit code 2
依赖啊依赖啊依赖啊依赖啊依赖啊依赖啊
依赖解决完一个,又报n个依赖问题,都还没跑起来就想放弃了
使用该fabric-sdk-go与国密改造后的fabric2.2进行通信时,TLS handshake报错:bad certificate
请问该sdk能与fabric-gm联调吗?
How to use it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.