Skip to content

Commit

Permalink
Add java package for ledger protos
Browse files Browse the repository at this point in the history
Add java_package specification for the new
ledger protos that got introduced in
https://gerrit.hyperledger.org/r/#/c/7303/.

Change-Id: Ic68b80d550409e7c69af152cf3229f6834184af6
Signed-off-by: denyeart <enyeart@us.ibm.com>
  • Loading branch information
denyeart committed Apr 3, 2017
1 parent 2418dc5 commit ab09721
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 53 deletions.
71 changes: 36 additions & 35 deletions protos/ledger/rwset/kvrwset/kv_rwset.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion protos/ledger/rwset/kvrwset/kv_rwset.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ limitations under the License.
syntax = "proto3";

option go_package = "github.com/hyperledger/fabric/protos/ledger/rwset/kvrwset";
option java_package = "org.hyperledger.fabric.protos.ledger.rwset.kvrwset";

package kvrwset;

Expand Down Expand Up @@ -80,4 +81,4 @@ message QueryReadsMerkleSummary {
uint32 max_degree = 1;
uint32 max_level = 2;
repeated bytes max_level_hashes = 3;
}
}
33 changes: 17 additions & 16 deletions protos/ledger/rwset/rwset.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion protos/ledger/rwset/rwset.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ limitations under the License.
syntax = "proto3";

option go_package = "github.com/hyperledger/fabric/protos/ledger/rwset";
option java_package = "org.hyperledger.fabric.protos.ledger.rwset";

package rwset;

Expand All @@ -35,4 +36,4 @@ message TxReadWriteSet {
message NsReadWriteSet {
string namespace = 1;
bytes rwset = 2; // Data model specific serialized proto message (e.g., kvrwset.KVRWSet for KV and Document data models)
}
}

0 comments on commit ab09721

Please sign in to comment.