func New() ReplicaStub {
	return &replicaStub{
		ready: make(chan struct{}),
	}
}
New creates a new instance of ReplicaStub.
package replicastub
import "github.com/hyperledger-labs/minbft/api"
type ReplicaStub interface {
	api.ConnectionHandler
	AssignReplica(replica api.ConnectionHandler)
}
type replicaStub struct {
	replica api.ConnectionHandler
	ready   chan struct{}
}