# Packages
Code generated by counterfeiter.
# Functions
CreateStandardChannelFilters creates the set of filters for a normal (non-system) chain.
CreateSystemChannelFilters creates the set of filters for the ordering system chain.
NewDefaultTemplator returns an instance of the DefaultTemplator.
NewExpirationRejectRule returns a rule that rejects messages signed by identities who's identities have expired, given the capability is active.
NewRuleSet creates a new RuleSet with the given ordered list of Rules.
NewSigFilter creates a new signature filter, at every evaluation, the policy manager is called to retrieve the latest version of the policy.
New creates a size filter which rejects messages larger than maxBytes.
NewStandardChannel creates a new standard message processor.
NewSystemChannel creates a new system channel message processor.
NewSystemChannelFilter returns a new instance of a *SystemChainFilter.
# Constants
ConfigMsg indicates message of type ORDERER_TRANSACTION or CONFIG.
ConfigUpdateMsg indicates messages of type CONFIG_UPDATE.
NormalMsg is the class of standard (endorser or otherwise non-config) messages.
# Variables
AcceptRule always returns Accept as a result for Apply.
EmptyRejectRule rejects empty messages.
ErrChannelDoesNotExist is returned by the system channel for transactions which are not for the system channel ID and are not attempting to create a new channel.
ErrEmptyMessage is returned by the empty message filter on rejection.
ErrPermissionDenied is returned by errors which are caused by transactions which are not permitted due to an authorization failure.
# Structs
DefaultTemplator implements the ChannelConfigTemplator interface and is the one used in production deployments.
MaxBytesRule implements the Rule interface.
RuleSet is used to apply a collection of rules.
SigFilter stores the name of the policy to apply to deliver requests to determine whether a client is authorized.
StandardChannel implements the Processor interface for standard extant channels.
SystemChainFilter implements the filter.Rule interface.
SystemChannel implements the Processor interface for the system channel.
# Interfaces
ChainCreator defines the methods necessary to simulate channel creation.
ChannelConfigTemplator can be used to generate config templates.
DefaultTemplatorSupport is the subset of the channel config required by the DefaultTemplator.
LimitedSupport defines the subset of the channel resources required by the systemchannel filter.
Processor provides the methods necessary to classify and process any message which arrives through the Broadcast interface.
Rule defines a filter function which accepts, rejects, or forwards (to the next rule) an Envelope.
SigFilterSupport provides the resources required for the signature filter.
StandardChannelSupport includes the resources needed for the StandardChannel processor.
Support defines the subset of the channel support required to create this filter.
# Type aliases
Classification represents the possible message types for the system.