Versions in this module Expand all Collapse all v1 v1.0.3 Oct 3, 2017 v1.0.2 Aug 31, 2017 v1.0.1 Aug 7, 2017 v1.0.0 Jul 11, 2017 Changes in this version + var BlockMetadataIndex_name = map[int32]string + var BlockMetadataIndex_value = map[string]int32 + var ChannelGroupMap = map[string]DynamicConfigGroupFactory + var HeaderType_name = map[int32]string + var HeaderType_value = map[string]int32 + var ImplicitMetaPolicy_Rule_name = map[int32]string + var ImplicitMetaPolicy_Rule_value = map[string]int32 + var Policy_PolicyType_name = map[int32]string + var Policy_PolicyType_value = map[string]int32 + var Status_name = map[int32]string + var Status_value = map[string]int32 + type Block struct + Data *BlockData + Header *BlockHeader + Metadata *BlockMetadata + func NewBlock(seqNum uint64, previousHash []byte) *Block + func (*Block) Descriptor() ([]byte, []int) + func (*Block) ProtoMessage() + func (m *Block) GetData() *BlockData + func (m *Block) GetHeader() *BlockHeader + func (m *Block) GetMetadata() *BlockMetadata + func (m *Block) Reset() + func (m *Block) String() string + type BlockData struct + Data [][]byte + func (*BlockData) Descriptor() ([]byte, []int) + func (*BlockData) ProtoMessage() + func (b *BlockData) Bytes() []byte + func (b *BlockData) Hash() []byte + func (bd *BlockData) StaticallyOpaqueSliceFieldProto(fieldName string, index int) (proto.Message, error) + func (bd *BlockData) StaticallyOpaqueSliceFields() []string + func (m *BlockData) GetData() [][]byte + func (m *BlockData) Reset() + func (m *BlockData) String() string + type BlockDataHashingStructure struct + Width uint32 + func (*BlockDataHashingStructure) Descriptor() ([]byte, []int) + func (*BlockDataHashingStructure) ProtoMessage() + func (m *BlockDataHashingStructure) GetWidth() uint32 + func (m *BlockDataHashingStructure) Reset() + func (m *BlockDataHashingStructure) String() string + type BlockHeader struct + DataHash []byte + Number uint64 + PreviousHash []byte + func (*BlockHeader) Descriptor() ([]byte, []int) + func (*BlockHeader) ProtoMessage() + func (b *BlockHeader) Bytes() []byte + func (b *BlockHeader) Hash() []byte + func (m *BlockHeader) GetDataHash() []byte + func (m *BlockHeader) GetNumber() uint64 + func (m *BlockHeader) GetPreviousHash() []byte + func (m *BlockHeader) Reset() + func (m *BlockHeader) String() string + type BlockMetadata struct + Metadata [][]byte + func (*BlockMetadata) Descriptor() ([]byte, []int) + func (*BlockMetadata) ProtoMessage() + func (m *BlockMetadata) GetMetadata() [][]byte + func (m *BlockMetadata) Reset() + func (m *BlockMetadata) String() string + type BlockMetadataIndex int32 + const BlockMetadataIndex_LAST_CONFIG + const BlockMetadataIndex_ORDERER + const BlockMetadataIndex_SIGNATURES + const BlockMetadataIndex_TRANSACTIONS_FILTER + func (BlockMetadataIndex) EnumDescriptor() ([]byte, []int) + func (x BlockMetadataIndex) String() string + type BlockchainInfo struct + CurrentBlockHash []byte + Height uint64 + PreviousBlockHash []byte + func (*BlockchainInfo) Descriptor() ([]byte, []int) + func (*BlockchainInfo) ProtoMessage() + func (m *BlockchainInfo) GetCurrentBlockHash() []byte + func (m *BlockchainInfo) GetHeight() uint64 + func (m *BlockchainInfo) GetPreviousBlockHash() []byte + func (m *BlockchainInfo) Reset() + func (m *BlockchainInfo) String() string + type ChannelHeader struct + ChannelId string + Epoch uint64 + Extension []byte + Timestamp *google_protobuf.Timestamp + TxId string + Type int32 + Version int32 + func (*ChannelHeader) Descriptor() ([]byte, []int) + func (*ChannelHeader) ProtoMessage() + func (m *ChannelHeader) GetChannelId() string + func (m *ChannelHeader) GetEpoch() uint64 + func (m *ChannelHeader) GetExtension() []byte + func (m *ChannelHeader) GetTimestamp() *google_protobuf.Timestamp + func (m *ChannelHeader) GetTxId() string + func (m *ChannelHeader) GetType() int32 + func (m *ChannelHeader) GetVersion() int32 + func (m *ChannelHeader) Reset() + func (m *ChannelHeader) String() string + type Config struct + ChannelGroup *ConfigGroup + Sequence uint64 + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (c *Config) DynamicFieldProto(name string, base proto.Message) (proto.Message, error) + func (c *Config) DynamicFields() []string + func (m *Config) GetChannelGroup() *ConfigGroup + func (m *Config) GetSequence() uint64 + func (m *Config) Reset() + func (m *Config) String() string + type ConfigEnvelope struct + Config *Config + LastUpdate *Envelope + func (*ConfigEnvelope) Descriptor() ([]byte, []int) + func (*ConfigEnvelope) ProtoMessage() + func (m *ConfigEnvelope) GetConfig() *Config + func (m *ConfigEnvelope) GetLastUpdate() *Envelope + func (m *ConfigEnvelope) Reset() + func (m *ConfigEnvelope) String() string + type ConfigGroup struct + Groups map[string]*ConfigGroup + ModPolicy string + Policies map[string]*ConfigPolicy + Values map[string]*ConfigValue + Version uint64 + func NewConfigGroup() *ConfigGroup + func (*ConfigGroup) Descriptor() ([]byte, []int) + func (*ConfigGroup) ProtoMessage() + func (cg *ConfigGroup) DynamicMapFields() []string + func (cg *ConfigGroup) Underlying() proto.Message + func (m *ConfigGroup) GetGroups() map[string]*ConfigGroup + func (m *ConfigGroup) GetModPolicy() string + func (m *ConfigGroup) GetPolicies() map[string]*ConfigPolicy + func (m *ConfigGroup) GetValues() map[string]*ConfigValue + func (m *ConfigGroup) GetVersion() uint64 + func (m *ConfigGroup) Reset() + func (m *ConfigGroup) String() string + type ConfigGroupSchema struct + Groups map[string]*ConfigGroupSchema + Policies map[string]*ConfigPolicySchema + Values map[string]*ConfigValueSchema + func (*ConfigGroupSchema) Descriptor() ([]byte, []int) + func (*ConfigGroupSchema) ProtoMessage() + func (m *ConfigGroupSchema) GetGroups() map[string]*ConfigGroupSchema + func (m *ConfigGroupSchema) GetPolicies() map[string]*ConfigPolicySchema + func (m *ConfigGroupSchema) GetValues() map[string]*ConfigValueSchema + func (m *ConfigGroupSchema) Reset() + func (m *ConfigGroupSchema) String() string + type ConfigPolicy struct + ModPolicy string + Policy *Policy + Version uint64 + func (*ConfigPolicy) Descriptor() ([]byte, []int) + func (*ConfigPolicy) ProtoMessage() + func (m *ConfigPolicy) GetModPolicy() string + func (m *ConfigPolicy) GetPolicy() *Policy + func (m *ConfigPolicy) GetVersion() uint64 + func (m *ConfigPolicy) Reset() + func (m *ConfigPolicy) String() string + type ConfigPolicySchema struct + func (*ConfigPolicySchema) Descriptor() ([]byte, []int) + func (*ConfigPolicySchema) ProtoMessage() + func (m *ConfigPolicySchema) Reset() + func (m *ConfigPolicySchema) String() string + type ConfigSignature struct + Signature []byte + SignatureHeader []byte + func (*ConfigSignature) Descriptor() ([]byte, []int) + func (*ConfigSignature) ProtoMessage() + func (cs *ConfigSignature) StaticallyOpaqueFieldProto(name string) (proto.Message, error) + func (cs *ConfigSignature) StaticallyOpaqueFields() []string + func (m *ConfigSignature) GetSignature() []byte + func (m *ConfigSignature) GetSignatureHeader() []byte + func (m *ConfigSignature) Reset() + func (m *ConfigSignature) String() string + type ConfigUpdate struct + ChannelId string + ReadSet *ConfigGroup + WriteSet *ConfigGroup + func (*ConfigUpdate) Descriptor() ([]byte, []int) + func (*ConfigUpdate) ProtoMessage() + func (c *ConfigUpdate) DynamicFieldProto(name string, base proto.Message) (proto.Message, error) + func (c *ConfigUpdate) DynamicFields() []string + func (m *ConfigUpdate) GetChannelId() string + func (m *ConfigUpdate) GetReadSet() *ConfigGroup + func (m *ConfigUpdate) GetWriteSet() *ConfigGroup + func (m *ConfigUpdate) Reset() + func (m *ConfigUpdate) String() string + type ConfigUpdateEnvelope struct + ConfigUpdate []byte + Signatures []*ConfigSignature + func (*ConfigUpdateEnvelope) Descriptor() ([]byte, []int) + func (*ConfigUpdateEnvelope) ProtoMessage() + func (ce *ConfigUpdateEnvelope) AsSignedData() ([]*SignedData, error) + func (cue *ConfigUpdateEnvelope) StaticallyOpaqueFieldProto(name string) (proto.Message, error) + func (cue *ConfigUpdateEnvelope) StaticallyOpaqueFields() []string + func (m *ConfigUpdateEnvelope) GetConfigUpdate() []byte + func (m *ConfigUpdateEnvelope) GetSignatures() []*ConfigSignature + func (m *ConfigUpdateEnvelope) Reset() + func (m *ConfigUpdateEnvelope) String() string + type ConfigValue struct + ModPolicy string + Value []byte + Version uint64 + func (*ConfigValue) Descriptor() ([]byte, []int) + func (*ConfigValue) ProtoMessage() + func (cv *ConfigValue) Underlying() proto.Message + func (cv *ConfigValue) VariablyOpaqueFields() []string + func (m *ConfigValue) GetModPolicy() string + func (m *ConfigValue) GetValue() []byte + func (m *ConfigValue) GetVersion() uint64 + func (m *ConfigValue) Reset() + func (m *ConfigValue) String() string + type ConfigValueSchema struct + func (*ConfigValueSchema) Descriptor() ([]byte, []int) + func (*ConfigValueSchema) ProtoMessage() + func (m *ConfigValueSchema) Reset() + func (m *ConfigValueSchema) String() string + type Consortium struct + Name string + func (*Consortium) Descriptor() ([]byte, []int) + func (*Consortium) ProtoMessage() + func (m *Consortium) GetName() string + func (m *Consortium) Reset() + func (m *Consortium) String() string + type DynamicChannelConfigValue struct + func (dccv *DynamicChannelConfigValue) Underlying() proto.Message + func (dccv *DynamicChannelConfigValue) VariablyOpaqueFieldProto(name string) (proto.Message, error) + type DynamicChannelGroup struct + func (dcg *DynamicChannelGroup) DynamicMapFieldProto(name string, key string, base proto.Message) (proto.Message, error) + type DynamicConfigGroupFactory interface + DynamicConfigGroup func(cg *ConfigGroup) proto.Message + type DynamicConsortiumConfigValue struct + func (dccv *DynamicConsortiumConfigValue) VariablyOpaqueFieldProto(name string) (proto.Message, error) + type DynamicConsortiumGroup struct + func (dcg *DynamicConsortiumGroup) DynamicMapFieldProto(name string, key string, base proto.Message) (proto.Message, error) + func (dcg *DynamicConsortiumGroup) Underlying() proto.Message + type DynamicConsortiumOrgConfigValue struct + func (dcocv *DynamicConsortiumOrgConfigValue) VariablyOpaqueFieldProto(name string) (proto.Message, error) + type DynamicConsortiumOrgGroup struct + func (dcg *DynamicConsortiumOrgGroup) DynamicMapFieldProto(name string, key string, base proto.Message) (proto.Message, error) + type DynamicConsortiumsGroup struct + func (dcg *DynamicConsortiumsGroup) DynamicMapFieldProto(name string, key string, base proto.Message) (proto.Message, error) + func (dcg *DynamicConsortiumsGroup) Underlying() proto.Message + type DynamicConsortiumsGroupFactory struct + func (dogf DynamicConsortiumsGroupFactory) DynamicConfigGroup(cg *ConfigGroup) proto.Message + type Envelope struct + Payload []byte + Signature []byte + func (*Envelope) Descriptor() ([]byte, []int) + func (*Envelope) ProtoMessage() + func (e *Envelope) StaticallyOpaqueFieldProto(name string) (proto.Message, error) + func (e *Envelope) StaticallyOpaqueFields() []string + func (env *Envelope) AsSignedData() ([]*SignedData, error) + func (m *Envelope) GetPayload() []byte + func (m *Envelope) GetSignature() []byte + func (m *Envelope) Reset() + func (m *Envelope) String() string + type HashingAlgorithm struct + Name string + func (*HashingAlgorithm) Descriptor() ([]byte, []int) + func (*HashingAlgorithm) ProtoMessage() + func (m *HashingAlgorithm) GetName() string + func (m *HashingAlgorithm) Reset() + func (m *HashingAlgorithm) String() string + type Header struct + ChannelHeader []byte + SignatureHeader []byte + func (*Header) Descriptor() ([]byte, []int) + func (*Header) ProtoMessage() + func (h *Header) StaticallyOpaqueFieldProto(name string) (proto.Message, error) + func (h *Header) StaticallyOpaqueFields() []string + func (m *Header) GetChannelHeader() []byte + func (m *Header) GetSignatureHeader() []byte + func (m *Header) Reset() + func (m *Header) String() string + type HeaderType int32 + const HeaderType_CHAINCODE_PACKAGE + const HeaderType_CONFIG + const HeaderType_CONFIG_UPDATE + const HeaderType_DELIVER_SEEK_INFO + const HeaderType_ENDORSER_TRANSACTION + const HeaderType_MESSAGE + const HeaderType_ORDERER_TRANSACTION + func (HeaderType) EnumDescriptor() ([]byte, []int) + func (x HeaderType) String() string + type ImplicitMetaPolicy struct + Rule ImplicitMetaPolicy_Rule + SubPolicy string + func (*ImplicitMetaPolicy) Descriptor() ([]byte, []int) + func (*ImplicitMetaPolicy) ProtoMessage() + func (m *ImplicitMetaPolicy) GetRule() ImplicitMetaPolicy_Rule + func (m *ImplicitMetaPolicy) GetSubPolicy() string + func (m *ImplicitMetaPolicy) Reset() + func (m *ImplicitMetaPolicy) String() string + type ImplicitMetaPolicy_Rule int32 + const ImplicitMetaPolicy_ALL + const ImplicitMetaPolicy_ANY + const ImplicitMetaPolicy_MAJORITY + func (ImplicitMetaPolicy_Rule) EnumDescriptor() ([]byte, []int) + func (x ImplicitMetaPolicy_Rule) String() string + type LastConfig struct + Index uint64 + func (*LastConfig) Descriptor() ([]byte, []int) + func (*LastConfig) ProtoMessage() + func (m *LastConfig) GetIndex() uint64 + func (m *LastConfig) Reset() + func (m *LastConfig) String() string + type Metadata struct + Signatures []*MetadataSignature + Value []byte + func (*Metadata) Descriptor() ([]byte, []int) + func (*Metadata) ProtoMessage() + func (m *Metadata) GetSignatures() []*MetadataSignature + func (m *Metadata) GetValue() []byte + func (m *Metadata) Reset() + func (m *Metadata) String() string + type MetadataSignature struct + Signature []byte + SignatureHeader []byte + func (*MetadataSignature) Descriptor() ([]byte, []int) + func (*MetadataSignature) ProtoMessage() + func (m *MetadataSignature) GetSignature() []byte + func (m *MetadataSignature) GetSignatureHeader() []byte + func (m *MetadataSignature) Reset() + func (m *MetadataSignature) String() string + type OrdererAddresses struct + Addresses []string + func (*OrdererAddresses) Descriptor() ([]byte, []int) + func (*OrdererAddresses) ProtoMessage() + func (m *OrdererAddresses) GetAddresses() []string + func (m *OrdererAddresses) Reset() + func (m *OrdererAddresses) String() string + type Payload struct + Data []byte + Header *Header + func (*Payload) Descriptor() ([]byte, []int) + func (*Payload) ProtoMessage() + func (m *Payload) GetData() []byte + func (m *Payload) GetHeader() *Header + func (m *Payload) Reset() + func (m *Payload) String() string + func (p *Payload) VariablyOpaqueFieldProto(name string) (proto.Message, error) + func (p *Payload) VariablyOpaqueFields() []string + type Policy struct + Type int32 + Value []byte + func (*Policy) Descriptor() ([]byte, []int) + func (*Policy) ProtoMessage() + func (m *Policy) GetType() int32 + func (m *Policy) GetValue() []byte + func (m *Policy) Reset() + func (m *Policy) String() string + func (p *Policy) VariablyOpaqueFieldProto(name string) (proto.Message, error) + func (p *Policy) VariablyOpaqueFields() []string + type Policy_PolicyType int32 + const Policy_IMPLICIT_META + const Policy_MSP + const Policy_SIGNATURE + const Policy_UNKNOWN + func (Policy_PolicyType) EnumDescriptor() ([]byte, []int) + func (x Policy_PolicyType) String() string + type Signable interface + AsSignedData func() ([]*SignedData, error) + type SignatureHeader struct + Creator []byte + Nonce []byte + func (*SignatureHeader) Descriptor() ([]byte, []int) + func (*SignatureHeader) ProtoMessage() + func (m *SignatureHeader) GetCreator() []byte + func (m *SignatureHeader) GetNonce() []byte + func (m *SignatureHeader) Reset() + func (m *SignatureHeader) String() string + type SignaturePolicy struct + Type isSignaturePolicy_Type + func (*SignaturePolicy) Descriptor() ([]byte, []int) + func (*SignaturePolicy) ProtoMessage() + func (*SignaturePolicy) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...) + func (m *SignaturePolicy) GetNOutOf() *SignaturePolicy_NOutOf + func (m *SignaturePolicy) GetSignedBy() int32 + func (m *SignaturePolicy) GetType() isSignaturePolicy_Type + func (m *SignaturePolicy) Reset() + func (m *SignaturePolicy) String() string + type SignaturePolicyEnvelope struct + Identities []*common1.MSPPrincipal + Rule *SignaturePolicy + Version int32 + func (*SignaturePolicyEnvelope) Descriptor() ([]byte, []int) + func (*SignaturePolicyEnvelope) ProtoMessage() + func (m *SignaturePolicyEnvelope) GetIdentities() []*common1.MSPPrincipal + func (m *SignaturePolicyEnvelope) GetRule() *SignaturePolicy + func (m *SignaturePolicyEnvelope) GetVersion() int32 + func (m *SignaturePolicyEnvelope) Reset() + func (m *SignaturePolicyEnvelope) String() string + type SignaturePolicy_NOutOf struct + N int32 + Rules []*SignaturePolicy + func (*SignaturePolicy_NOutOf) Descriptor() ([]byte, []int) + func (*SignaturePolicy_NOutOf) ProtoMessage() + func (m *SignaturePolicy_NOutOf) GetN() int32 + func (m *SignaturePolicy_NOutOf) GetRules() []*SignaturePolicy + func (m *SignaturePolicy_NOutOf) Reset() + func (m *SignaturePolicy_NOutOf) String() string + type SignaturePolicy_NOutOf_ struct + NOutOf *SignaturePolicy_NOutOf + type SignaturePolicy_SignedBy struct + SignedBy int32 + type SignedData struct + Data []byte + Identity []byte + Signature []byte + type Status int32 + const Status_BAD_REQUEST + const Status_FORBIDDEN + const Status_INTERNAL_SERVER_ERROR + const Status_NOT_FOUND + const Status_REQUEST_ENTITY_TOO_LARGE + const Status_SERVICE_UNAVAILABLE + const Status_SUCCESS + const Status_UNKNOWN + func (Status) EnumDescriptor() ([]byte, []int) + func (x Status) String() string