-
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.
rm DB interface from privacyenabledstate pkg (#1242)
rm privacyenabledstate.DB interface As part of FAB-10794, we would be making changes to LoadCommittedVersions(). Before doing that, we remove unnecessary interface from the privacyenabledstate which includes LoadCommittedVersions() API. After we have removed privacyenabledstate.DB interface, the filename db.go does not make sense. Hence, we rename it to types.go as it holds all private data related types. Further, db_test.go contains tests that should be in common_storage_db_test.go. Hence, we also move those test to the correct location and rename db_test.go to types_test.go. Further, we have renamed CommonStorageDB to DB, removed DBProvider interface, and removed the term CommonStorage from variables. FAB-17880 Signed-off-by: senthil <cendhu@gmail.com> rename common_storage_db.go to db.go Signed-off-by: senthil <cendhu@gmail.com>
- Loading branch information
Showing
23 changed files
with
771 additions
and
797 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.