Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rm DB interface from privacyenabledstate pkg #1242

Merged
merged 2 commits into from May 14, 2020

Commits on May 12, 2020

  1. 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>
    cendhu committed May 12, 2020
    Copy the full SHA
    d9f3826 View commit details
    Browse the repository at this point in the history
  2. rename common_storage_db.go to db.go

    Signed-off-by: senthil <cendhu@gmail.com>
    cendhu committed May 12, 2020
    Copy the full SHA
    85fc9a6 View commit details
    Browse the repository at this point in the history