fabric-peer-ext Release Notes - Mar 4, 2021
What's new in fabric-peer-ext v0.1.6
This release is based on Fabric 2.2.1. Following is a list of new features:
Added block handler to Block Publisher #552
Clients may now register to handle entire published blocks.
Asynchronous Gossip app-data request handler #550
The responses for app-data requests are now asynchronous. The request handler is provided a 'responder' to which the handler may respond immediately or in the (near) future.
Distributed Validation #556, #558, #560
When a committing peer receives a block from the Orderer a request is immediately sent (via Gossip) to validating peers within its own org to partially validate the block (according to validation policy). The validating peer receives the request and determines whether it is capable of validating the block. If the received block's number is greater than the local block height of the peer then the request is cached and validated once it has caught up. As the validating peers respond with results, the committer validates the responses against the validation policy (i.e. signature, etc.) and then merges them with the results received from other peers. The committer then validates the remaining transactions for which results were not received.
Register a query executor provider along with state DB #566
When a channel is created then, along with registering a state database, a query executor provider is also registered. The query executor provider returns query executors with and without a commit lock. In some cases (such as with off-ledger and transient data) a commit lock is not required and this will improve performance when reading data.