Chaincode
In Chapter 1, Exploring Blockchain and BaaS, we learned about ledgers. There are different ledgers, for example, sales ledgers to store financial transactions, purchase ledgers to record spending and purchasing, while general ledgers record accounts, liabilities, expenses, income, and suchlike. Similarly, in HLF, transaction logs are the ledgers that record activities. These activities are also termed transactions. A ledger's world state tracks the transactions, which changes the world state of the ledger. The world state is a key-value pair, which is versioned, and, along with the transaction logs, it constitutes the ledger, which is available on all the participating nodes on the blockchain network. Now, the question is: who proposes ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access