Package | Description |
---|---|
org.hyperledger.fabric.sdk |
Modifier and Type | Method and Description |
---|---|
Map<String,Boolean> |
LifecycleCheckCommitReadinessProposalResponse.getApprovalsMap()
A map of approved and not approved.
|
org.hyperledger.fabric.protos.peer.lifecycle.Lifecycle.CheckCommitReadinessResult |
LifecycleCheckCommitReadinessProposalResponse.getApprovalStatusResults() |
Set<String> |
LifecycleCheckCommitReadinessProposalResponse.getApprovedOrgs()
The set of organizations that hav approved this chaincode definition.
|
ChaincodeCollectionConfiguration |
LifecycleQueryChaincodeDefinitionProposalResponse.getChaincodeCollectionConfiguration()
The collection configuration this chaincode was defined.
|
ChaincodeCollectionConfiguration |
LifecycleQueryChaincodeDefinitionsResult.getChaincodeCollectionConfiguration()
Collection configurations defined for this chaincode.
|
String |
LifecycleQueryChaincodeDefinitionProposalResponse.getEndorsementPlugin()
The endorsement plugin for this chaincode.
|
boolean |
LifecycleQueryChaincodeDefinitionProposalResponse.getInitRequired()
Is init required for the chaincode.
|
String |
LifecycleQueryInstalledChaincodeProposalResponse.getLabel()
The lable used by this chaincode.
|
Collection<LifecycleQueryChaincodeDefinitionsResult> |
LifecycleQueryChaincodeDefinitionsProposalResponse.getLifecycleQueryChaincodeDefinitionsResult()
The definitions of chaincode that have been committed.
|
Collection<LifecycleQueryInstalledChaincodesProposalResponse.LifecycleQueryInstalledChaincodesResult> |
LifecycleQueryInstalledChaincodesProposalResponse.getLifecycleQueryInstalledChaincodesResult() |
String |
LifecycleQueryInstalledChaincodeProposalResponse.getPackageId()
The packageId for this chaincode.
|
String |
LifecycleInstallChaincodeProposalResponse.getPackageId()
The packageId the identifies this chaincode change.
|
long |
LifecycleQueryChaincodeDefinitionProposalResponse.getSequence()
The sequence of change for this chaincode.
|
Set<String> |
LifecycleCheckCommitReadinessProposalResponse.getUnApprovedOrgs()
The set of organizations that have not approved this chaincode definition.
|
byte[] |
LifecycleQueryChaincodeDefinitionProposalResponse.getValidationParameter()
The validation parameter bytes that were set when the chaincode was defined.
|
String |
LifecycleQueryChaincodeDefinitionProposalResponse.getValidationPlugin()
The valadiation plugin defined for this chaincode.
|
String |
LifecycleQueryChaincodeDefinitionProposalResponse.getVersion()
The chaincodes version
|
Channel |
Channel.joinPeer(Orderer orderer,
Peer peer,
Channel.PeerOptions peerOptions)
Join peer to channel
|
Channel |
Channel.joinPeer(Peer peer)
Join the peer to the channel.
|
Channel |
Channel.joinPeer(Peer peer,
Channel.PeerOptions peerOptions) |
Collection<LifecycleQueryChaincodeDefinitionProposalResponse> |
Channel.lifecycleQueryChaincodeDefinition(QueryLifecycleQueryChaincodeDefinitionRequest queryLifecycleQueryChaincodeDefinitionRequest,
Collection<Peer> peers)
lifecycleQueryChaincodeDefinition get definition of chaincode.
|
Collection<LifecycleQueryChaincodeDefinitionsProposalResponse> |
Channel.lifecycleQueryChaincodeDefinitions(LifecycleQueryChaincodeDefinitionsRequest proposalRequest,
Collection<Peer> peers)
Query namespaces.
|
BlockInfo |
Channel.queryBlockByHash(byte[] blockHash)
query this channel for a Block by the block hash.
|
BlockInfo |
Channel.queryBlockByHash(byte[] blockHash,
User userContext)
query this channel for a Block by the block hash.
|
BlockInfo |
Channel.queryBlockByHash(Collection<Peer> peers,
byte[] blockHash)
Query a peer in this channel for a Block by the block hash.
|
BlockInfo |
Channel.queryBlockByHash(Collection<Peer> peers,
byte[] blockHash,
User userContext)
Query a peer in this channel for a Block by the block hash.
|
BlockInfo |
Channel.queryBlockByHash(Peer peer,
byte[] blockHash)
Query a peer in this channel for a Block by the block hash.
|
BlockInfo |
Channel.queryBlockByNumber(Collection<Peer> peers,
long blockNumber)
query a peer in this channel for a Block by the blockNumber
This method may not be thread safe if client context is changed!
|
BlockInfo |
Channel.queryBlockByNumber(Collection<Peer> peers,
long blockNumber,
User userContext)
query a peer in this channel for a Block by the blockNumber
|
BlockInfo |
Channel.queryBlockByNumber(long blockNumber)
query this channel for a Block by the blockNumber.
|
BlockInfo |
Channel.queryBlockByNumber(long blockNumber,
User userContext)
query this channel for a Block by the blockNumber.
|
BlockInfo |
Channel.queryBlockByNumber(Peer peer,
long blockNumber)
Query a peer in this channel for a Block by the blockNumber
This method may not be thread safe if client context is changed!
|
BlockInfo |
Channel.queryBlockByNumber(Peer peer,
long blockNumber,
User userContext)
query a peer in this channel for a Block by the blockNumber
|
BlockInfo |
Channel.queryBlockByTransactionID(Collection<Peer> peers,
String txID)
query a peer in this channel for a Block by a TransactionID contained in the block
This method may not be thread safe if client context is changed!
|
BlockInfo |
Channel.queryBlockByTransactionID(Collection<Peer> peers,
String txID,
User userContext)
query a peer in this channel for a Block by a TransactionID contained in the block
|
BlockInfo |
Channel.queryBlockByTransactionID(Peer peer,
String txID)
query a peer in this channel for a Block by a TransactionID contained in the block
This method may not be thread safe if client context is changed!
|
BlockInfo |
Channel.queryBlockByTransactionID(Peer peer,
String txID,
User userContext)
query a peer in this channel for a Block by a TransactionID contained in the block
|
BlockInfo |
Channel.queryBlockByTransactionID(String txID)
query this channel for a Block by a TransactionID contained in the block
The request is tried on on each peer till successful.
|
BlockInfo |
Channel.queryBlockByTransactionID(String txID,
User userContext)
query this channel for a Block by a TransactionID contained in the block
The request is sent to a random peer in the channel
|
BlockchainInfo |
Channel.queryBlockchainInfo()
query this channel for chain information.
|
BlockchainInfo |
Channel.queryBlockchainInfo(Collection<Peer> peers,
User userContext)
query for chain information
|
BlockchainInfo |
Channel.queryBlockchainInfo(Peer peer)
query for chain information
This method may not be thread safe if client context is changed!
|
BlockchainInfo |
Channel.queryBlockchainInfo(Peer peer,
User userContext)
query for chain information
|
BlockchainInfo |
Channel.queryBlockchainInfo(User userContext)
query this channel for chain information.
|
Collection<ProposalResponse> |
Channel.queryByChaincode(QueryByChaincodeRequest queryByChaincodeRequest)
Send Query proposal
|
Collection<ProposalResponse> |
Channel.queryByChaincode(QueryByChaincodeRequest queryByChaincodeRequest,
Collection<Peer> peers)
Send Query proposal
|
Set<String> |
HFClient.queryChannels(Peer peer)
Query the joined channels for peers
|
CollectionConfigPackage |
Channel.queryCollectionsConfig(String chaincodeName,
Peer peer,
User userContext)
Get information on the collections used by the chaincode.
|
List<org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo> |
HFClient.queryInstalledChaincodes(Peer peer)
Deprecated.
|
List<org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo> |
Channel.queryInstantiatedChaincodes(Peer peer)
Query peer for chaincode that has been instantiated
This method may not be thread safe if client context is changed!
|
List<org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo> |
Channel.queryInstantiatedChaincodes(Peer peer,
User userContext)
Query peer for chaincode that has been instantiated
|
TransactionInfo |
Channel.queryTransactionByID(Collection<Peer> peers,
String txID,
User userContext)
Query for a Fabric Transaction given its transactionID
|
TransactionInfo |
Channel.queryTransactionByID(Peer peer,
String txID)
Query for a Fabric Transaction given its transactionID
This method may not be thread safe if client context is changed!
|
TransactionInfo |
Channel.queryTransactionByID(Peer peer,
String txID,
User userContext)
Query for a Fabric Transaction given its transactionID
|
TransactionInfo |
Channel.queryTransactionByID(String txID)
Query this channel for a Fabric Transaction given its transactionID.
|
TransactionInfo |
Channel.queryTransactionByID(String txID,
User userContext)
Query this channel for a Fabric Transaction given its transactionID.
|
Collection<ProposalResponse> |
HFClient.sendInstallProposal(InstallProposalRequest installProposalRequest,
Collection<Peer> peers)
Deprecated.
|
Collection<ProposalResponse> |
Channel.sendInstantiationProposal(InstantiateProposalRequest instantiateProposalRequest)
Deprecated.
See new lifecycle chaincode management.
LifecycleInstallChaincodeRequest |
Collection<ProposalResponse> |
Channel.sendInstantiationProposal(InstantiateProposalRequest instantiateProposalRequest,
Collection<Peer> peers)
Deprecated.
See new lifecycle chaincode management.
LifecycleInstallChaincodeRequest |
Collection<LifecycleApproveChaincodeDefinitionForMyOrgProposalResponse> |
Channel.sendLifecycleApproveChaincodeDefinitionForMyOrgProposal(LifecycleApproveChaincodeDefinitionForMyOrgRequest lifecycleApproveChaincodeDefinitionForMyOrgRequest,
Collection<Peer> peers)
Approve chaincode to be run on this peer's organization.
|
LifecycleApproveChaincodeDefinitionForMyOrgProposalResponse |
Channel.sendLifecycleApproveChaincodeDefinitionForMyOrgProposal(LifecycleApproveChaincodeDefinitionForMyOrgRequest lifecycleApproveChaincodeDefinitionForMyOrgRequest,
Peer peer)
Approve chaincode to be run on this peer's organization.
|
Collection<LifecycleCheckCommitReadinessProposalResponse> |
Channel.sendLifecycleCheckCommitReadinessRequest(LifecycleCheckCommitReadinessRequest lifecycleCheckCommitReadinessRequest,
Collection<Peer> peers)
Query approval status for all organizations.
|
Collection<LifecycleCommitChaincodeDefinitionProposalResponse> |
Channel.sendLifecycleCommitChaincodeDefinitionProposal(LifecycleCommitChaincodeDefinitionRequest lifecycleCommitChaincodeDefinitionRequest,
Collection<Peer> peers)
Commit chaincode final approval to run on all organizations that have approved.
|
Collection<LifecycleInstallChaincodeProposalResponse> |
HFClient.sendLifecycleInstallChaincodeRequest(LifecycleInstallChaincodeRequest lifecycleInstallChaincodeRequest,
Collection<Peer> peers)
Send install chaincode request proposal to peers.
|
Collection<LifecycleQueryInstalledChaincodeProposalResponse> |
HFClient.sendLifecycleQueryInstalledChaincode(LifecycleQueryInstalledChaincodeRequest lifecycleQueryInstalledChaincodeRequest,
Collection<Peer> peers)
Query installed chaincode on a peer.
|
Collection<LifecycleQueryInstalledChaincodesProposalResponse> |
HFClient.sendLifecycleQueryInstalledChaincodes(LifecycleQueryInstalledChaincodesRequest lifecycleQueryInstalledChaincodesRequest,
Collection<Peer> peers)
Query the peer for installed chaincodes information
|
Collection<ProposalResponse> |
Channel.sendTransactionProposal(TransactionProposalRequest transactionProposalRequest)
Send a transaction proposal.
|
Collection<ProposalResponse> |
Channel.sendTransactionProposal(TransactionProposalRequest transactionProposalRequest,
Collection<Peer> peers)
Send a transaction proposal to specific peers.
|
Collection<ProposalResponse> |
Channel.sendTransactionProposalToEndorsers(TransactionProposalRequest transactionProposalRequest,
Channel.DiscoveryOptions discoveryOptions)
Send a transaction proposal.
|
Collection<ProposalResponse> |
Channel.sendUpgradeProposal(UpgradeProposalRequest upgradeProposalRequest)
Deprecated.
See new Lifecycle chaincode management.
Channel.sendLifecycleApproveChaincodeDefinitionForMyOrgProposal(LifecycleApproveChaincodeDefinitionForMyOrgRequest, Peer) |
Collection<ProposalResponse> |
Channel.sendUpgradeProposal(UpgradeProposalRequest upgradeProposalRequest,
Collection<Peer> peers)
Deprecated.
See new Lifecycle chaincode management.
Channel.sendLifecycleApproveChaincodeDefinitionForMyOrgProposal(LifecycleApproveChaincodeDefinitionForMyOrgRequest, Peer) |
void |
ProposalResponse.setProposal(org.hyperledger.fabric.protos.peer.ProposalPackage.SignedProposal signedProposal) |
Copyright © 2022. All rights reserved.