-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-7273] Update deliver to facilitate usage on peer
This CR updates the deliver functionality to facilitate its usage on a peer as well as an orderer. This required: - modifying the signal logic for when a new block is available due to the difference in addition of blocks to the ledger between the orderer and the peer. The signal logic is now handled using the iterator itself, which signals when it finds a new block - adding a policy variable to the deliver handler to ensure the peer and orderer each can control access to deliver Change-Id: Iebb6c25a8c5ac32d65f909eb0519f26bfde0dc31 Signed-off-by: Will Lahti <wtlahti@us.ibm.com>
- Loading branch information
Showing
6 changed files
with
82 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.