-
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.
BFT chain unit tests: start a network
Signed-off-by: May Rosenbaum <[email protected]> Signed-off-by: Emil Elizarov <[email protected]>
- Loading branch information
1 parent
a307846
commit db3e9f0
Showing
4 changed files
with
363 additions
and
239 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
Copyright IBM Corp. All Rights Reserved. | ||
SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package smartbft | ||
|
||
import ( | ||
"github.com/hyperledger/fabric/orderer/common/cluster" | ||
"github.com/hyperledger/fabric/orderer/consensus" | ||
) | ||
|
||
//go:generate mockery --dir . --name ConsenterSupport --case underscore --with-expecter=true --output mocks | ||
|
||
// ConsenterSupport provides the resources available to a Consenter implementation. | ||
type ConsenterSupport interface { | ||
consensus.ConsenterSupport | ||
} | ||
|
||
//go:generate mockery --dir . --name Communicator --case underscore --with-expecter=true --output mocks | ||
|
||
// Communicator defines communication for a consenter | ||
type Communicator interface { | ||
cluster.Communicator | ||
} |
Oops, something went wrong.