{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package common\n\n## Variables\n\n```go\nvar BlockMetadataIndex_name = map[int32]string{\n\t0: \"SIGNATURES\",\n\t1: \"LAST_CONFIG\",\n\t2: \"TRANSACTIONS_FILTER\",\n\t3: \"ORDERER\",\n\t4: \"COMMIT_HASH\",\n}\n```\n\n```go\nvar BlockMetadataIndex_value = map[string]int32{\n\t\"SIGNATURES\":          0,\n\t\"LAST_CONFIG\":         1,\n\t\"TRANSACTIONS_FILTER\": 2,\n\t\"ORDERER\":             3,\n\t\"COMMIT_HASH\":         4,\n}\n```\n\n```go\nvar ChannelGroupMap = map[string]DynamicConfigGroupFactory{\n\t\"Consortiums\": DynamicConsortiumsGroupFactory{},\n}\n```\nChannelGroupMap is a slightly hacky way to break the dependency cycle which would be created if the protos/common package imported the protos/orderer or protos/peer packages.  These packages instead register a DynamicConfigGroupFactory with the ChannelGroupMap when they are loaded, creating a runtime linkage between the two\n\n```go\nvar ConfigUpdateIsolatedDataTypes = map[string]func(string) proto.Message{}\n```\nConfigUpdateIsolatedDataTypes allows other proto packages to register types for the the isolated\\_data field.  This is necessary to break import cycles.\n\n```go\nvar HeaderType_name = map[int32]string{\n\t0: \"MESSAGE\",\n\t1: \"CONFIG\",\n\t2: \"CONFIG_UPDATE\",\n\t3: \"ENDORSER_TRANSACTION\",\n\t4: \"ORDERER_TRANSACTION\",\n\t5: \"DELIVER_SEEK_INFO\",\n\t6: \"CHAINCODE_PACKAGE\",\n\t8: \"PEER_ADMIN_OPERATION\",\n\t9: \"TOKEN_TRANSACTION\",\n}\n```\n\n```go\nvar HeaderType_value = map[string]int32{\n\t\"MESSAGE\":              0,\n\t\"CONFIG\":               1,\n\t\"CONFIG_UPDATE\":        2,\n\t\"ENDORSER_TRANSACTION\": 3,\n\t\"ORDERER_TRANSACTION\":  4,\n\t\"DELIVER_SEEK_INFO\":    5,\n\t\"CHAINCODE_PACKAGE\":    6,\n\t\"PEER_ADMIN_OPERATION\": 8,\n\t\"TOKEN_TRANSACTION\":    9,\n}\n```\n\n```go\nvar ImplicitMetaPolicy_Rule_name = map[int32]string{\n\t0: \"ANY\",\n\t1: \"ALL\",\n\t2: \"MAJORITY\",\n}\n```\n\n```go\nvar ImplicitMetaPolicy_Rule_value = map[string]int32{\n\t\"ANY\":      0,\n\t\"ALL\":      1,\n\t\"MAJORITY\": 2,\n}\n```\n\n```go\nvar PayloadDataMap = map[int32]proto.Message{\n\tint32(HeaderType_CONFIG):              \u0026ConfigEnvelope{},\n\tint32(HeaderType_ORDERER_TRANSACTION): \u0026Envelope{},\n\tint32(HeaderType_CONFIG_UPDATE):       \u0026ConfigUpdateEnvelope{},\n\tint32(HeaderType_MESSAGE):             \u0026ConfigValue{},\n}\n```\n\n```go\nvar Policy_PolicyType_name = map[int32]string{\n\t0: \"UNKNOWN\",\n\t1: \"SIGNATURE\",\n\t2: \"MSP\",\n\t3: \"IMPLICIT_META\",\n}\n```\n\n```go\nvar Policy_PolicyType_value = map[string]int32{\n\t\"UNKNOWN\":       0,\n\t\"SIGNATURE\":     1,\n\t\"MSP\":           2,\n\t\"IMPLICIT_META\": 3,\n}\n```\n\n```go\nvar Status_name = map[int32]string{\n\t0:   \"UNKNOWN\",\n\t200: \"SUCCESS\",\n\t400: \"BAD_REQUEST\",\n\t403: \"FORBIDDEN\",\n\t404: \"NOT_FOUND\",\n\t413: \"REQUEST_ENTITY_TOO_LARGE\",\n\t500: \"INTERNAL_SERVER_ERROR\",\n\t501: \"NOT_IMPLEMENTED\",\n\t503: \"SERVICE_UNAVAILABLE\",\n}\n```\n\n```go\nvar Status_value = map[string]int32{\n\t\"UNKNOWN\":                  0,\n\t\"SUCCESS\":                  200,\n\t\"BAD_REQUEST\":              400,\n\t\"FORBIDDEN\":                403,\n\t\"NOT_FOUND\":                404,\n\t\"REQUEST_ENTITY_TOO_LARGE\": 413,\n\t\"INTERNAL_SERVER_ERROR\":    500,\n\t\"NOT_IMPLEMENTED\":          501,\n\t\"SERVICE_UNAVAILABLE\":      503,\n}\n```\n\n## Types\n\n```go\ntype Block struct {\n\tHeader               *BlockHeader   `protobuf:\"bytes,1,opt,name=header,proto3\" json:\"header,omitempty\"`\n\tData                 *BlockData     `protobuf:\"bytes,2,opt,name=data,proto3\" json:\"data,omitempty\"`\n\tMetadata             *BlockMetadata `protobuf:\"bytes,3,opt,name=metadata,proto3\" json:\"metadata,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}       `json:\"-\"`\n\tXXX_unrecognized     []byte         `json:\"-\"`\n\tXXX_sizecache        int32          `json:\"-\"`\n}\n```\nThis is finalized block structure to be shared among the orderer and peer Note that the BlockHeader chains to the previous BlockHeader, and the BlockData hash is embedded in the BlockHeader.  This makes it natural and obvious that the Data is included in the hash, but the Metadata is not.\n\n```go\nfunc NewBlock(seqNum uint64, previousHash []byte) *Block\n```\nNewBlock construct a block with no data and no metadata.\n\n```go\nfunc (*Block) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Block) GetData() *BlockData\n```\n\n```go\nfunc (m *Block) GetHeader() *BlockHeader\n```\n\n```go\nfunc (m *Block) GetMetadata() *BlockMetadata\n```\n\n```go\nfunc (*Block) ProtoMessage()\n```\n\n```go\nfunc (m *Block) Reset()\n```\n\n```go\nfunc (m *Block) String() string\n```\n\n```go\nfunc (m *Block) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Block) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Block) XXX_Size() int\n```\n\n```go\nfunc (m *Block) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype BlockData struct {\n\tData                 [][]byte `protobuf:\"bytes,1,rep,name=data,proto3\" json:\"data,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (b *BlockData) Bytes() []byte\n```\nBytes returns a deterministically serialized version of the BlockData eventually, this should be replaced with a true Merkle tree construction, but for the moment, we assume a Merkle tree of infinite width (uint32\\_max) which degrades to a flat hash\n\n```go\nfunc (*BlockData) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *BlockData) GetData() [][]byte\n```\n\n```go\nfunc (b *BlockData) Hash() []byte\n```\nHash returns the hash of the marshaled representation of the block data.\n\n```go\nfunc (*BlockData) ProtoMessage()\n```\n\n```go\nfunc (m *BlockData) Reset()\n```\n\n```go\nfunc (bd *BlockData) StaticallyOpaqueSliceFieldProto(fieldName string, index int) (proto.Message, error)\n```\n\n```go\nfunc (bd *BlockData) StaticallyOpaqueSliceFields() []string\n```\n\n```go\nfunc (m *BlockData) String() string\n```\n\n```go\nfunc (m *BlockData) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *BlockData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *BlockData) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *BlockData) XXX_Size() int\n```\n\n```go\nfunc (m *BlockData) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype BlockDataHashingStructure struct {\n\t// width specifies the width of the Merkle tree to use when computing the BlockDataHash\n\t// in order to replicate flat hashing, set this width to MAX_UINT32\n\tWidth                uint32   `protobuf:\"varint,1,opt,name=width,proto3\" json:\"width,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nBlockDataHashingStructure is encoded into the configuration transaction as a configuration item of type Chain with a Key of \"BlockDataHashingStructure\" and a Value of HashingAlgorithm as marshaled protobuf bytes\n\n```go\nfunc (*BlockDataHashingStructure) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *BlockDataHashingStructure) GetWidth() uint32\n```\n\n```go\nfunc (*BlockDataHashingStructure) ProtoMessage()\n```\n\n```go\nfunc (m *BlockDataHashingStructure) Reset()\n```\n\n```go\nfunc (m *BlockDataHashingStructure) String() string\n```\n\n```go\nfunc (m *BlockDataHashingStructure) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *BlockDataHashingStructure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *BlockDataHashingStructure) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *BlockDataHashingStructure) XXX_Size() int\n```\n\n```go\nfunc (m *BlockDataHashingStructure) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype BlockHeader struct {\n\tNumber               uint64   `protobuf:\"varint,1,opt,name=number,proto3\" json:\"number,omitempty\"`\n\tPreviousHash         []byte   `protobuf:\"bytes,2,opt,name=previous_hash,json=previousHash,proto3\" json:\"previous_hash,omitempty\"`\n\tDataHash             []byte   `protobuf:\"bytes,3,opt,name=data_hash,json=dataHash,proto3\" json:\"data_hash,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nBlockHeader is the element of the block which forms the block chain The block header is hashed using the configured chain hashing algorithm over the ASN.1 encoding of the BlockHeader\n\n```go\nfunc (b *BlockHeader) Bytes() []byte\n```\nBytes returns the ASN.1 marshaled representation of the block header.\n\n```go\nfunc (*BlockHeader) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *BlockHeader) GetDataHash() []byte\n```\n\n```go\nfunc (m *BlockHeader) GetNumber() uint64\n```\n\n```go\nfunc (m *BlockHeader) GetPreviousHash() []byte\n```\n\n```go\nfunc (b *BlockHeader) Hash() []byte\n```\nHash returns the hash of the block header. XXX This method will be removed shortly to allow for confgurable hashing algorithms\n\n```go\nfunc (*BlockHeader) ProtoMessage()\n```\n\n```go\nfunc (m *BlockHeader) Reset()\n```\n\n```go\nfunc (m *BlockHeader) String() string\n```\n\n```go\nfunc (m *BlockHeader) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *BlockHeader) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *BlockHeader) XXX_Size() int\n```\n\n```go\nfunc (m *BlockHeader) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype BlockMetadata struct {\n\tMetadata             [][]byte `protobuf:\"bytes,1,rep,name=metadata,proto3\" json:\"metadata,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*BlockMetadata) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *BlockMetadata) GetMetadata() [][]byte\n```\n\n```go\nfunc (*BlockMetadata) ProtoMessage()\n```\n\n```go\nfunc (m *BlockMetadata) Reset()\n```\n\n```go\nfunc (m *BlockMetadata) String() string\n```\n\n```go\nfunc (m *BlockMetadata) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *BlockMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *BlockMetadata) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *BlockMetadata) XXX_Size() int\n```\n\n```go\nfunc (m *BlockMetadata) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype BlockMetadataIndex int32\n```\nThis enum enlists indexes of the block metadata array\n\n```go\nconst (\n\tBlockMetadataIndex_SIGNATURES          BlockMetadataIndex = 0\n\tBlockMetadataIndex_LAST_CONFIG         BlockMetadataIndex = 1\n\tBlockMetadataIndex_TRANSACTIONS_FILTER BlockMetadataIndex = 2\n\tBlockMetadataIndex_ORDERER             BlockMetadataIndex = 3\n\tBlockMetadataIndex_COMMIT_HASH         BlockMetadataIndex = 4\n)\n```\n\n```go\nfunc (BlockMetadataIndex) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x BlockMetadataIndex) String() string\n```\n\n```go\ntype BlockchainInfo struct {\n\tHeight               uint64   `protobuf:\"varint,1,opt,name=height,proto3\" json:\"height,omitempty\"`\n\tCurrentBlockHash     []byte   `protobuf:\"bytes,2,opt,name=currentBlockHash,proto3\" json:\"currentBlockHash,omitempty\"`\n\tPreviousBlockHash    []byte   `protobuf:\"bytes,3,opt,name=previousBlockHash,proto3\" json:\"previousBlockHash,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nContains information about the blockchain ledger such as height, current block hash, and previous block hash.\n\n```go\nfunc (*BlockchainInfo) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *BlockchainInfo) GetCurrentBlockHash() []byte\n```\n\n```go\nfunc (m *BlockchainInfo) GetHeight() uint64\n```\n\n```go\nfunc (m *BlockchainInfo) GetPreviousBlockHash() []byte\n```\n\n```go\nfunc (*BlockchainInfo) ProtoMessage()\n```\n\n```go\nfunc (m *BlockchainInfo) Reset()\n```\n\n```go\nfunc (m *BlockchainInfo) String() string\n```\n\n```go\nfunc (m *BlockchainInfo) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *BlockchainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *BlockchainInfo) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *BlockchainInfo) XXX_Size() int\n```\n\n```go\nfunc (m *BlockchainInfo) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Capabilities struct {\n\tCapabilities         map[string]*Capability `protobuf:\"bytes,1,rep,name=capabilities,proto3\" json:\"capabilities,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tXXX_NoUnkeyedLiteral struct{}               `json:\"-\"`\n\tXXX_unrecognized     []byte                 `json:\"-\"`\n\tXXX_sizecache        int32                  `json:\"-\"`\n}\n```\nCapabilities message defines the capabilities a particular binary must implement for that binary to be able to safely participate in the channel.  The capabilities message is defined at the /Channel level, the /Channel/Application level, and the /Channel/Orderer level.\n\nThe /Channel level capabilties define capabilities which both the orderer and peer binaries must satisfy.  These capabilties might be things like a new MSP type, or a new policy type.\n\nThe /Channel/Orderer level capabilties define capabilities which must be supported by the orderer, but which have no bearing on the behavior of the peer.  For instance if the orderer changes the logic for how it constructs new channels, only all orderers must agree on the new logic.  The peers do not need to be aware of this change as they only interact with the channel after it has been constructed.\n\nFinally, the /Channel/Application level capabilities define capabilities which the peer binary must satisfy, but which have no bearing on the orderer.  For instance, if the peer adds a new UTXO transaction type, or changes the chaincode lifecycle requirements, all peers must agree on the new logic.  However, orderers never inspect transactions this deeply, and therefore have no need to be aware of the change.\n\nThe capabilities strings defined in these messages typically correspond to release binary versions (e.g. \"V1.1\"), and are used primarilly as a mechanism for a fully upgraded network to switch from one set of logic to a new one.\n\nAlthough for V1.1, the orderers must be upgraded to V1.1 prior to the rest of the network, going forward, because of the split between the /Channel, /Channel/Orderer and /Channel/Application capabilities.  It should be possible for the orderer and application networks to upgrade themselves independently (with the exception of any new capabilities defined at the /Channel level).\n\n```go\nfunc (*Capabilities) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Capabilities) GetCapabilities() map[string]*Capability\n```\n\n```go\nfunc (*Capabilities) ProtoMessage()\n```\n\n```go\nfunc (m *Capabilities) Reset()\n```\n\n```go\nfunc (m *Capabilities) String() string\n```\n\n```go\nfunc (m *Capabilities) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Capabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Capabilities) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Capabilities) XXX_Size() int\n```\n\n```go\nfunc (m *Capabilities) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Capability struct {\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nCapability is an empty message for the time being.  It is defined as a protobuf message rather than a constant, so that we may extend capabilities with other fields if the need arises in the future.  For the time being, a capability being in the capabilities map requires that that capability be supported.\n\n```go\nfunc (*Capability) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (*Capability) ProtoMessage()\n```\n\n```go\nfunc (m *Capability) Reset()\n```\n\n```go\nfunc (m *Capability) String() string\n```\n\n```go\nfunc (m *Capability) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Capability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Capability) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Capability) XXX_Size() int\n```\n\n```go\nfunc (m *Capability) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ChannelHeader struct {\n\tType int32 `protobuf:\"varint,1,opt,name=type,proto3\" json:\"type,omitempty\"`\n\t// Version indicates message protocol version\n\tVersion int32 `protobuf:\"varint,2,opt,name=version,proto3\" json:\"version,omitempty\"`\n\t// Timestamp is the local time when the message was created\n\t// by the sender\n\tTimestamp *timestamp.Timestamp `protobuf:\"bytes,3,opt,name=timestamp,proto3\" json:\"timestamp,omitempty\"`\n\t// Identifier of the channel this message is bound for\n\tChannelId string `protobuf:\"bytes,4,opt,name=channel_id,json=channelId,proto3\" json:\"channel_id,omitempty\"`\n\t// An unique identifier that is used end-to-end.\n\t//  -  set by higher layers such as end user or SDK\n\t//  -  passed to the endorser (which will check for uniqueness)\n\t//  -  as the header is passed along unchanged, it will be\n\t//     be retrieved by the committer (uniqueness check here as well)\n\t//  -  to be stored in the ledger\n\tTxId string `protobuf:\"bytes,5,opt,name=tx_id,json=txId,proto3\" json:\"tx_id,omitempty\"`\n\t// The epoch in which this header was generated, where epoch is defined based on block height\n\t// Epoch in which the response has been generated. This field identifies a\n\t// logical window of time. A proposal response is accepted by a peer only if\n\t// two conditions hold:\n\t// 1. the epoch specified in the message is the current epoch\n\t// 2. this message has been only seen once during this epoch (i.e. it hasn't\n\t//    been replayed)\n\tEpoch uint64 `protobuf:\"varint,6,opt,name=epoch,proto3\" json:\"epoch,omitempty\"`\n\t// Extension that may be attached based on the header type\n\tExtension []byte `protobuf:\"bytes,7,opt,name=extension,proto3\" json:\"extension,omitempty\"`\n\t// If mutual TLS is employed, this represents\n\t// the hash of the client's TLS certificate\n\tTlsCertHash          []byte   `protobuf:\"bytes,8,opt,name=tls_cert_hash,json=tlsCertHash,proto3\" json:\"tls_cert_hash,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nHeader is a generic replay prevention and identity message to include in a signed payload\n\n```go\nfunc (*ChannelHeader) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ChannelHeader) GetChannelId() string\n```\n\n```go\nfunc (m *ChannelHeader) GetEpoch() uint64\n```\n\n```go\nfunc (m *ChannelHeader) GetExtension() []byte\n```\n\n```go\nfunc (m *ChannelHeader) GetTimestamp() *timestamp.Timestamp\n```\n\n```go\nfunc (m *ChannelHeader) GetTlsCertHash() []byte\n```\n\n```go\nfunc (m *ChannelHeader) GetTxId() string\n```\n\n```go\nfunc (m *ChannelHeader) GetType() int32\n```\n\n```go\nfunc (m *ChannelHeader) GetVersion() int32\n```\n\n```go\nfunc (*ChannelHeader) ProtoMessage()\n```\n\n```go\nfunc (m *ChannelHeader) Reset()\n```\n\n```go\nfunc (m *ChannelHeader) String() string\n```\n\n```go\nfunc (m *ChannelHeader) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ChannelHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ChannelHeader) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ChannelHeader) XXX_Size() int\n```\n\n```go\nfunc (m *ChannelHeader) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CollectionConfig struct {\n\t// Types that are valid to be assigned to Payload:\n\t//\t*CollectionConfig_StaticCollectionConfig\n\tPayload              isCollectionConfig_Payload `protobuf_oneof:\"payload\"`\n\tXXX_NoUnkeyedLiteral struct{}                   `json:\"-\"`\n\tXXX_unrecognized     []byte                     `json:\"-\"`\n\tXXX_sizecache        int32                      `json:\"-\"`\n}\n```\nCollectionConfig defines the configuration of a collection object; it currently contains a single, static type. Dynamic collections are deferred.\n\n```go\nfunc (*CollectionConfig) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *CollectionConfig) GetPayload() isCollectionConfig_Payload\n```\n\n```go\nfunc (m *CollectionConfig) GetStaticCollectionConfig() *StaticCollectionConfig\n```\n\n```go\nfunc (*CollectionConfig) ProtoMessage()\n```\n\n```go\nfunc (m *CollectionConfig) Reset()\n```\n\n```go\nfunc (m *CollectionConfig) String() string\n```\n\n```go\nfunc (m *CollectionConfig) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *CollectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *CollectionConfig) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*CollectionConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})\n```\nXXX\\_OneofFuncs is for the internal use of the proto package.\n\n```go\nfunc (m *CollectionConfig) XXX_Size() int\n```\n\n```go\nfunc (m *CollectionConfig) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CollectionConfigPackage struct {\n\tConfig               []*CollectionConfig `protobuf:\"bytes,1,rep,name=config,proto3\" json:\"config,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}            `json:\"-\"`\n\tXXX_unrecognized     []byte              `json:\"-\"`\n\tXXX_sizecache        int32               `json:\"-\"`\n}\n```\nCollectionConfigPackage represents an array of CollectionConfig messages; the extra struct is required because repeated oneof is forbidden by the protobuf syntax\n\n```go\nfunc (*CollectionConfigPackage) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *CollectionConfigPackage) GetConfig() []*CollectionConfig\n```\n\n```go\nfunc (*CollectionConfigPackage) ProtoMessage()\n```\n\n```go\nfunc (m *CollectionConfigPackage) Reset()\n```\n\n```go\nfunc (m *CollectionConfigPackage) String() string\n```\n\n```go\nfunc (m *CollectionConfigPackage) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *CollectionConfigPackage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *CollectionConfigPackage) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *CollectionConfigPackage) XXX_Size() int\n```\n\n```go\nfunc (m *CollectionConfigPackage) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CollectionConfig_StaticCollectionConfig struct {\n\tStaticCollectionConfig *StaticCollectionConfig `protobuf:\"bytes,1,opt,name=static_collection_config,json=staticCollectionConfig,proto3,oneof\"`\n}\n```\n\n```go\ntype CollectionCriteria struct {\n\tChannel              string   `protobuf:\"bytes,1,opt,name=channel,proto3\" json:\"channel,omitempty\"`\n\tTxId                 string   `protobuf:\"bytes,2,opt,name=tx_id,json=txId,proto3\" json:\"tx_id,omitempty\"`\n\tCollection           string   `protobuf:\"bytes,3,opt,name=collection,proto3\" json:\"collection,omitempty\"`\n\tNamespace            string   `protobuf:\"bytes,4,opt,name=namespace,proto3\" json:\"namespace,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nCollectionCriteria defines an element of a private data that corresponds to a certain transaction and collection\n\n```go\nfunc (*CollectionCriteria) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *CollectionCriteria) GetChannel() string\n```\n\n```go\nfunc (m *CollectionCriteria) GetCollection() string\n```\n\n```go\nfunc (m *CollectionCriteria) GetNamespace() string\n```\n\n```go\nfunc (m *CollectionCriteria) GetTxId() string\n```\n\n```go\nfunc (*CollectionCriteria) ProtoMessage()\n```\n\n```go\nfunc (m *CollectionCriteria) Reset()\n```\n\n```go\nfunc (m *CollectionCriteria) String() string\n```\n\n```go\nfunc (m *CollectionCriteria) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *CollectionCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *CollectionCriteria) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *CollectionCriteria) XXX_Size() int\n```\n\n```go\nfunc (m *CollectionCriteria) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CollectionPolicyConfig struct {\n\t// Types that are valid to be assigned to Payload:\n\t//\t*CollectionPolicyConfig_SignaturePolicy\n\tPayload              isCollectionPolicyConfig_Payload `protobuf_oneof:\"payload\"`\n\tXXX_NoUnkeyedLiteral struct{}                         `json:\"-\"`\n\tXXX_unrecognized     []byte                           `json:\"-\"`\n\tXXX_sizecache        int32                            `json:\"-\"`\n}\n```\nCollection policy configuration. Initially, the configuration can only contain a SignaturePolicy. In the future, the SignaturePolicy may be a more general Policy. Instead of containing the actual policy, the configuration may in the future contain a string reference to a policy.\n\n```go\nfunc (*CollectionPolicyConfig) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *CollectionPolicyConfig) GetPayload() isCollectionPolicyConfig_Payload\n```\n\n```go\nfunc (m *CollectionPolicyConfig) GetSignaturePolicy() *SignaturePolicyEnvelope\n```\n\n```go\nfunc (*CollectionPolicyConfig) ProtoMessage()\n```\n\n```go\nfunc (m *CollectionPolicyConfig) Reset()\n```\n\n```go\nfunc (m *CollectionPolicyConfig) String() string\n```\n\n```go\nfunc (m *CollectionPolicyConfig) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *CollectionPolicyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *CollectionPolicyConfig) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*CollectionPolicyConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})\n```\nXXX\\_OneofFuncs is for the internal use of the proto package.\n\n```go\nfunc (m *CollectionPolicyConfig) XXX_Size() int\n```\n\n```go\nfunc (m *CollectionPolicyConfig) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype CollectionPolicyConfig_SignaturePolicy struct {\n\tSignaturePolicy *SignaturePolicyEnvelope `protobuf:\"bytes,1,opt,name=signature_policy,json=signaturePolicy,proto3,oneof\"`\n}\n```\n\n```go\ntype Config struct {\n\tSequence             uint64       `protobuf:\"varint,1,opt,name=sequence,proto3\" json:\"sequence,omitempty\"`\n\tChannelGroup         *ConfigGroup `protobuf:\"bytes,2,opt,name=channel_group,json=channelGroup,proto3\" json:\"channel_group,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}     `json:\"-\"`\n\tXXX_unrecognized     []byte       `json:\"-\"`\n\tXXX_sizecache        int32        `json:\"-\"`\n}\n```\nConfig represents the config for a particular channel\n\n```go\nfunc (*Config) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (c *Config) DynamicFieldProto(name string, base proto.Message) (proto.Message, error)\n```\n\n```go\nfunc (c *Config) DynamicFields() []string\n```\n\n```go\nfunc (m *Config) GetChannelGroup() *ConfigGroup\n```\n\n```go\nfunc (m *Config) GetSequence() uint64\n```\n\n```go\nfunc (*Config) ProtoMessage()\n```\n\n```go\nfunc (m *Config) Reset()\n```\n\n```go\nfunc (m *Config) String() string\n```\n\n```go\nfunc (m *Config) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Config) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Config) XXX_Size() int\n```\n\n```go\nfunc (m *Config) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ConfigEnvelope struct {\n\tConfig               *Config   `protobuf:\"bytes,1,opt,name=config,proto3\" json:\"config,omitempty\"`\n\tLastUpdate           *Envelope `protobuf:\"bytes,2,opt,name=last_update,json=lastUpdate,proto3\" json:\"last_update,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}  `json:\"-\"`\n\tXXX_unrecognized     []byte    `json:\"-\"`\n\tXXX_sizecache        int32     `json:\"-\"`\n}\n```\nConfigEnvelope is designed to contain \\_all\\_ configuration for a chain with no dependency on previous configuration transactions.\n\nIt is generated with the following scheme:\n\n 1. Retrieve the existing configuration\n 2. Note the config properties (ConfigValue, ConfigPolicy, ConfigGroup) to be modified\n 3. Add any intermediate ConfigGroups to the ConfigUpdate.read\\_set (sparsely)\n 4. Add any additional desired dependencies to ConfigUpdate.read\\_set (sparsely)\n 5. Modify the config properties, incrementing each version by 1, set them in the ConfigUpdate.write\\_set Note: any element not modified but specified should already be in the read\\_set, so may be specified sparsely\n 6. Create ConfigUpdate message and marshal it into ConfigUpdateEnvelope.update and encode the required signatures a) Each signature is of type ConfigSignature b) The ConfigSignature signature is over the concatenation of signature\\_header and the ConfigUpdate bytes (which includes a ChainHeader)\n 5. Submit new Config for ordering in Envelope signed by submitter a) The Envelope Payload has data set to the marshaled ConfigEnvelope b) The Envelope Payload has a header of type Header.Type.CONFIG\\_UPDATE\n\nThe configuration manager will verify:\n\n 1. All items in the read\\_set exist at the read versions\n 2. All items in the write\\_set at a different version than, or not in, the read\\_set have been appropriately signed according to their mod\\_policy\n 3. The new configuration satisfies the ConfigSchema\n\n```go\nfunc (*ConfigEnvelope) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ConfigEnvelope) GetConfig() *Config\n```\n\n```go\nfunc (m *ConfigEnvelope) GetLastUpdate() *Envelope\n```\n\n```go\nfunc (*ConfigEnvelope) ProtoMessage()\n```\n\n```go\nfunc (m *ConfigEnvelope) Reset()\n```\n\n```go\nfunc (m *ConfigEnvelope) String() string\n```\n\n```go\nfunc (m *ConfigEnvelope) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ConfigEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ConfigEnvelope) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ConfigEnvelope) XXX_Size() int\n```\n\n```go\nfunc (m *ConfigEnvelope) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ConfigGroup struct {\n\tVersion              uint64                   `protobuf:\"varint,1,opt,name=version,proto3\" json:\"version,omitempty\"`\n\tGroups               map[string]*ConfigGroup  `protobuf:\"bytes,2,rep,name=groups,proto3\" json:\"groups,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tValues               map[string]*ConfigValue  `protobuf:\"bytes,3,rep,name=values,proto3\" json:\"values,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tPolicies             map[string]*ConfigPolicy `protobuf:\"bytes,4,rep,name=policies,proto3\" json:\"policies,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tModPolicy            string                   `protobuf:\"bytes,5,opt,name=mod_policy,json=modPolicy,proto3\" json:\"mod_policy,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}                 `json:\"-\"`\n\tXXX_unrecognized     []byte                   `json:\"-\"`\n\tXXX_sizecache        int32                    `json:\"-\"`\n}\n```\nConfigGroup is the hierarchical data structure for holding config\n\n```go\nfunc NewConfigGroup() *ConfigGroup\n```\n\n```go\nfunc (*ConfigGroup) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (cg *ConfigGroup) DynamicMapFields() []string\n```\n\n```go\nfunc (m *ConfigGroup) GetGroups() map[string]*ConfigGroup\n```\n\n```go\nfunc (m *ConfigGroup) GetModPolicy() string\n```\n\n```go\nfunc (m *ConfigGroup) GetPolicies() map[string]*ConfigPolicy\n```\n\n```go\nfunc (m *ConfigGroup) GetValues() map[string]*ConfigValue\n```\n\n```go\nfunc (m *ConfigGroup) GetVersion() uint64\n```\n\n```go\nfunc (*ConfigGroup) ProtoMessage()\n```\n\n```go\nfunc (m *ConfigGroup) Reset()\n```\n\n```go\nfunc (m *ConfigGroup) String() string\n```\n\n```go\nfunc (cg *ConfigGroup) Underlying() proto.Message\n```\n\n```go\nfunc (m *ConfigGroup) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ConfigGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ConfigGroup) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ConfigGroup) XXX_Size() int\n```\n\n```go\nfunc (m *ConfigGroup) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ConfigGroupSchema struct {\n\tGroups               map[string]*ConfigGroupSchema  `protobuf:\"bytes,1,rep,name=groups,proto3\" json:\"groups,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tValues               map[string]*ConfigValueSchema  `protobuf:\"bytes,2,rep,name=values,proto3\" json:\"values,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tPolicies             map[string]*ConfigPolicySchema `protobuf:\"bytes,3,rep,name=policies,proto3\" json:\"policies,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tXXX_NoUnkeyedLiteral struct{}                       `json:\"-\"`\n\tXXX_unrecognized     []byte                         `json:\"-\"`\n\tXXX_sizecache        int32                          `json:\"-\"`\n}\n```\n\n```go\nfunc (*ConfigGroupSchema) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ConfigGroupSchema) GetGroups() map[string]*ConfigGroupSchema\n```\n\n```go\nfunc (m *ConfigGroupSchema) GetPolicies() map[string]*ConfigPolicySchema\n```\n\n```go\nfunc (m *ConfigGroupSchema) GetValues() map[string]*ConfigValueSchema\n```\n\n```go\nfunc (*ConfigGroupSchema) ProtoMessage()\n```\n\n```go\nfunc (m *ConfigGroupSchema) Reset()\n```\n\n```go\nfunc (m *ConfigGroupSchema) String() string\n```\n\n```go\nfunc (m *ConfigGroupSchema) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ConfigGroupSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ConfigGroupSchema) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ConfigGroupSchema) XXX_Size() int\n```\n\n```go\nfunc (m *ConfigGroupSchema) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ConfigPolicy struct {\n\tVersion              uint64   `protobuf:\"varint,1,opt,name=version,proto3\" json:\"version,omitempty\"`\n\tPolicy               *Policy  `protobuf:\"bytes,2,opt,name=policy,proto3\" json:\"policy,omitempty\"`\n\tModPolicy            string   `protobuf:\"bytes,3,opt,name=mod_policy,json=modPolicy,proto3\" json:\"mod_policy,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*ConfigPolicy) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ConfigPolicy) GetModPolicy() string\n```\n\n```go\nfunc (m *ConfigPolicy) GetPolicy() *Policy\n```\n\n```go\nfunc (m *ConfigPolicy) GetVersion() uint64\n```\n\n```go\nfunc (*ConfigPolicy) ProtoMessage()\n```\n\n```go\nfunc (m *ConfigPolicy) Reset()\n```\n\n```go\nfunc (m *ConfigPolicy) String() string\n```\n\n```go\nfunc (m *ConfigPolicy) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ConfigPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ConfigPolicy) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ConfigPolicy) XXX_Size() int\n```\n\n```go\nfunc (m *ConfigPolicy) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ConfigPolicySchema struct {\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*ConfigPolicySchema) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (*ConfigPolicySchema) ProtoMessage()\n```\n\n```go\nfunc (m *ConfigPolicySchema) Reset()\n```\n\n```go\nfunc (m *ConfigPolicySchema) String() string\n```\n\n```go\nfunc (m *ConfigPolicySchema) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ConfigPolicySchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ConfigPolicySchema) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ConfigPolicySchema) XXX_Size() int\n```\n\n```go\nfunc (m *ConfigPolicySchema) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ConfigSignature struct {\n\tSignatureHeader      []byte   `protobuf:\"bytes,1,opt,name=signature_header,json=signatureHeader,proto3\" json:\"signature_header,omitempty\"`\n\tSignature            []byte   `protobuf:\"bytes,2,opt,name=signature,proto3\" json:\"signature,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*ConfigSignature) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ConfigSignature) GetSignature() []byte\n```\n\n```go\nfunc (m *ConfigSignature) GetSignatureHeader() []byte\n```\n\n```go\nfunc (*ConfigSignature) ProtoMessage()\n```\n\n```go\nfunc (m *ConfigSignature) Reset()\n```\n\n```go\nfunc (cs *ConfigSignature) StaticallyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\nfunc (cs *ConfigSignature) StaticallyOpaqueFields() []string\n```\n\n```go\nfunc (m *ConfigSignature) String() string\n```\n\n```go\nfunc (m *ConfigSignature) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ConfigSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ConfigSignature) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ConfigSignature) XXX_Size() int\n```\n\n```go\nfunc (m *ConfigSignature) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ConfigUpdate struct {\n\tChannelId            string            `protobuf:\"bytes,1,opt,name=channel_id,json=channelId,proto3\" json:\"channel_id,omitempty\"`\n\tReadSet              *ConfigGroup      `protobuf:\"bytes,2,opt,name=read_set,json=readSet,proto3\" json:\"read_set,omitempty\"`\n\tWriteSet             *ConfigGroup      `protobuf:\"bytes,3,opt,name=write_set,json=writeSet,proto3\" json:\"write_set,omitempty\"`\n\tIsolatedData         map[string][]byte `protobuf:\"bytes,5,rep,name=isolated_data,json=isolatedData,proto3\" json:\"isolated_data,omitempty\" protobuf_key:\"bytes,1,opt,name=key,proto3\" protobuf_val:\"bytes,2,opt,name=value,proto3\"`\n\tXXX_NoUnkeyedLiteral struct{}          `json:\"-\"`\n\tXXX_unrecognized     []byte            `json:\"-\"`\n\tXXX_sizecache        int32             `json:\"-\"`\n}\n```\nConfigUpdate is used to submit a subset of config and to have the orderer apply to Config it is always submitted inside a ConfigUpdateEnvelope which allows the addition of signatures resulting in a new total configuration.  The update is applied as follows:\n\n 1. The versions from all of the elements in the read\\_set is verified against the versions in the existing config. If there is a mismatch in the read versions, then the config update fails and is rejected.\n 2. Any elements in the write\\_set with the same version as the read\\_set are ignored.\n 3. The corresponding mod\\_policy for every remaining element in the write\\_set is collected.\n 4. Each policy is checked against the signatures from the ConfigUpdateEnvelope, any failing to verify are rejected\n 5. The write\\_set is applied to the Config and the ConfigGroupSchema verifies that the updates were legal\n\n```go\nfunc (*ConfigUpdate) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (c *ConfigUpdate) DynamicFieldProto(name string, base proto.Message) (proto.Message, error)\n```\n\n```go\nfunc (c *ConfigUpdate) DynamicFields() []string\n```\n\n```go\nfunc (m *ConfigUpdate) GetChannelId() string\n```\n\n```go\nfunc (m *ConfigUpdate) GetIsolatedData() map[string][]byte\n```\n\n```go\nfunc (m *ConfigUpdate) GetReadSet() *ConfigGroup\n```\n\n```go\nfunc (m *ConfigUpdate) GetWriteSet() *ConfigGroup\n```\n\n```go\nfunc (*ConfigUpdate) ProtoMessage()\n```\n\n```go\nfunc (m *ConfigUpdate) Reset()\n```\n\n```go\nfunc (c *ConfigUpdate) StaticallyOpaqueMapFieldProto(name string, key string) (proto.Message, error)\n```\n\n```go\nfunc (c *ConfigUpdate) StaticallyOpaqueMapFields() []string\n```\n\n```go\nfunc (m *ConfigUpdate) String() string\n```\n\n```go\nfunc (m *ConfigUpdate) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ConfigUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ConfigUpdate) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ConfigUpdate) XXX_Size() int\n```\n\n```go\nfunc (m *ConfigUpdate) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ConfigUpdateEnvelope struct {\n\tConfigUpdate         []byte             `protobuf:\"bytes,1,opt,name=config_update,json=configUpdate,proto3\" json:\"config_update,omitempty\"`\n\tSignatures           []*ConfigSignature `protobuf:\"bytes,2,rep,name=signatures,proto3\" json:\"signatures,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}           `json:\"-\"`\n\tXXX_unrecognized     []byte             `json:\"-\"`\n\tXXX_sizecache        int32              `json:\"-\"`\n}\n```\n\n```go\nfunc (ce *ConfigUpdateEnvelope) AsSignedData() ([]*SignedData, error)\n```\nAsSignedData returns the set of signatures for the ConfigUpdateEnvelope as SignedData or an error indicating why this was not possible\n\n```go\nfunc (*ConfigUpdateEnvelope) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ConfigUpdateEnvelope) GetConfigUpdate() []byte\n```\n\n```go\nfunc (m *ConfigUpdateEnvelope) GetSignatures() []*ConfigSignature\n```\n\n```go\nfunc (*ConfigUpdateEnvelope) ProtoMessage()\n```\n\n```go\nfunc (m *ConfigUpdateEnvelope) Reset()\n```\n\n```go\nfunc (cue *ConfigUpdateEnvelope) StaticallyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\nfunc (cue *ConfigUpdateEnvelope) StaticallyOpaqueFields() []string\n```\n\n```go\nfunc (m *ConfigUpdateEnvelope) String() string\n```\n\n```go\nfunc (m *ConfigUpdateEnvelope) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ConfigUpdateEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ConfigUpdateEnvelope) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ConfigUpdateEnvelope) XXX_Size() int\n```\n\n```go\nfunc (m *ConfigUpdateEnvelope) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ConfigValue struct {\n\tVersion              uint64   `protobuf:\"varint,1,opt,name=version,proto3\" json:\"version,omitempty\"`\n\tValue                []byte   `protobuf:\"bytes,2,opt,name=value,proto3\" json:\"value,omitempty\"`\n\tModPolicy            string   `protobuf:\"bytes,3,opt,name=mod_policy,json=modPolicy,proto3\" json:\"mod_policy,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nConfigValue represents an individual piece of config data\n\n```go\nfunc (*ConfigValue) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ConfigValue) GetModPolicy() string\n```\n\n```go\nfunc (m *ConfigValue) GetValue() []byte\n```\n\n```go\nfunc (m *ConfigValue) GetVersion() uint64\n```\n\n```go\nfunc (*ConfigValue) ProtoMessage()\n```\n\n```go\nfunc (m *ConfigValue) Reset()\n```\n\n```go\nfunc (m *ConfigValue) String() string\n```\n\n```go\nfunc (cv *ConfigValue) Underlying() proto.Message\n```\n\n```go\nfunc (cv *ConfigValue) VariablyOpaqueFields() []string\n```\n\n```go\nfunc (m *ConfigValue) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ConfigValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ConfigValue) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ConfigValue) XXX_Size() int\n```\n\n```go\nfunc (m *ConfigValue) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ConfigValueSchema struct {\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*ConfigValueSchema) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (*ConfigValueSchema) ProtoMessage()\n```\n\n```go\nfunc (m *ConfigValueSchema) Reset()\n```\n\n```go\nfunc (m *ConfigValueSchema) String() string\n```\n\n```go\nfunc (m *ConfigValueSchema) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ConfigValueSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ConfigValueSchema) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ConfigValueSchema) XXX_Size() int\n```\n\n```go\nfunc (m *ConfigValueSchema) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Consortium struct {\n\tName                 string   `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nConsortium represents the consortium context in which the channel was created\n\n```go\nfunc (*Consortium) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Consortium) GetName() string\n```\n\n```go\nfunc (*Consortium) ProtoMessage()\n```\n\n```go\nfunc (m *Consortium) Reset()\n```\n\n```go\nfunc (m *Consortium) String() string\n```\n\n```go\nfunc (m *Consortium) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Consortium) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Consortium) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Consortium) XXX_Size() int\n```\n\n```go\nfunc (m *Consortium) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype DynamicChannelConfigValue struct {\n\t*ConfigValue\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (dccv *DynamicChannelConfigValue) Underlying() proto.Message\n```\n\n```go\nfunc (dccv *DynamicChannelConfigValue) VariablyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\ntype DynamicChannelGroup struct {\n\t*ConfigGroup\n}\n```\n\n```go\nfunc (dcg *DynamicChannelGroup) DynamicMapFieldProto(name string, key string, base proto.Message) (proto.Message, error)\n```\n\n```go\ntype DynamicConfigGroupFactory interface {\n\tDynamicConfigGroup(cg *ConfigGroup) proto.Message\n}\n```\n\n```go\ntype DynamicConsortiumConfigValue struct {\n\t*ConfigValue\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (dccv *DynamicConsortiumConfigValue) VariablyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\ntype DynamicConsortiumGroup struct {\n\t*ConfigGroup\n}\n```\n\n```go\nfunc (dcg *DynamicConsortiumGroup) DynamicMapFieldProto(name string, key string, base proto.Message) (proto.Message, error)\n```\n\n```go\nfunc (dcg *DynamicConsortiumGroup) Underlying() proto.Message\n```\n\n```go\ntype DynamicConsortiumOrgConfigValue struct {\n\t*ConfigValue\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (dcocv *DynamicConsortiumOrgConfigValue) VariablyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\ntype DynamicConsortiumOrgGroup struct {\n\t*ConfigGroup\n}\n```\n\n```go\nfunc (dcg *DynamicConsortiumOrgGroup) DynamicMapFieldProto(name string, key string, base proto.Message) (proto.Message, error)\n```\n\n```go\ntype DynamicConsortiumsGroup struct {\n\t*ConfigGroup\n}\n```\n\n```go\nfunc (dcg *DynamicConsortiumsGroup) DynamicMapFieldProto(name string, key string, base proto.Message) (proto.Message, error)\n```\n\n```go\nfunc (dcg *DynamicConsortiumsGroup) Underlying() proto.Message\n```\n\n```go\ntype DynamicConsortiumsGroupFactory struct{}\n```\n\n```go\nfunc (dogf DynamicConsortiumsGroupFactory) DynamicConfigGroup(cg *ConfigGroup) proto.Message\n```\n\n```go\ntype Envelope struct {\n\t// A marshaled Payload\n\tPayload []byte `protobuf:\"bytes,1,opt,name=payload,proto3\" json:\"payload,omitempty\"`\n\t// A signature by the creator specified in the Payload header\n\tSignature            []byte   `protobuf:\"bytes,2,opt,name=signature,proto3\" json:\"signature,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nEnvelope wraps a Payload with a signature so that the message may be authenticated\n\n```go\nfunc (env *Envelope) AsSignedData() ([]*SignedData, error)\n```\nAsSignedData returns the signatures for the Envelope as SignedData slice of length 1 or an error indicating why this was not possible\n\n```go\nfunc (*Envelope) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Envelope) GetPayload() []byte\n```\n\n```go\nfunc (m *Envelope) GetSignature() []byte\n```\n\n```go\nfunc (*Envelope) ProtoMessage()\n```\n\n```go\nfunc (m *Envelope) Reset()\n```\n\n```go\nfunc (e *Envelope) StaticallyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\nfunc (e *Envelope) StaticallyOpaqueFields() []string\n```\n\n```go\nfunc (m *Envelope) String() string\n```\n\n```go\nfunc (m *Envelope) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Envelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Envelope) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Envelope) XXX_Size() int\n```\n\n```go\nfunc (m *Envelope) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype HashingAlgorithm struct {\n\t// Currently supported algorithms are: SHAKE256\n\tName                 string   `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nHashingAlgorithm is encoded into the configuration transaction as  a configuration item of type Chain with a Key of \"HashingAlgorithm\" and a Value of  HashingAlgorithm as marshaled protobuf bytes\n\n```go\nfunc (*HashingAlgorithm) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *HashingAlgorithm) GetName() string\n```\n\n```go\nfunc (*HashingAlgorithm) ProtoMessage()\n```\n\n```go\nfunc (m *HashingAlgorithm) Reset()\n```\n\n```go\nfunc (m *HashingAlgorithm) String() string\n```\n\n```go\nfunc (m *HashingAlgorithm) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *HashingAlgorithm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *HashingAlgorithm) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *HashingAlgorithm) XXX_Size() int\n```\n\n```go\nfunc (m *HashingAlgorithm) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Header struct {\n\tChannelHeader        []byte   `protobuf:\"bytes,1,opt,name=channel_header,json=channelHeader,proto3\" json:\"channel_header,omitempty\"`\n\tSignatureHeader      []byte   `protobuf:\"bytes,2,opt,name=signature_header,json=signatureHeader,proto3\" json:\"signature_header,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*Header) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Header) GetChannelHeader() []byte\n```\n\n```go\nfunc (m *Header) GetSignatureHeader() []byte\n```\n\n```go\nfunc (*Header) ProtoMessage()\n```\n\n```go\nfunc (m *Header) Reset()\n```\n\n```go\nfunc (h *Header) StaticallyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\nfunc (h *Header) StaticallyOpaqueFields() []string\n```\n\n```go\nfunc (m *Header) String() string\n```\n\n```go\nfunc (m *Header) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Header) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Header) XXX_Size() int\n```\n\n```go\nfunc (m *Header) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype HeaderType int32\n```\n\n```go\nconst (\n\tHeaderType_MESSAGE              HeaderType = 0\n\tHeaderType_CONFIG               HeaderType = 1\n\tHeaderType_CONFIG_UPDATE        HeaderType = 2\n\tHeaderType_ENDORSER_TRANSACTION HeaderType = 3\n\tHeaderType_ORDERER_TRANSACTION  HeaderType = 4\n\tHeaderType_DELIVER_SEEK_INFO    HeaderType = 5\n\tHeaderType_CHAINCODE_PACKAGE    HeaderType = 6\n\tHeaderType_PEER_ADMIN_OPERATION HeaderType = 8\n\tHeaderType_TOKEN_TRANSACTION    HeaderType = 9\n)\n```\n\n```go\nfunc (HeaderType) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x HeaderType) String() string\n```\n\n```go\ntype ImplicitMetaPolicy struct {\n\tSubPolicy            string                  `protobuf:\"bytes,1,opt,name=sub_policy,json=subPolicy,proto3\" json:\"sub_policy,omitempty\"`\n\tRule                 ImplicitMetaPolicy_Rule `protobuf:\"varint,2,opt,name=rule,proto3,enum=common.ImplicitMetaPolicy_Rule\" json:\"rule,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}                `json:\"-\"`\n\tXXX_unrecognized     []byte                  `json:\"-\"`\n\tXXX_sizecache        int32                   `json:\"-\"`\n}\n```\nImplicitMetaPolicy is a policy type which depends on the hierarchical nature of the configuration It is implicit because the rule is generate implicitly based on the number of sub policies It is meta because it depends only on the result of other policies When evaluated, this policy iterates over all immediate child sub-groups, retrieves the policy of name sub\\_policy, evaluates the collection and applies the rule. For example, with 4 sub-groups, and a policy name of \"foo\", ImplicitMetaPolicy retrieves each sub-group, retrieves policy \"foo\" for each subgroup, evaluates it, and, in the case of ANY 1 satisfied is sufficient, ALL would require 4 signatures, and MAJORITY would require 3 signatures.\n\n```go\nfunc (*ImplicitMetaPolicy) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *ImplicitMetaPolicy) GetRule() ImplicitMetaPolicy_Rule\n```\n\n```go\nfunc (m *ImplicitMetaPolicy) GetSubPolicy() string\n```\n\n```go\nfunc (*ImplicitMetaPolicy) ProtoMessage()\n```\n\n```go\nfunc (m *ImplicitMetaPolicy) Reset()\n```\n\n```go\nfunc (m *ImplicitMetaPolicy) String() string\n```\n\n```go\nfunc (m *ImplicitMetaPolicy) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *ImplicitMetaPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *ImplicitMetaPolicy) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *ImplicitMetaPolicy) XXX_Size() int\n```\n\n```go\nfunc (m *ImplicitMetaPolicy) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype ImplicitMetaPolicy_Rule int32\n```\n\n```go\nconst (\n\tImplicitMetaPolicy_ANY      ImplicitMetaPolicy_Rule = 0\n\tImplicitMetaPolicy_ALL      ImplicitMetaPolicy_Rule = 1\n\tImplicitMetaPolicy_MAJORITY ImplicitMetaPolicy_Rule = 2\n)\n```\n\n```go\nfunc (ImplicitMetaPolicy_Rule) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x ImplicitMetaPolicy_Rule) String() string\n```\n\n```go\ntype LastConfig struct {\n\tIndex                uint64   `protobuf:\"varint,1,opt,name=index,proto3\" json:\"index,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nLastConfig is the encoded value for the Metadata message which is encoded in the LAST\\_CONFIGURATION block metadata index\n\n```go\nfunc (*LastConfig) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *LastConfig) GetIndex() uint64\n```\n\n```go\nfunc (*LastConfig) ProtoMessage()\n```\n\n```go\nfunc (m *LastConfig) Reset()\n```\n\n```go\nfunc (m *LastConfig) String() string\n```\n\n```go\nfunc (m *LastConfig) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *LastConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *LastConfig) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *LastConfig) XXX_Size() int\n```\n\n```go\nfunc (m *LastConfig) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Metadata struct {\n\tValue                []byte               `protobuf:\"bytes,1,opt,name=value,proto3\" json:\"value,omitempty\"`\n\tSignatures           []*MetadataSignature `protobuf:\"bytes,2,rep,name=signatures,proto3\" json:\"signatures,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}             `json:\"-\"`\n\tXXX_unrecognized     []byte               `json:\"-\"`\n\tXXX_sizecache        int32                `json:\"-\"`\n}\n```\nMetadata is a common structure to be used to encode block metadata\n\n```go\nfunc (*Metadata) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Metadata) GetSignatures() []*MetadataSignature\n```\n\n```go\nfunc (m *Metadata) GetValue() []byte\n```\n\n```go\nfunc (*Metadata) ProtoMessage()\n```\n\n```go\nfunc (m *Metadata) Reset()\n```\n\n```go\nfunc (m *Metadata) String() string\n```\n\n```go\nfunc (m *Metadata) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Metadata) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Metadata) XXX_Size() int\n```\n\n```go\nfunc (m *Metadata) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype MetadataSignature struct {\n\tSignatureHeader      []byte   `protobuf:\"bytes,1,opt,name=signature_header,json=signatureHeader,proto3\" json:\"signature_header,omitempty\"`\n\tSignature            []byte   `protobuf:\"bytes,2,opt,name=signature,proto3\" json:\"signature,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*MetadataSignature) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *MetadataSignature) GetSignature() []byte\n```\n\n```go\nfunc (m *MetadataSignature) GetSignatureHeader() []byte\n```\n\n```go\nfunc (*MetadataSignature) ProtoMessage()\n```\n\n```go\nfunc (m *MetadataSignature) Reset()\n```\n\n```go\nfunc (m *MetadataSignature) String() string\n```\n\n```go\nfunc (m *MetadataSignature) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *MetadataSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *MetadataSignature) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *MetadataSignature) XXX_Size() int\n```\n\n```go\nfunc (m *MetadataSignature) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype OrdererAddresses struct {\n\tAddresses            []string `protobuf:\"bytes,1,rep,name=addresses,proto3\" json:\"addresses,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nOrdererAddresses is encoded into the configuration transaction as a configuration item of type Chain with a Key of \"OrdererAddresses\" and a Value of OrdererAddresses as marshaled protobuf bytes\n\n```go\nfunc (*OrdererAddresses) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *OrdererAddresses) GetAddresses() []string\n```\n\n```go\nfunc (*OrdererAddresses) ProtoMessage()\n```\n\n```go\nfunc (m *OrdererAddresses) Reset()\n```\n\n```go\nfunc (m *OrdererAddresses) String() string\n```\n\n```go\nfunc (m *OrdererAddresses) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *OrdererAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *OrdererAddresses) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *OrdererAddresses) XXX_Size() int\n```\n\n```go\nfunc (m *OrdererAddresses) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype OrdererBlockMetadata struct {\n\tLastConfig           *LastConfig `protobuf:\"bytes,1,opt,name=last_config,json=lastConfig,proto3\" json:\"last_config,omitempty\"`\n\tConsenterMetadata    []byte      `protobuf:\"bytes,2,opt,name=consenter_metadata,json=consenterMetadata,proto3\" json:\"consenter_metadata,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}    `json:\"-\"`\n\tXXX_unrecognized     []byte      `json:\"-\"`\n\tXXX_sizecache        int32       `json:\"-\"`\n}\n```\nOrdererBlockMetadata defines metadata that is set by the ordering service.\n\n```go\nfunc (*OrdererBlockMetadata) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *OrdererBlockMetadata) GetConsenterMetadata() []byte\n```\n\n```go\nfunc (m *OrdererBlockMetadata) GetLastConfig() *LastConfig\n```\n\n```go\nfunc (*OrdererBlockMetadata) ProtoMessage()\n```\n\n```go\nfunc (m *OrdererBlockMetadata) Reset()\n```\n\n```go\nfunc (m *OrdererBlockMetadata) String() string\n```\n\n```go\nfunc (m *OrdererBlockMetadata) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *OrdererBlockMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *OrdererBlockMetadata) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *OrdererBlockMetadata) XXX_Size() int\n```\n\n```go\nfunc (m *OrdererBlockMetadata) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Payload struct {\n\t// Header is included to provide identity and prevent replay\n\tHeader *Header `protobuf:\"bytes,1,opt,name=header,proto3\" json:\"header,omitempty\"`\n\t// Data, the encoding of which is defined by the type in the header\n\tData                 []byte   `protobuf:\"bytes,2,opt,name=data,proto3\" json:\"data,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nPayload is the message contents (and header to allow for signing)\n\n```go\nfunc (*Payload) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Payload) GetData() []byte\n```\n\n```go\nfunc (m *Payload) GetHeader() *Header\n```\n\n```go\nfunc (*Payload) ProtoMessage()\n```\n\n```go\nfunc (m *Payload) Reset()\n```\n\n```go\nfunc (m *Payload) String() string\n```\n\n```go\nfunc (p *Payload) VariablyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\nfunc (p *Payload) VariablyOpaqueFields() []string\n```\n\n```go\nfunc (m *Payload) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Payload) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Payload) XXX_Size() int\n```\n\n```go\nfunc (m *Payload) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Policy struct {\n\tType                 int32    `protobuf:\"varint,1,opt,name=type,proto3\" json:\"type,omitempty\"`\n\tValue                []byte   `protobuf:\"bytes,2,opt,name=value,proto3\" json:\"value,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nPolicy expresses a policy which the orderer can evaluate, because there has been some desire expressed to support multiple policy engines, this is typed as a oneof for now\n\n```go\nfunc (*Policy) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Policy) GetType() int32\n```\n\n```go\nfunc (m *Policy) GetValue() []byte\n```\n\n```go\nfunc (*Policy) ProtoMessage()\n```\n\n```go\nfunc (m *Policy) Reset()\n```\n\n```go\nfunc (m *Policy) String() string\n```\n\n```go\nfunc (p *Policy) VariablyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\nfunc (p *Policy) VariablyOpaqueFields() []string\n```\n\n```go\nfunc (m *Policy) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Policy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Policy) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Policy) XXX_Size() int\n```\n\n```go\nfunc (m *Policy) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Policy_PolicyType int32\n```\n\n```go\nconst (\n\tPolicy_UNKNOWN       Policy_PolicyType = 0\n\tPolicy_SIGNATURE     Policy_PolicyType = 1\n\tPolicy_MSP           Policy_PolicyType = 2\n\tPolicy_IMPLICIT_META Policy_PolicyType = 3\n)\n```\n\n```go\nfunc (Policy_PolicyType) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x Policy_PolicyType) String() string\n```\n\n```go\ntype Signable interface {\n\t// AsSignedData returns the set of signatures for a structure as SignedData or an error indicating why this was not possible\n\tAsSignedData() ([]*SignedData, error)\n}\n```\nSignable types are those which can map their contents to a set of SignedData\n\n```go\ntype SignatureHeader struct {\n\t// Creator of the message, a marshaled msp.SerializedIdentity\n\tCreator []byte `protobuf:\"bytes,1,opt,name=creator,proto3\" json:\"creator,omitempty\"`\n\t// Arbitrary number that may only be used once. Can be used to detect replay attacks.\n\tNonce                []byte   `protobuf:\"bytes,2,opt,name=nonce,proto3\" json:\"nonce,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*SignatureHeader) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *SignatureHeader) GetCreator() []byte\n```\n\n```go\nfunc (m *SignatureHeader) GetNonce() []byte\n```\n\n```go\nfunc (*SignatureHeader) ProtoMessage()\n```\n\n```go\nfunc (m *SignatureHeader) Reset()\n```\n\n```go\nfunc (sh *SignatureHeader) StaticallyOpaqueFieldProto(name string) (proto.Message, error)\n```\n\n```go\nfunc (sh *SignatureHeader) StaticallyOpaqueFields() []string\n```\n\n```go\nfunc (m *SignatureHeader) String() string\n```\n\n```go\nfunc (m *SignatureHeader) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *SignatureHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *SignatureHeader) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *SignatureHeader) XXX_Size() int\n```\n\n```go\nfunc (m *SignatureHeader) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype SignaturePolicy struct {\n\t// Types that are valid to be assigned to Type:\n\t//\t*SignaturePolicy_SignedBy\n\t//\t*SignaturePolicy_NOutOf_\n\tType                 isSignaturePolicy_Type `protobuf_oneof:\"Type\"`\n\tXXX_NoUnkeyedLiteral struct{}               `json:\"-\"`\n\tXXX_unrecognized     []byte                 `json:\"-\"`\n\tXXX_sizecache        int32                  `json:\"-\"`\n}\n```\nSignaturePolicy is a recursive message structure which defines a featherweight DSL for describing policies which are more complicated than 'exactly this signature'.  The NOutOf operator is sufficent to express AND as well as OR, as well as of course N out of the following M policies SignedBy implies that the signature is from a valid certificate which is signed by the trusted authority specified in the bytes.  This will be the certificate itself for a self-signed certificate and will be the CA for more traditional certificates\n\n```go\nfunc (*SignaturePolicy) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *SignaturePolicy) GetNOutOf() *SignaturePolicy_NOutOf\n```\n\n```go\nfunc (m *SignaturePolicy) GetSignedBy() int32\n```\n\n```go\nfunc (m *SignaturePolicy) GetType() isSignaturePolicy_Type\n```\n\n```go\nfunc (*SignaturePolicy) ProtoMessage()\n```\n\n```go\nfunc (m *SignaturePolicy) Reset()\n```\n\n```go\nfunc (m *SignaturePolicy) String() string\n```\n\n```go\nfunc (m *SignaturePolicy) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *SignaturePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *SignaturePolicy) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (*SignaturePolicy) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})\n```\nXXX\\_OneofFuncs is for the internal use of the proto package.\n\n```go\nfunc (m *SignaturePolicy) XXX_Size() int\n```\n\n```go\nfunc (m *SignaturePolicy) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype SignaturePolicyEnvelope struct {\n\tVersion              int32               `protobuf:\"varint,1,opt,name=version,proto3\" json:\"version,omitempty\"`\n\tRule                 *SignaturePolicy    `protobuf:\"bytes,2,opt,name=rule,proto3\" json:\"rule,omitempty\"`\n\tIdentities           []*msp.MSPPrincipal `protobuf:\"bytes,3,rep,name=identities,proto3\" json:\"identities,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}            `json:\"-\"`\n\tXXX_unrecognized     []byte              `json:\"-\"`\n\tXXX_sizecache        int32               `json:\"-\"`\n}\n```\nSignaturePolicyEnvelope wraps a SignaturePolicy and includes a version for future enhancements\n\n```go\nfunc (*SignaturePolicyEnvelope) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *SignaturePolicyEnvelope) GetIdentities() []*msp.MSPPrincipal\n```\n\n```go\nfunc (m *SignaturePolicyEnvelope) GetRule() *SignaturePolicy\n```\n\n```go\nfunc (m *SignaturePolicyEnvelope) GetVersion() int32\n```\n\n```go\nfunc (*SignaturePolicyEnvelope) ProtoMessage()\n```\n\n```go\nfunc (m *SignaturePolicyEnvelope) Reset()\n```\n\n```go\nfunc (m *SignaturePolicyEnvelope) String() string\n```\n\n```go\nfunc (m *SignaturePolicyEnvelope) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *SignaturePolicyEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *SignaturePolicyEnvelope) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *SignaturePolicyEnvelope) XXX_Size() int\n```\n\n```go\nfunc (m *SignaturePolicyEnvelope) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype SignaturePolicy_NOutOf struct {\n\tN                    int32              `protobuf:\"varint,1,opt,name=n,proto3\" json:\"n,omitempty\"`\n\tRules                []*SignaturePolicy `protobuf:\"bytes,2,rep,name=rules,proto3\" json:\"rules,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{}           `json:\"-\"`\n\tXXX_unrecognized     []byte             `json:\"-\"`\n\tXXX_sizecache        int32              `json:\"-\"`\n}\n```\n\n```go\nfunc (*SignaturePolicy_NOutOf) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *SignaturePolicy_NOutOf) GetN() int32\n```\n\n```go\nfunc (m *SignaturePolicy_NOutOf) GetRules() []*SignaturePolicy\n```\n\n```go\nfunc (*SignaturePolicy_NOutOf) ProtoMessage()\n```\n\n```go\nfunc (m *SignaturePolicy_NOutOf) Reset()\n```\n\n```go\nfunc (m *SignaturePolicy_NOutOf) String() string\n```\n\n```go\nfunc (m *SignaturePolicy_NOutOf) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *SignaturePolicy_NOutOf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *SignaturePolicy_NOutOf) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *SignaturePolicy_NOutOf) XXX_Size() int\n```\n\n```go\nfunc (m *SignaturePolicy_NOutOf) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype SignaturePolicy_NOutOf_ struct {\n\tNOutOf *SignaturePolicy_NOutOf `protobuf:\"bytes,2,opt,name=n_out_of,json=nOutOf,proto3,oneof\"`\n}\n```\n\n```go\ntype SignaturePolicy_SignedBy struct {\n\tSignedBy int32 `protobuf:\"varint,1,opt,name=signed_by,json=signedBy,proto3,oneof\"`\n}\n```\n\n```go\ntype SignedData struct {\n\tData      []byte\n\tIdentity  []byte\n\tSignature []byte\n}\n```\nSignedData is used to represent the general triplet required to verify a signature This is intended to be generic across crypto schemes, while most crypto schemes will include the signing identity and a nonce within the Data, this is left to the crypto implementation\n\n```go\ntype StaticCollectionConfig struct {\n\t// the name of the collection inside the denoted chaincode\n\tName string `protobuf:\"bytes,1,opt,name=name,proto3\" json:\"name,omitempty\"`\n\t// a reference to a policy residing / managed in the config block\n\t// to define which orgs have access to this collection’s private data\n\tMemberOrgsPolicy *CollectionPolicyConfig `protobuf:\"bytes,2,opt,name=member_orgs_policy,json=memberOrgsPolicy,proto3\" json:\"member_orgs_policy,omitempty\"`\n\t// The minimum number of peers private data will be sent to upon\n\t// endorsement. The endorsement would fail if dissemination to at least\n\t// this number of peers is not achieved.\n\tRequiredPeerCount int32 `protobuf:\"varint,3,opt,name=required_peer_count,json=requiredPeerCount,proto3\" json:\"required_peer_count,omitempty\"`\n\t// The maximum number of peers that private data will be sent to\n\t// upon endorsement. This number has to be bigger than required_peer_count.\n\tMaximumPeerCount int32 `protobuf:\"varint,4,opt,name=maximum_peer_count,json=maximumPeerCount,proto3\" json:\"maximum_peer_count,omitempty\"`\n\t// The number of blocks after which the collection data expires.\n\t// For instance if the value is set to 10, a key last modified by block number 100\n\t// will be purged at block number 111. A zero value is treated same as MaxUint64\n\tBlockToLive uint64 `protobuf:\"varint,5,opt,name=block_to_live,json=blockToLive,proto3\" json:\"block_to_live,omitempty\"`\n\t// The member only read access denotes whether only collection member clients\n\t// can read the private data (if set to true), or even non members can\n\t// read the data (if set to false, for example if you want to implement more granular\n\t// access logic in the chaincode)\n\tMemberOnlyRead       bool     `protobuf:\"varint,6,opt,name=member_only_read,json=memberOnlyRead,proto3\" json:\"member_only_read,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\nStaticCollectionConfig constitutes the configuration parameters of a static collection object. Static collections are collections that are known at chaincode instantiation time, and that cannot be changed. Dynamic collections are deferred.\n\n```go\nfunc (*StaticCollectionConfig) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *StaticCollectionConfig) GetBlockToLive() uint64\n```\n\n```go\nfunc (m *StaticCollectionConfig) GetMaximumPeerCount() int32\n```\n\n```go\nfunc (m *StaticCollectionConfig) GetMemberOnlyRead() bool\n```\n\n```go\nfunc (m *StaticCollectionConfig) GetMemberOrgsPolicy() *CollectionPolicyConfig\n```\n\n```go\nfunc (m *StaticCollectionConfig) GetName() string\n```\n\n```go\nfunc (m *StaticCollectionConfig) GetRequiredPeerCount() int32\n```\n\n```go\nfunc (*StaticCollectionConfig) ProtoMessage()\n```\n\n```go\nfunc (m *StaticCollectionConfig) Reset()\n```\n\n```go\nfunc (m *StaticCollectionConfig) String() string\n```\n\n```go\nfunc (m *StaticCollectionConfig) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *StaticCollectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *StaticCollectionConfig) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *StaticCollectionConfig) XXX_Size() int\n```\n\n```go\nfunc (m *StaticCollectionConfig) XXX_Unmarshal(b []byte) error\n```\n\n```go\ntype Status int32\n```\nThese status codes are intended to resemble selected HTTP status codes\n\n```go\nconst (\n\tStatus_UNKNOWN                  Status = 0\n\tStatus_SUCCESS                  Status = 200\n\tStatus_BAD_REQUEST              Status = 400\n\tStatus_FORBIDDEN                Status = 403\n\tStatus_NOT_FOUND                Status = 404\n\tStatus_REQUEST_ENTITY_TOO_LARGE Status = 413\n\tStatus_INTERNAL_SERVER_ERROR    Status = 500\n\tStatus_NOT_IMPLEMENTED          Status = 501\n\tStatus_SERVICE_UNAVAILABLE      Status = 503\n)\n```\n\n```go\nfunc (Status) EnumDescriptor() ([]byte, []int)\n```\n\n```go\nfunc (x Status) String() string\n```\n\n","path":"github.com/eric-erki/https-hyperledger.org/protos/common","name":"common","synopsis":"","isRedistributable":true}
