Documentation ¶
Index ¶
- Variables
- func CreateCompositeKey(objectType string, attributes []string) (string, error)
- func GetEventFromEnvelope(envelopeData []byte) (*peer.ChaincodeEvent, error)
- func GetOrdererHostFromChannelConfig(conf *common.Config) (string, error)
- func IsErrUnsupportedTxType(err error) bool
- func LoadKeyPairFromMSP(mspPath string) (*x509.Certificate, interface{}, error)deprecated
- func LoadKeypairByCert(mspPath string, certRaw []byte) (*x509.Certificate, interface{}, error)deprecated
- func ProceedChannelUpdate(ctx context.Context, channelName string, update *common.ConfigUpdate, ...) error
- func SplitCompositeKey(compositeKey string) (string, []string)
- type ErrUnsupportedTxType
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrOrdererGroupNotFound = errors.New(`orderer addresses not found`)
)
Functions ¶
func CreateCompositeKey ¶ added in v0.1.4
func GetEventFromEnvelope ¶
func GetEventFromEnvelope(envelopeData []byte) (*peer.ChaincodeEvent, error)
GetEventFromEnvelope Deprecated: use proto.ParseBlock
func GetOrdererHostFromChannelConfig ¶ added in v0.4.0
func IsErrUnsupportedTxType ¶ added in v0.3.0
func LoadKeyPairFromMSP
deprecated
func LoadKeyPairFromMSP(mspPath string) (*x509.Certificate, interface{}, error)
Deprecated: use identity.SignerFromMSPPath to create identity legacy method. loads ONLY cert from signcerts dir
func LoadKeypairByCert
deprecated
added in
v0.7.0
func LoadKeypairByCert(mspPath string, certRaw []byte) (*x509.Certificate, interface{}, error)
Deprecated: use identity.KeyPairForCert
func ProceedChannelUpdate ¶ added in v0.4.0
func ProceedChannelUpdate( ctx context.Context, channelName string, update *common.ConfigUpdate, orderer api.Orderer, ids []msp.SigningIdentity, ) error
ProceedChannelUpdate - sends channel update config with signatures of all provided identities
func SplitCompositeKey ¶ added in v0.1.4
Types ¶
type ErrUnsupportedTxType ¶ added in v0.3.0
type ErrUnsupportedTxType struct {
Type string
}
func (*ErrUnsupportedTxType) Error ¶ added in v0.3.0
func (e *ErrUnsupportedTxType) Error() string
Click to show internal directories.
Click to hide internal directories.