package
0.6.1-preview
Repository: https://github.com/2lambda123/hyperledger-fabric.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

CloseAllClients closes all the clients initialized so far.
CloseAllPeers closes all the peers initialized so far.
CloseAllValidators closes all the validators initialized so far.
CloseClient releases all the resources allocated by clients.
ClosePeer releases all the resources allocated by peers.
CloseValidator releases all the resources allocated by the validator.
Init initializes the crypto layer.
InitClient initializes a client named name with password pwd.
InitPeer initializes a peer named name with password pwd.
InitValidator initializes a validator named name with password pwd.
RegisterClient registers a client to the PKI infrastructure.
RegisterPeer registers a peer to the PKI infrastructure.
RegisterValidator registers a validator to the PKI infrastructure.

# Constants

NodeClient a client.
NodePeer a peer.
NodeValidator a validator.

# Variables

ECertSubjectRole is the ASN1 object identifier of the subject's role.

# Structs

TCertBlock is an object that include the generated TCert and the attributes used to generate it.
TCertDBBlock is an object used to store the TCert in the database.

# Interfaces

CertificateHandler exposes methods to deal with an ECert/TCert.
Client is an entity able to deploy and invoke chaincode.
Node represents a crypto object having a name.
Peer is an entity able to verify transactions.
StateEncryptor is used to encrypt chaincode's state.
TransactionHandler represents a single transaction that can be named by the output of the GetBinding method.

# Type aliases

NodeType represents the node's type.