package
0.0.0-20180830032904-3da98e966145
Repository: https://github.com/traceabilitychain/tac.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
MakeChainCreationTransaction is a handy utility function for creating new chain transactions using the underlying Template framework.
MapConfig is intended to be called outside this file it takes a ConfigGroup and generates a map of fqPath to comparables (or error on invalid keys).
NewChainCreationTemplate takes a consortium name and a Template to produce a Template which outputs an appropriately constructed list of ConfigUpdateEnvelopes.
NewCompositeTemplate creates a Template using the source Templates.
No description provided by the author
NewInitializer creates a chain initializer for the basic set of common chain resources.
No description provided by the author
NewModPolicySettingTemplate wraps another template and sets the ModPolicy of every ConfigGroup/ConfigValue/ConfigPolicy without a modPolicy to modPolicy.
NewSimpleTemplate creates a Template using the supplied ConfigGroups.
UnmarshalConfig attempts to unmarshal bytes to a *cb.Config.
UnmarshalConfigEnvelope attempts to unmarshal bytes to a *cb.ConfigEnvelope.
UnmarshalConfigEnvelope attempts to unmarshal bytes to a *cb.ConfigEnvelope or panics.
UnmarshalConfig attempts to unmarshal bytes to a *cb.Config.
UnmarshalConfigUpdate attempts to unmarshal bytes to a *cb.ConfigUpdate.
UnmarshalConfigUpdateEnvelope attempts to unmarshal bytes to a *cb.ConfigUpdate.
UnmarshalConfigUpdateEnvelope attempts to unmarshal bytes to a *cb.ConfigUpdateEnvelope or panics.
UnmarshalConfigUpdate attempts to unmarshal bytes to a *cb.ConfigUpdate or panics.
# Constants
CreationPolicyKey defines the config key used in the channel config, under which the creation policy is defined.
No description provided by the author
No description provided by the author
The plurarility doesn't match, but, it makes the logs much easier being the same length as "Groups" and "Values".
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
Template can be used to facilitate creation of config transactions.