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,170 points
218 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,550 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,350 points
444 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,790 points
389 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 in Blockchain by Sourav kumar
208 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,550 points
92 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,550 points
101 views