Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(discovery fab.DiscoveryService) (fab.SelectionService, error)
NewService creates a static selection service
Types ¶
type SelectionService ¶
type SelectionService struct {
// contains filtered or unexported fields
}
SelectionService implements static selection service
func (*SelectionService) GetEndorsersForChaincode ¶
func (s *SelectionService) GetEndorsersForChaincode(chaincodes []*fab.ChaincodeCall, opts ...copts.Opt) ([]fab.Peer, error)
GetEndorsersForChaincode returns a set of endorsing peers
Click to show internal directories.
Click to hide internal directories.