-
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-2669] use fs ledger's blockstore iterator
- Updated the orderer's file ledger to use it's underlying blockstore ledger impl's iterator APIs. - Blockstore iterators must be explicitly closed to avoid leaking resources, so now orderer/ledger.Iterator must also be explicitly closed. Added Close() to the orderer/ledger.Iterator interface. Change-Id: Id838a661a11bf5b64a0cbb57d75a27d69d251269 Signed-off-by: Luis Sanchez <[email protected]>
- Loading branch information
Luis Sanchez
committed
Jul 12, 2017
1 parent
f56a82e
commit e87c815
Showing
11 changed files
with
210 additions
and
123 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
Oops, something went wrong.