-
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.
mv rangequery option validation to ledger/internal
The range query receives metadata such as pagination limit. ValidateRangeMetadata() validates the received metadata. As the ValidateRangeMetadata() is present in statedb, it is imported in both statecouchdb and stateleveldb packages. As we want these packages to be self-sufficient and only import ledger/internal packages, we move the ValidateRangeMetadata() to ledger/interal/rangequery. Further, the term metadata is confusing with the statemetadata which stores the key-based endorsement. Hence, we replace Metadata in range query API with options. Signed-off-by: senthil <cendhu@gmail.com>
- Loading branch information
Showing
25 changed files
with
495 additions
and
481 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.