...

Package support

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

Overview ▾

type Support

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

    sync.Mutex
    // contains filtered or unexported fields
}

func (*Support) Apply

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

Apply returns ApplyVal

func (*Support) Capabilities

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

func (*Support) CapabilitiesInvokeCount

func (ms *Support) CapabilitiesInvokeCount() int

func (*Support) GetMSPIDs

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

func (*Support) Ledger

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

Ledger returns LedgerVal

func (*Support) MSPManager

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

MSPManager returns MSPManagerVal

func (*Support) MSPManagerInvokeCount

func (ms *Support) MSPManagerInvokeCount() int

func (*Support) PolicyManager

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