hyperledger-fabric-sdk-java

The channel is not configured with any peers with the 'discover' role

▼魔方 西西 提交于 2020-07-09 04:17:24
问题 I am trying to do a transaction from java fabric SDK. I am able to query the data properly from the node but while doing a transaction I am getting the following error: org.hyperledger.fabric.sdk.exception.ServiceDiscoveryException: The channel is not configured with any peers with the 'discover' role at org.hyperledger.fabric.sdk.Channel.sendTransactionProposalToEndorsers(Channel.java:3955) ~[fabric-sdk-java-1.4.5.jar:na] at org.hyperledger.fabric.gateway.impl.TransactionImpl

The channel is not configured with any peers with the 'discover' role

帅比萌擦擦* 提交于 2020-07-09 04:16:44
问题 I am trying to do a transaction from java fabric SDK. I am able to query the data properly from the node but while doing a transaction I am getting the following error: org.hyperledger.fabric.sdk.exception.ServiceDiscoveryException: The channel is not configured with any peers with the 'discover' role at org.hyperledger.fabric.sdk.Channel.sendTransactionProposalToEndorsers(Channel.java:3955) ~[fabric-sdk-java-1.4.5.jar:na] at org.hyperledger.fabric.gateway.impl.TransactionImpl

How to get the parameters passed to the transaction for the historical states

旧街凉风 提交于 2020-01-05 04:18:35
问题 I am trying to get the operation which is responsible for the new state. In simple words, I want to get the function name passed to the invoke method. When I am looking into the historical states I am able to fetch its value, timestamp, transaction ID, etc. but not the parameters which are responsible for that transaction. I know we can get the parameters from the block history, but I need it for the states. Is there any way to achieve this from the chaincode side? 回答1: Yes, from the