Concept "Chaincode"

From SMW CindyKate - Main
Component1752943752
Jump to: navigation, search

Content


Chaincode (= business logic) defines

  • assets
  • transaction instructions for modifying assets
  • enforces the rules for reading or altering key value pairs or other state database information

Chaincode functions

  • execute against the ledger’s current state database
  • are initiated through a transaction proposal
  • result in a set of key value writes (write set) that can be submitted to the network and applied to the ledger on all peers