What Fabric Gateway client API call could a client application use to update ledger state?
Start a Discussions
The peer and the orderer host an HTTP server that offers a RESTful operations API (Operations Service). Which of the following function is unprovided as an Operation Service API?
Correct : C
The Operations Service API hosted on the HTTP server by the peer and the orderer in Hyperledger Fabric does not provide the functionality to set the log level. This API is primarily designed to offer operational insights and controls like retrieving log data, fetching metrics, and performing health checks. The ability to dynamically adjust the log level via this API is not supported, as logging levels are typically configured statically through configuration files or environment variables at the time of node startup. This design helps maintain the integrity and stability of the operational log data.
Start a Discussions
What is the difference between chaincode, transaction, and block events?
Correct : B
In Hyperledger Fabric, chaincode events, transaction events, and block events serve different purposes and are emitted differently. Chaincode events must be explicitly programmed into the smart contract. Developers need to use the setEvent method within the chaincode to emit custom events that applications can listen to. On the other hand, transaction and block events are generated by the system automatically. These events notify listening applications of new blocks added to the chain or transactions included in blocks, without requiring any additional programming effort within the smart contracts.
Start a Discussions
What is the purpose of the ordering service in Hyperledger Fabric model?
Correct : C
The primary purpose of the ordering service in Hyperledger Fabric is to assemble transactions into blocks and ensure their correct sequencing on the blockchain ledger. This service takes validated transactions, orders them chronologically, and packages them into blocks. These blocks are then distributed to all peers on the network for final validation and commitment to their respective ledgers. This process is crucial for maintaining the integrity and consistency of the ledger across the distributed network. The ordering service does not manage identities or endorse transactions, nor does it validate transactions or directly maintain the blockchain ledger beyond the sequencing and packaging of transactions.
Start a Discussions
Each peer in the Hyperledger Fabric network hosts a copy of the ledger, which also belongs to what component?
Correct : D
In Hyperledger Fabric, each peer in the network hosts a copy of the ledger, which is associated with a member channel. The ledger itself is comprised of a blockchain to store the immutable, sequenced record in blocks, and a state database to maintain the current state of the ledger. There is one ledger per channel, and each peer maintains a copy of the ledger for each channel of which they are a member .
Start a Discussions