fabric: github.com/hyperledger/fabric/core/mocks/txvalidator Index | Files

package support

import "github.com/hyperledger/fabric/core/mocks/txvalidator"

Index

Package Files

support.go

type Support Uses

type Support struct {
    LedgerVal     ledger.PeerLedger
    MSPManagerVal msp.MSPManager
    ApplyVal      error
    ACVal         channelconfig.ApplicationCapabilities

    sync.Mutex
    // contains filtered or unexported fields
}

func (*Support) Apply Uses

func (ms *Support) Apply(configtx *common.ConfigEnvelope) error

Apply returns ApplyVal

func (*Support) Capabilities Uses

func (ms *Support) Capabilities() channelconfig.ApplicationCapabilities

func (*Support) CapabilitiesInvokeCount Uses

func (ms *Support) CapabilitiesInvokeCount() int

func (*Support) GetMSPIDs Uses

func (ms *Support) GetMSPIDs(cid string) []string

func (*Support) Ledger Uses

func (ms *Support) Ledger() ledger.PeerLedger

Ledger returns LedgerVal

func (*Support) MSPManager Uses

func (ms *Support) MSPManager() msp.MSPManager

MSPManager returns MSPManagerVal

func (*Support) MSPManagerInvokeCount Uses

func (ms *Support) MSPManagerInvokeCount() int

func (*Support) PolicyManager Uses

func (ms *Support) PolicyManager() policies.Manager

Package support imports 7 packages (graph). Updated 2018-10-12. Refresh now. Tools for package owners.