-
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-7695]: Restructure filtered events proto msg.
Currently FilteredBlock proto message inlcude the common.HeaderType information, while this information should be available per transaction base. E.g. instead of having: message FilteredBlock { string channel_id = 1; uint64 number = 2; // The position in the blockchain common.HeaderType type = 3; repeated FilteredTransaction filtered_tx = 4; } this commit moves transaction header type into FilteredTransaction and introduces a new extensible field to accomodate possible future extenstion for more transaction types: message FilteredTransaction { string txid = 1; common.HeaderType type = 2; TxValidationCode tx_validation_code = 3; oneof Data { FilteredProposalResponse proposal_response = 4; } } Change-Id: I92315ba391a35714282ed390c2c3d825673dc240 Signed-off-by: Artem Barger <bartem@il.ibm.com>
- Loading branch information
Showing
6 changed files
with
233 additions
and
120 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
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.