What is transientMap in node.js and getTransient in chaincode?

0 votes
What is the use of transientMap in channel.sendTransactionProposal(request, timeout) and getTransient() in chaincode?
Jul 13, 2018 in Blockchain by slayer
• 29,300 points
403 views

1 answer to this question.

0 votes

TransientMap:

TransientMap  contains data that might be used to implement some form of application-level confidentiality. The data here in some cryptographic material.. This data is excluded from the ledger.. 

getTransient:

If you want to pass some data which you do not want to be kept in endorsement proposal you can use GetTransient API.

answered Jul 13, 2018 by digger
• 26,680 points

Related Questions In Blockchain

+1 vote
1 answer

What is the difference between if() and require() statement in solidity??

If() and require() have separate functions and ...READ MORE

answered Apr 18, 2018 in Blockchain by Shashank
• 10,400 points
1,086 views
+1 vote
1 answer

What happened on deploy, invoke and query in Hyperledger chaincode?

1. Deploy: During Deploy the chaincode is written onto ...READ MORE

answered Apr 26, 2018 in Blockchain by Christine
• 15,810 points
685 views
0 votes
2 answers

What is the difference between full node and partial node?

We need different types of nodes to ...READ MORE

answered May 30, 2019 in Blockchain by Sourav kumar
814 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

What is the peer node start in hyperledger?

Nodes are the fundamental element of the ...READ MORE

answered Jul 9, 2018 in Blockchain by digger
• 26,680 points
304 views
0 votes
1 answer

What do I import for SHA encryption in Node.js?

var sha = require('sha.js'); //... getHash() { ...READ MORE

answered Sep 21, 2018 in Blockchain by digger
• 26,680 points
243 views