-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-5590] Add proto fields for isolated_data
The channel creation transaction needs a way to specify additional data that is not otherwise reflected in the standard config. Still, it's desirable to specify this information in a consistent way, so it should be expressed using the same structures as the configuration. This CR introduces the notion of the 'isolated_data' field to the ConfigUpdate message. For now, the only consumer will be the RSCC seed data information, which will be set to the key rscc_seed_data and will be the bytes of a common.Config message. Because we need to be able to be able to inspect this new config message type, we need a way to differentiate channel config from resource config. Thus, this CR also introduces a 'type' field to both the Config message and the ConfigUpdate message. Change-Id: Ida6283dbeeca466aafd9bc6d027ce46e1baee0c6 Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
- Loading branch information
Jason Yellick
committed
Aug 12, 2017
1 parent
d0c97c0
commit 7e5e955
Showing
7 changed files
with
197 additions
and
74 deletions.
There are no files selected for viewing
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.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
Copyright IBM Corp. All Rights Reserved. | ||
SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
syntax = "proto3"; | ||
|
||
option java_package = "org.hyperledger.fabric.protos.peer"; | ||
option go_package = "github.com/hyperledger/fabric/protos/peer"; | ||
|
||
package protos; | ||
|
||
// Resource represents a resource in the peer whose ACL is determined by the policy_ref field | ||
message Resource { | ||
string policy_ref = 1; // The policy name to use for this resource | ||
} |
Oops, something went wrong.