What exactly happened with the deployment and invocation of chaining code in Hyperledger?

What happened exactly with the deployment of chained code and the calling of a request in Hyperledger?

You must confirm the cost of the system to deploy, call and query Chaincode. If they are the same, it is better to make Chaincode more than one, even hundreds, thousands.

+7
hyperledger blockchain
source share
1 answer

During Deploy, the chain code is sent to the register as a transaction and distributed to all nodes of the network. Each node creates a new Docker container with this built-in codec. After that the container will be launched and the Init method will be launched.

During the " Request " circuit code will read the current state and send it to the user. This transaction is not saved in the blockchain.

During " Invoke ", chained code can change the state of variables in a register. Each transaction "Invoke" will be added to the "block" in the register.

+10
source share

All Articles