Versions in this module Expand all Collapse all v1 v1.4.4 Nov 14, 2019 Changes in this version + type Channel struct + BlockDataHashingStructureWidthVal uint32 + CapabilitiesVal channelconfig.ChannelCapabilities + HashingAlgorithmVal func([]byte) []byte + OrdererAddressesVal []string + func (scm *Channel) BlockDataHashingStructureWidth() uint32 + func (scm *Channel) Capabilities() channelconfig.ChannelCapabilities + func (scm *Channel) HashingAlgorithm() func([]byte) []byte + func (scm *Channel) OrdererAddresses() []string + type ChannelCapabilities struct + ConsensusTypeMigrationVal bool + MSPVersionVal msp.MSPVersion + SupportedErr error + func (cc *ChannelCapabilities) ConsensusTypeMigration() bool + func (cc *ChannelCapabilities) MSPVersion() msp.MSPVersion + func (cc *ChannelCapabilities) OrgSpecificOrdererEndpoints() bool + func (cc *ChannelCapabilities) Supported() error + type MockApplication struct + Acls map[string]string + CapabilitiesRv channelconfig.ApplicationCapabilities + func (m *MockApplication) APIPolicyMapper() channelconfig.PolicyMapper + func (m *MockApplication) Capabilities() channelconfig.ApplicationCapabilities + func (m *MockApplication) Organizations() map[string]channelconfig.ApplicationOrg + func (m *MockApplication) PolicyRefForAPI(apiName string) string + type MockApplicationCapabilities struct + ACLsRv bool + CollectionUpgradeRv bool + FabTokenRv bool + ForbidDuplicateTXIdInBlockRv bool + KeyLevelEndorsementRv bool + MetadataLifecycleRv bool + PrivateChannelDataRv bool + StorePvtDataOfInvalidTxRv bool + SupportedRv error + V1_1ValidationRv bool + V1_2ValidationRv bool + V1_3ValidationRv bool + func (mac *MockApplicationCapabilities) ACLs() bool + func (mac *MockApplicationCapabilities) CollectionUpgrade() bool + func (mac *MockApplicationCapabilities) FabToken() bool + func (mac *MockApplicationCapabilities) ForbidDuplicateTXIdInBlock() bool + func (mac *MockApplicationCapabilities) KeyLevelEndorsement() bool + func (mac *MockApplicationCapabilities) MetadataLifecycle() bool + func (mac *MockApplicationCapabilities) PrivateChannelData() bool + func (mac *MockApplicationCapabilities) StorePvtDataOfInvalidTx() bool + func (mac *MockApplicationCapabilities) Supported() error + func (mac *MockApplicationCapabilities) V1_1Validation() bool + func (mac *MockApplicationCapabilities) V1_2Validation() bool + func (mac *MockApplicationCapabilities) V1_3Validation() bool + type Orderer struct + BatchSizeVal *ab.BatchSize + BatchTimeoutVal time.Duration + CapabilitiesVal channelconfig.OrdererCapabilities + ConsensusMetadataVal []byte + ConsensusTypeStateVal ab.ConsensusType_State + ConsensusTypeVal string + KafkaBrokersVal []string + MaxChannelsCountVal uint64 + OrganizationsVal map[string]channelconfig.OrdererOrg + func (o *Orderer) BatchSize() *ab.BatchSize + func (o *Orderer) BatchTimeout() time.Duration + func (o *Orderer) Capabilities() channelconfig.OrdererCapabilities + func (o *Orderer) ConsensusMetadata() []byte + func (o *Orderer) ConsensusState() ab.ConsensusType_State + func (o *Orderer) ConsensusType() string + func (o *Orderer) KafkaBrokers() []string + func (o *Orderer) MaxChannelsCount() uint64 + func (o *Orderer) Organizations() map[string]channelconfig.OrdererOrg + type OrdererCapabilities struct + ConsensusTypeMigrationVal bool + ExpirationVal bool + PredictableChannelTemplateVal bool + ResubmissionVal bool + SupportedErr error + func (oc *OrdererCapabilities) ConsensusTypeMigration() bool + func (oc *OrdererCapabilities) ExpirationCheck() bool + func (oc *OrdererCapabilities) PredictableChannelTemplate() bool + func (oc *OrdererCapabilities) Resubmission() bool + func (oc *OrdererCapabilities) Supported() error + type Resources struct + ApplicationConfigVal channelconfig.Application + ChannelConfigVal channelconfig.Channel + ConfigtxValidatorVal configtx.Validator + ConsortiumsConfigVal channelconfig.Consortiums + MSPManagerVal msp.MSPManager + OrdererConfigVal channelconfig.Orderer + PolicyManagerVal policies.Manager + ValidateNewErr error + func (r *Resources) ApplicationConfig() (channelconfig.Application, bool) + func (r *Resources) ChannelConfig() channelconfig.Channel + func (r *Resources) ConfigtxValidator() configtx.Validator + func (r *Resources) ConsortiumsConfig() (channelconfig.Consortiums, bool) + func (r *Resources) MSPManager() msp.MSPManager + func (r *Resources) OrdererConfig() (channelconfig.Orderer, bool) + func (r *Resources) PolicyManager() policies.Manager + func (r *Resources) ValidateNew(res channelconfig.Resources) error