yeasy/docker-compose-files

请教chaincode接口调用产生transaction的问题

axelning opened this issue · 1 comments

1.4版本的hyperledger,调用chaincode的GetHistoryForKey(key)命令,会产生新的transaction,但是query 所调用的GetQueryResult却不会产生新的transaction,想请教一下背后的原理

yeasy commented

Query only read states from peer, won't generate any transaction.