fabric-sdk-go-gm

module
Version: v0.0.0-...-1ee6361 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2020 License: Apache-2.0

README

fabric-sdk-go-gm

国密改造版本的fabric go sdk 基于 fabric-sdk-go v1.0.0

The configuration of bccsp needs to be modified for the application of client:

# BCCSP config for the client. Used by GO SDK.

BCCSP:
  Security:
    enabled: true
    # SW/GM SHA2/GMSM3
    default:
      provider: "GM"
    hashAlgorithm: "GMSM3"
    softVerify: true
    Level: 256
``

Directories

Path Synopsis
pkg
client/channel
Package channel enables access to a channel on a Fabric network.
Package channel enables access to a channel on a Fabric network.
client/channel/invoke
Package invoke provides the handlers for performing chaincode invocations.
Package invoke provides the handlers for performing chaincode invocations.
client/common/filter
Package filter provides common filters (e.g.
Package filter provides common filters (e.g.
client/common/verifier
Package verifier provides various verifier (e.g.
Package verifier provides various verifier (e.g.
client/event
Package event enables access to a channel events on a Fabric network.
Package event enables access to a channel events on a Fabric network.
client/ledger
Package ledger enables ledger queries on specified channel on a Fabric network.
Package ledger enables ledger queries on specified channel on a Fabric network.
client/msp
Package msp enables creation and update of users on a Fabric network.
Package msp enables creation and update of users on a Fabric network.
client/resmgmt
Package resmgmt enables creation and update of resources on a Fabric network.
Package resmgmt enables creation and update of resources on a Fabric network.
common/errors/multi
Package multi is an error type that holds multiple errors.
Package multi is an error type that holds multiple errors.
common/errors/retry
Package retry provides retransmission capabilities to fabric-sdk-go.
Package retry provides retransmission capabilities to fabric-sdk-go.
common/errors/status
Package status defines metadata for errors returned by fabric-sdk-go.
Package status defines metadata for errors returned by fabric-sdk-go.
common/logging
Package logging enables setting custom logger implementation.
Package logging enables setting custom logger implementation.
common/providers/test/mockfab
Package mockfab is a generated GoMock package.
Package mockfab is a generated GoMock package.
fab
fab/resource
Package resource provides access to fabric network resource management, typically using system channel queries.
Package resource provides access to fabric network resource management, typically using system channel queries.
fab/txn
Package txn enables creating, endorsing and sending transactions to Fabric peers and orderers.
Package txn enables creating, endorsing and sending transactions to Fabric peers and orderers.
fabsdk
Package fabsdk enables client usage of a Hyperledger Fabric network.
Package fabsdk enables client usage of a Hyperledger Fabric network.
msp
test
metadata
Package metadata contains variables used by tests
Package metadata contains variables used by tests
internal
github.com/tjfoc/gmsm/sm2
crypto/x509 add sm2 support
crypto/x509 add sm2 support
github.com/tjfoc/gmtls
add sm2 support
add sm2 support
github.com/tjfoc/gmtls/gmcredentials/echo
Package echo is a generated protocol buffer package.
Package echo is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL