Skip to content

Commit

Permalink
Update chaincode lifecycle topic
Browse files Browse the repository at this point in the history
Signed-off-by: NIKHIL E GUPTA <negupta@us.ibm.com>
  • Loading branch information
NIKHIL E GUPTA authored and denyeart committed Apr 8, 2020
1 parent 2f13c6c commit 6f4b196
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions docs/source/chaincode_lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,20 +407,7 @@ definition. This allows channel members to install different chaincode binaries
that use the same endorsement policy and read and write to data in the same
chaincode namespace.

Channel members can use this capability to install chaincode written in
different languages and work with the language they are most comfortable. As
long as the chaincode generates the same read-write sets, channel members using
chaincode in different languages will be able to endorse transactions and commit
them to the ledger. However, organizations should test that their chaincode
is consistent and that they are able to generate valid endorsements before
defining it on a channel in production.

![Using different chaincode languages](lifecycle/Lifecycle-languages.png)

*Org1 installs a package of the MYCC chaincode written in Go, while Org2
installs MYCC written in Java.*

Organizations can also use this capability to install smart contracts that
Organizations can use this capability to install smart contracts that
contain business logic that is specific to their organization. Each
organization's smart contract could contain additional validation that the
organization requires before their peers endorse a transaction. Each organization
Expand Down
Binary file removed docs/source/lifecycle/Lifecycle-languages.png
Binary file not shown.

0 comments on commit 6f4b196

Please sign in to comment.