fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/pkg/client/common/selection/staticselection Index | Files

package staticselection

import "github.com/hyperledger/fabric-sdk-go/pkg/client/common/selection/staticselection"


Package Files


func NewService Uses

func NewService(discovery fab.DiscoveryService) (fab.SelectionService, error)

NewService creates a static selection service

type SelectionService Uses

type SelectionService struct {
    // contains filtered or unexported fields

SelectionService implements static selection service

func (*SelectionService) GetEndorsersForChaincode Uses

func (s *SelectionService) GetEndorsersForChaincode(chaincodes []*fab.ChaincodeCall, opts ...copts.Opt) ([]fab.Peer, error)

GetEndorsersForChaincode returns a set of endorsing peers

Package staticselection imports 4 packages (graph). Updated 2018-09-14. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).