-
Notifications
You must be signed in to change notification settings - Fork 707
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PS 13 Cleanup simplify default add orderer peer to properties 14 Provide options on getting endorsements. 15 Have discover/gossip finding peer in same org. 16 Need gossip leader set to false for v1.0.0 17 Move remap to discovery for better consistency in logs. 18 Provides alternative attempts on layouts on failures 19 Minor fix 20 Throw exception if endorsements not meet or allow inspection. 21 Method rename. 22 Fix on retry if empty 23 Run with non tls 24 Pair not everywhere. 25 Better recovery with bad service discovery peers. Minor cleanup 26 Proactive network discovery on non transaction event blocks. 27 byte[] does not do well in Sets. Bonus return discovered chaincode names and minor fix to discovery. 28 Detected upgrade chaincode event to do network discovery. 29 Restrict upgrade trigger to lscc chaincode id. 30 Mostly addressed Yacov's concerns. 31 Just changed generated protobuf package imports. Change-Id: I52e3713f555697d308434a4c7950a72cf2bb677f Signed-off-by: rickr <cr22rc@gmail.com>
- Loading branch information
Showing
32 changed files
with
2,524 additions
and
123 deletions.
There are no files selected for viewing
1,007 changes: 948 additions & 59 deletions
1,007
src/main/java/org/hyperledger/fabric/sdk/Channel.java
Large diffs are not rendered by default.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
src/main/java/org/hyperledger/fabric/sdk/EndorsementSelector.java
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,24 @@ | ||
/* | ||
* | ||
* Copyright 2016,2018 DTCC, IBM - All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
*/ | ||
|
||
package org.hyperledger.fabric.sdk; | ||
|
||
public interface EndorsementSelector { | ||
ServiceDiscovery.SDEndorserState endorserSelector(ServiceDiscovery.SDChaindcode sdChaindcode); | ||
|
||
EndorsementSelector ENDORSEMENT_SELECTION_RANDOM = ServiceDiscovery.ENDORSEMENT_SELECTION_RANDOM; | ||
EndorsementSelector ENDORSEMENT_SELECTION_LEAST_REQUIRED_BLOCKHEIGHT = ServiceDiscovery.ENDORSEMENT_SELECTION_LEAST_REQUIRED_BLOCKHEIGHT; | ||
} |
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
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
Oops, something went wrong.