common

package
v0.0.0-...-95b87ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BlockMetadataIndex_name = map[int32]string{
	0: "SIGNATURES",
	1: "LAST_CONFIG",
	2: "TRANSACTIONS_FILTER",
	3: "ORDERER",
	4: "COMMIT_HASH",
}
View Source
var BlockMetadataIndex_value = map[string]int32{
	"SIGNATURES":          0,
	"LAST_CONFIG":         1,
	"TRANSACTIONS_FILTER": 2,
	"ORDERER":             3,
	"COMMIT_HASH":         4,
}
View Source
var ChannelGroupMap = map[string]DynamicConfigGroupFactory{
	"Consortiums": DynamicConsortiumsGroupFactory{},
}
View Source
var HeaderType_name = map[int32]string{
	0: "MESSAGE",
	1: "CONFIG",
	2: "CONFIG_UPDATE",
	3: "ENDORSER_TRANSACTION",
	4: "ORDERER_TRANSACTION",
	5: "DELIVER_SEEK_INFO",
	6: "CHAINCODE_PACKAGE",
	8: "PEER_ADMIN_OPERATION",
}
View Source
var HeaderType_value = map[string]int32{
	"MESSAGE":              0,
	"CONFIG":               1,
	"CONFIG_UPDATE":        2,
	"ENDORSER_TRANSACTION": 3,
	"ORDERER_TRANSACTION":  4,
	"DELIVER_SEEK_INFO":    5,
	"CHAINCODE_PACKAGE":    6,
	"PEER_ADMIN_OPERATION": 8,
}
View Source
var ImplicitMetaPolicy_Rule_name = map[int32]string{
	0: "ANY",
	1: "ALL",
	2: "MAJORITY",
}
View Source
var ImplicitMetaPolicy_Rule_value = map[string]int32{
	"ANY":      0,
	"ALL":      1,
	"MAJORITY": 2,
}
View Source
var Policy_PolicyType_name = map[int32]string{
	0: "UNKNOWN",
	1: "SIGNATURE",
	2: "MSP",
	3: "IMPLICIT_META",
}
View Source
var Policy_PolicyType_value = map[string]int32{
	"UNKNOWN":       0,
	"SIGNATURE":     1,
	"MSP":           2,
	"IMPLICIT_META": 3,
}
View Source
var Status_name = map[int32]string{
	0:   "UNKNOWN",
	200: "SUCCESS",
	400: "BAD_REQUEST",
	403: "FORBIDDEN",
	404: "NOT_FOUND",
	413: "REQUEST_ENTITY_TOO_LARGE",
	500: "INTERNAL_SERVER_ERROR",
	501: "NOT_IMPLEMENTED",
	503: "SERVICE_UNAVAILABLE",
}
View Source
var Status_value = map[string]int32{
	"UNKNOWN":                  0,
	"SUCCESS":                  200,
	"BAD_REQUEST":              400,
	"FORBIDDEN":                403,
	"NOT_FOUND":                404,
	"REQUEST_ENTITY_TOO_LARGE": 413,
	"INTERNAL_SERVER_ERROR":    500,
	"NOT_IMPLEMENTED":          501,
	"SERVICE_UNAVAILABLE":      503,
}

Functions

This section is empty.

Types

type Block

type Block struct {
	Header               *BlockHeader   `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Data                 *BlockData     `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Metadata             *BlockMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func NewBlock

func NewBlock(seqNum uint64, previousHash []byte) *Block

func (*Block) Descriptor

func (*Block) Descriptor() ([]byte, []int)

func (*Block) GetData

func (m *Block) GetData() *BlockData

func (*Block) GetHeader

func (m *Block) GetHeader() *BlockHeader

func (*Block) GetMetadata

func (m *Block) GetMetadata() *BlockMetadata

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) Reset

func (m *Block) Reset()

func (*Block) String

func (m *Block) String() string

func (*Block) XXX_DiscardUnknown

func (m *Block) XXX_DiscardUnknown()

func (*Block) XXX_Marshal

func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Block) XXX_Merge

func (m *Block) XXX_Merge(src proto.Message)

func (*Block) XXX_Size

func (m *Block) XXX_Size() int

func (*Block) XXX_Unmarshal

func (m *Block) XXX_Unmarshal(b []byte) error

type BlockData

type BlockData struct {
	Data                 [][]byte `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockData) Bytes

func (b *BlockData) Bytes() []byte

func (*BlockData) Descriptor

func (*BlockData) Descriptor() ([]byte, []int)

func (*BlockData) GetData

func (m *BlockData) GetData() [][]byte

func (*BlockData) Hash

func (b *BlockData) Hash() []byte

func (*BlockData) ProtoMessage

func (*BlockData) ProtoMessage()

func (*BlockData) Reset

func (m *BlockData) Reset()

func (*BlockData) StaticallyOpaqueSliceFieldProto

func (bd *BlockData) StaticallyOpaqueSliceFieldProto(fieldName string, index int) (proto.Message, error)

func (*BlockData) StaticallyOpaqueSliceFields

func (bd *BlockData) StaticallyOpaqueSliceFields() []string

func (*BlockData) String

func (m *BlockData) String() string

func (*BlockData) XXX_DiscardUnknown

func (m *BlockData) XXX_DiscardUnknown()

func (*BlockData) XXX_Marshal

func (m *BlockData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockData) XXX_Merge

func (m *BlockData) XXX_Merge(src proto.Message)

func (*BlockData) XXX_Size

func (m *BlockData) XXX_Size() int

func (*BlockData) XXX_Unmarshal

func (m *BlockData) XXX_Unmarshal(b []byte) error

type BlockDataHashingStructure

type BlockDataHashingStructure struct {
	Width                uint32   `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockDataHashingStructure) Descriptor

func (*BlockDataHashingStructure) Descriptor() ([]byte, []int)

func (*BlockDataHashingStructure) GetWidth

func (m *BlockDataHashingStructure) GetWidth() uint32

func (*BlockDataHashingStructure) ProtoMessage

func (*BlockDataHashingStructure) ProtoMessage()

func (*BlockDataHashingStructure) Reset

func (m *BlockDataHashingStructure) Reset()

func (*BlockDataHashingStructure) String

func (m *BlockDataHashingStructure) String() string

func (*BlockDataHashingStructure) XXX_DiscardUnknown

func (m *BlockDataHashingStructure) XXX_DiscardUnknown()

func (*BlockDataHashingStructure) XXX_Marshal

func (m *BlockDataHashingStructure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockDataHashingStructure) XXX_Merge

func (m *BlockDataHashingStructure) XXX_Merge(src proto.Message)

func (*BlockDataHashingStructure) XXX_Size

func (m *BlockDataHashingStructure) XXX_Size() int

func (*BlockDataHashingStructure) XXX_Unmarshal

func (m *BlockDataHashingStructure) XXX_Unmarshal(b []byte) error

type BlockHeader

type BlockHeader struct {
	Number               uint64   `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	PreviousHash         []byte   `protobuf:"bytes,2,opt,name=previous_hash,json=previousHash,proto3" json:"previous_hash,omitempty"`
	DataHash             []byte   `protobuf:"bytes,3,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockHeader) Bytes

func (b *BlockHeader) Bytes() []byte

func (*BlockHeader) Descriptor

func (*BlockHeader) Descriptor() ([]byte, []int)

func (*BlockHeader) GetDataHash

func (m *BlockHeader) GetDataHash() []byte

func (*BlockHeader) GetNumber

func (m *BlockHeader) GetNumber() uint64

func (*BlockHeader) GetPreviousHash

func (m *BlockHeader) GetPreviousHash() []byte

func (*BlockHeader) Hash

func (b *BlockHeader) Hash() []byte

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) Reset

func (m *BlockHeader) Reset()

func (*BlockHeader) String

func (m *BlockHeader) String() string

func (*BlockHeader) XXX_DiscardUnknown

func (m *BlockHeader) XXX_DiscardUnknown()

func (*BlockHeader) XXX_Marshal

func (m *BlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockHeader) XXX_Merge

func (m *BlockHeader) XXX_Merge(src proto.Message)

func (*BlockHeader) XXX_Size

func (m *BlockHeader) XXX_Size() int

func (*BlockHeader) XXX_Unmarshal

func (m *BlockHeader) XXX_Unmarshal(b []byte) error

type BlockMetadata

type BlockMetadata struct {
	Metadata             [][]byte `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockMetadata) Descriptor

func (*BlockMetadata) Descriptor() ([]byte, []int)

func (*BlockMetadata) GetMetadata

func (m *BlockMetadata) GetMetadata() [][]byte

func (*BlockMetadata) ProtoMessage

func (*BlockMetadata) ProtoMessage()

func (*BlockMetadata) Reset

func (m *BlockMetadata) Reset()

func (*BlockMetadata) String

func (m *BlockMetadata) String() string

func (*BlockMetadata) XXX_DiscardUnknown

func (m *BlockMetadata) XXX_DiscardUnknown()

func (*BlockMetadata) XXX_Marshal

func (m *BlockMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockMetadata) XXX_Merge

func (m *BlockMetadata) XXX_Merge(src proto.Message)

func (*BlockMetadata) XXX_Size

func (m *BlockMetadata) XXX_Size() int

func (*BlockMetadata) XXX_Unmarshal

func (m *BlockMetadata) XXX_Unmarshal(b []byte) error

type BlockMetadataIndex

type BlockMetadataIndex int32
const (
	BlockMetadataIndex_SIGNATURES          BlockMetadataIndex = 0
	BlockMetadataIndex_LAST_CONFIG         BlockMetadataIndex = 1
	BlockMetadataIndex_TRANSACTIONS_FILTER BlockMetadataIndex = 2
	BlockMetadataIndex_ORDERER             BlockMetadataIndex = 3
	BlockMetadataIndex_COMMIT_HASH         BlockMetadataIndex = 4
)

func (BlockMetadataIndex) EnumDescriptor

func (BlockMetadataIndex) EnumDescriptor() ([]byte, []int)

func (BlockMetadataIndex) String

func (x BlockMetadataIndex) String() string

type BlockchainInfo

type BlockchainInfo struct {
	Height               uint64   `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	CurrentBlockHash     []byte   `protobuf:"bytes,2,opt,name=currentBlockHash,proto3" json:"currentBlockHash,omitempty"`
	PreviousBlockHash    []byte   `protobuf:"bytes,3,opt,name=previousBlockHash,proto3" json:"previousBlockHash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockchainInfo) Descriptor

func (*BlockchainInfo) Descriptor() ([]byte, []int)

func (*BlockchainInfo) GetCurrentBlockHash

func (m *BlockchainInfo) GetCurrentBlockHash() []byte

func (*BlockchainInfo) GetHeight

func (m *BlockchainInfo) GetHeight() uint64

func (*BlockchainInfo) GetPreviousBlockHash

func (m *BlockchainInfo) GetPreviousBlockHash() []byte

func (*BlockchainInfo) ProtoMessage

func (*BlockchainInfo) ProtoMessage()

func (*BlockchainInfo) Reset

func (m *BlockchainInfo) Reset()

func (*BlockchainInfo) String

func (m *BlockchainInfo) String() string

func (*BlockchainInfo) XXX_DiscardUnknown

func (m *BlockchainInfo) XXX_DiscardUnknown()

func (*BlockchainInfo) XXX_Marshal

func (m *BlockchainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockchainInfo) XXX_Merge

func (m *BlockchainInfo) XXX_Merge(src proto.Message)

func (*BlockchainInfo) XXX_Size

func (m *BlockchainInfo) XXX_Size() int

func (*BlockchainInfo) XXX_Unmarshal

func (m *BlockchainInfo) XXX_Unmarshal(b []byte) error

type Capabilities

type Capabilities struct {
	Capabilities         map[string]*Capability `` /* 165-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*Capabilities) Descriptor

func (*Capabilities) Descriptor() ([]byte, []int)

func (*Capabilities) GetCapabilities

func (m *Capabilities) GetCapabilities() map[string]*Capability

func (*Capabilities) ProtoMessage

func (*Capabilities) ProtoMessage()

func (*Capabilities) Reset

func (m *Capabilities) Reset()

func (*Capabilities) String

func (m *Capabilities) String() string

func (*Capabilities) XXX_DiscardUnknown

func (m *Capabilities) XXX_DiscardUnknown()

func (*Capabilities) XXX_Marshal

func (m *Capabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Capabilities) XXX_Merge

func (m *Capabilities) XXX_Merge(src proto.Message)

func (*Capabilities) XXX_Size

func (m *Capabilities) XXX_Size() int

func (*Capabilities) XXX_Unmarshal

func (m *Capabilities) XXX_Unmarshal(b []byte) error

type Capability

type Capability struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Capability) Descriptor

func (*Capability) Descriptor() ([]byte, []int)

func (*Capability) ProtoMessage

func (*Capability) ProtoMessage()

func (*Capability) Reset

func (m *Capability) Reset()

func (*Capability) String

func (m *Capability) String() string

func (*Capability) XXX_DiscardUnknown

func (m *Capability) XXX_DiscardUnknown()

func (*Capability) XXX_Marshal

func (m *Capability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Capability) XXX_Merge

func (m *Capability) XXX_Merge(src proto.Message)

func (*Capability) XXX_Size

func (m *Capability) XXX_Size() int

func (*Capability) XXX_Unmarshal

func (m *Capability) XXX_Unmarshal(b []byte) error

type ChannelHeader

type ChannelHeader struct {
	Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`

	Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`

	Timestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`

	ChannelId string `protobuf:"bytes,4,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`

	TxId string `protobuf:"bytes,5,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`

	Epoch uint64 `protobuf:"varint,6,opt,name=epoch,proto3" json:"epoch,omitempty"`

	Extension []byte `protobuf:"bytes,7,opt,name=extension,proto3" json:"extension,omitempty"`

	TlsCertHash          []byte   `protobuf:"bytes,8,opt,name=tls_cert_hash,json=tlsCertHash,proto3" json:"tls_cert_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelHeader) Descriptor

func (*ChannelHeader) Descriptor() ([]byte, []int)

func (*ChannelHeader) GetChannelId

func (m *ChannelHeader) GetChannelId() string

func (*ChannelHeader) GetEpoch

func (m *ChannelHeader) GetEpoch() uint64

func (*ChannelHeader) GetExtension

func (m *ChannelHeader) GetExtension() []byte

func (*ChannelHeader) GetTimestamp

func (m *ChannelHeader) GetTimestamp() *timestamp.Timestamp

func (*ChannelHeader) GetTlsCertHash

func (m *ChannelHeader) GetTlsCertHash() []byte

func (*ChannelHeader) GetTxId

func (m *ChannelHeader) GetTxId() string

func (*ChannelHeader) GetType

func (m *ChannelHeader) GetType() int32

func (*ChannelHeader) GetVersion

func (m *ChannelHeader) GetVersion() int32

func (*ChannelHeader) ProtoMessage

func (*ChannelHeader) ProtoMessage()

func (*ChannelHeader) Reset

func (m *ChannelHeader) Reset()

func (*ChannelHeader) String

func (m *ChannelHeader) String() string

func (*ChannelHeader) XXX_DiscardUnknown

func (m *ChannelHeader) XXX_DiscardUnknown()

func (*ChannelHeader) XXX_Marshal

func (m *ChannelHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelHeader) XXX_Merge

func (m *ChannelHeader) XXX_Merge(src proto.Message)

func (*ChannelHeader) XXX_Size

func (m *ChannelHeader) XXX_Size() int

func (*ChannelHeader) XXX_Unmarshal

func (m *ChannelHeader) XXX_Unmarshal(b []byte) error

type CollectionConfig

type CollectionConfig struct {
	Payload              isCollectionConfig_Payload `protobuf_oneof:"payload"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*CollectionConfig) Descriptor

func (*CollectionConfig) Descriptor() ([]byte, []int)

func (*CollectionConfig) GetPayload

func (m *CollectionConfig) GetPayload() isCollectionConfig_Payload

func (*CollectionConfig) GetStaticCollectionConfig

func (m *CollectionConfig) GetStaticCollectionConfig() *StaticCollectionConfig

func (*CollectionConfig) ProtoMessage

func (*CollectionConfig) ProtoMessage()

func (*CollectionConfig) Reset

func (m *CollectionConfig) Reset()

func (*CollectionConfig) String

func (m *CollectionConfig) String() string

func (*CollectionConfig) XXX_DiscardUnknown

func (m *CollectionConfig) XXX_DiscardUnknown()

func (*CollectionConfig) XXX_Marshal

func (m *CollectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionConfig) XXX_Merge

func (m *CollectionConfig) XXX_Merge(src proto.Message)

func (*CollectionConfig) XXX_OneofWrappers

func (*CollectionConfig) XXX_OneofWrappers() []interface{}

func (*CollectionConfig) XXX_Size

func (m *CollectionConfig) XXX_Size() int

func (*CollectionConfig) XXX_Unmarshal

func (m *CollectionConfig) XXX_Unmarshal(b []byte) error

type CollectionConfigPackage

type CollectionConfigPackage struct {
	Config               []*CollectionConfig `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*CollectionConfigPackage) Descriptor

func (*CollectionConfigPackage) Descriptor() ([]byte, []int)

func (*CollectionConfigPackage) GetConfig

func (m *CollectionConfigPackage) GetConfig() []*CollectionConfig

func (*CollectionConfigPackage) ProtoMessage

func (*CollectionConfigPackage) ProtoMessage()

func (*CollectionConfigPackage) Reset

func (m *CollectionConfigPackage) Reset()

func (*CollectionConfigPackage) String

func (m *CollectionConfigPackage) String() string

func (*CollectionConfigPackage) XXX_DiscardUnknown

func (m *CollectionConfigPackage) XXX_DiscardUnknown()

func (*CollectionConfigPackage) XXX_Marshal

func (m *CollectionConfigPackage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionConfigPackage) XXX_Merge

func (m *CollectionConfigPackage) XXX_Merge(src proto.Message)

func (*CollectionConfigPackage) XXX_Size

func (m *CollectionConfigPackage) XXX_Size() int

func (*CollectionConfigPackage) XXX_Unmarshal

func (m *CollectionConfigPackage) XXX_Unmarshal(b []byte) error

type CollectionConfig_StaticCollectionConfig

type CollectionConfig_StaticCollectionConfig struct {
	StaticCollectionConfig *StaticCollectionConfig `protobuf:"bytes,1,opt,name=static_collection_config,json=staticCollectionConfig,proto3,oneof"`
}

type CollectionCriteria

type CollectionCriteria struct {
	Channel              string   `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	TxId                 string   `protobuf:"bytes,2,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
	Collection           string   `protobuf:"bytes,3,opt,name=collection,proto3" json:"collection,omitempty"`
	Namespace            string   `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CollectionCriteria) Descriptor

func (*CollectionCriteria) Descriptor() ([]byte, []int)

func (*CollectionCriteria) GetChannel

func (m *CollectionCriteria) GetChannel() string

func (*CollectionCriteria) GetCollection

func (m *CollectionCriteria) GetCollection() string

func (*CollectionCriteria) GetNamespace

func (m *CollectionCriteria) GetNamespace() string

func (*CollectionCriteria) GetTxId

func (m *CollectionCriteria) GetTxId() string

func (*CollectionCriteria) ProtoMessage

func (*CollectionCriteria) ProtoMessage()

func (*CollectionCriteria) Reset

func (m *CollectionCriteria) Reset()

func (*CollectionCriteria) String

func (m *CollectionCriteria) String() string

func (*CollectionCriteria) XXX_DiscardUnknown

func (m *CollectionCriteria) XXX_DiscardUnknown()

func (*CollectionCriteria) XXX_Marshal

func (m *CollectionCriteria) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionCriteria) XXX_Merge

func (m *CollectionCriteria) XXX_Merge(src proto.Message)

func (*CollectionCriteria) XXX_Size

func (m *CollectionCriteria) XXX_Size() int

func (*CollectionCriteria) XXX_Unmarshal

func (m *CollectionCriteria) XXX_Unmarshal(b []byte) error

type CollectionPolicyConfig

type CollectionPolicyConfig struct {
	Payload              isCollectionPolicyConfig_Payload `protobuf_oneof:"payload"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

func (*CollectionPolicyConfig) Descriptor

func (*CollectionPolicyConfig) Descriptor() ([]byte, []int)

func (*CollectionPolicyConfig) GetPayload

func (m *CollectionPolicyConfig) GetPayload() isCollectionPolicyConfig_Payload

func (*CollectionPolicyConfig) GetSignaturePolicy

func (m *CollectionPolicyConfig) GetSignaturePolicy() *SignaturePolicyEnvelope

func (*CollectionPolicyConfig) ProtoMessage

func (*CollectionPolicyConfig) ProtoMessage()

func (*CollectionPolicyConfig) Reset

func (m *CollectionPolicyConfig) Reset()

func (*CollectionPolicyConfig) String

func (m *CollectionPolicyConfig) String() string

func (*CollectionPolicyConfig) XXX_DiscardUnknown

func (m *CollectionPolicyConfig) XXX_DiscardUnknown()

func (*CollectionPolicyConfig) XXX_Marshal

func (m *CollectionPolicyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionPolicyConfig) XXX_Merge

func (m *CollectionPolicyConfig) XXX_Merge(src proto.Message)

func (*CollectionPolicyConfig) XXX_OneofWrappers

func (*CollectionPolicyConfig) XXX_OneofWrappers() []interface{}

func (*CollectionPolicyConfig) XXX_Size

func (m *CollectionPolicyConfig) XXX_Size() int

func (*CollectionPolicyConfig) XXX_Unmarshal

func (m *CollectionPolicyConfig) XXX_Unmarshal(b []byte) error

type CollectionPolicyConfig_SignaturePolicy

type CollectionPolicyConfig_SignaturePolicy struct {
	SignaturePolicy *SignaturePolicyEnvelope `protobuf:"bytes,1,opt,name=signature_policy,json=signaturePolicy,proto3,oneof"`
}

type Config

type Config struct {
	Sequence             uint64       `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
	ChannelGroup         *ConfigGroup `protobuf:"bytes,2,opt,name=channel_group,json=channelGroup,proto3" json:"channel_group,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*Config) Descriptor

func (*Config) Descriptor() ([]byte, []int)

func (*Config) GetChannelGroup

func (m *Config) GetChannelGroup() *ConfigGroup

func (*Config) GetSequence

func (m *Config) GetSequence() uint64

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge

func (m *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal

func (m *Config) XXX_Unmarshal(b []byte) error

type ConfigEnvelope

type ConfigEnvelope struct {
	Config               *Config   `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	LastUpdate           *Envelope `protobuf:"bytes,2,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ConfigEnvelope) Descriptor

func (*ConfigEnvelope) Descriptor() ([]byte, []int)

func (*ConfigEnvelope) GetConfig

func (m *ConfigEnvelope) GetConfig() *Config

func (*ConfigEnvelope) GetLastUpdate

func (m *ConfigEnvelope) GetLastUpdate() *Envelope

func (*ConfigEnvelope) ProtoMessage

func (*ConfigEnvelope) ProtoMessage()

func (*ConfigEnvelope) Reset

func (m *ConfigEnvelope) Reset()

func (*ConfigEnvelope) String

func (m *ConfigEnvelope) String() string

func (*ConfigEnvelope) XXX_DiscardUnknown

func (m *ConfigEnvelope) XXX_DiscardUnknown()

func (*ConfigEnvelope) XXX_Marshal

func (m *ConfigEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigEnvelope) XXX_Merge

func (m *ConfigEnvelope) XXX_Merge(src proto.Message)

func (*ConfigEnvelope) XXX_Size

func (m *ConfigEnvelope) XXX_Size() int

func (*ConfigEnvelope) XXX_Unmarshal

func (m *ConfigEnvelope) XXX_Unmarshal(b []byte) error

type ConfigGroup

type ConfigGroup struct {
	Version              uint64                   `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Groups               map[string]*ConfigGroup  `` /* 153-byte string literal not displayed */
	Values               map[string]*ConfigValue  `` /* 153-byte string literal not displayed */
	Policies             map[string]*ConfigPolicy `` /* 157-byte string literal not displayed */
	ModPolicy            string                   `protobuf:"bytes,5,opt,name=mod_policy,json=modPolicy,proto3" json:"mod_policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*ConfigGroup) Descriptor

func (*ConfigGroup) Descriptor() ([]byte, []int)

func (*ConfigGroup) GetGroups

func (m *ConfigGroup) GetGroups() map[string]*ConfigGroup

func (*ConfigGroup) GetModPolicy

func (m *ConfigGroup) GetModPolicy() string

func (*ConfigGroup) GetPolicies

func (m *ConfigGroup) GetPolicies() map[string]*ConfigPolicy

func (*ConfigGroup) GetValues

func (m *ConfigGroup) GetValues() map[string]*ConfigValue

func (*ConfigGroup) GetVersion

func (m *ConfigGroup) GetVersion() uint64

func (*ConfigGroup) ProtoMessage

func (*ConfigGroup) ProtoMessage()

func (*ConfigGroup) Reset

func (m *ConfigGroup) Reset()

func (*ConfigGroup) String

func (m *ConfigGroup) String() string

func (*ConfigGroup) XXX_DiscardUnknown

func (m *ConfigGroup) XXX_DiscardUnknown()

func (*ConfigGroup) XXX_Marshal

func (m *ConfigGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigGroup) XXX_Merge

func (m *ConfigGroup) XXX_Merge(src proto.Message)

func (*ConfigGroup) XXX_Size

func (m *ConfigGroup) XXX_Size() int

func (*ConfigGroup) XXX_Unmarshal

func (m *ConfigGroup) XXX_Unmarshal(b []byte) error

type ConfigGroupSchema

type ConfigGroupSchema struct {
	Groups               map[string]*ConfigGroupSchema  `` /* 153-byte string literal not displayed */
	Values               map[string]*ConfigValueSchema  `` /* 153-byte string literal not displayed */
	Policies             map[string]*ConfigPolicySchema `` /* 157-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*ConfigGroupSchema) Descriptor

func (*ConfigGroupSchema) Descriptor() ([]byte, []int)

func (*ConfigGroupSchema) GetGroups

func (m *ConfigGroupSchema) GetGroups() map[string]*ConfigGroupSchema

func (*ConfigGroupSchema) GetPolicies

func (m *ConfigGroupSchema) GetPolicies() map[string]*ConfigPolicySchema

func (*ConfigGroupSchema) GetValues

func (m *ConfigGroupSchema) GetValues() map[string]*ConfigValueSchema

func (*ConfigGroupSchema) ProtoMessage

func (*ConfigGroupSchema) ProtoMessage()

func (*ConfigGroupSchema) Reset

func (m *ConfigGroupSchema) Reset()

func (*ConfigGroupSchema) String

func (m *ConfigGroupSchema) String() string

func (*ConfigGroupSchema) XXX_DiscardUnknown

func (m *ConfigGroupSchema) XXX_DiscardUnknown()

func (*ConfigGroupSchema) XXX_Marshal

func (m *ConfigGroupSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigGroupSchema) XXX_Merge

func (m *ConfigGroupSchema) XXX_Merge(src proto.Message)

func (*ConfigGroupSchema) XXX_Size

func (m *ConfigGroupSchema) XXX_Size() int

func (*ConfigGroupSchema) XXX_Unmarshal

func (m *ConfigGroupSchema) XXX_Unmarshal(b []byte) error

type ConfigPolicy

type ConfigPolicy struct {
	Version              uint64   `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Policy               *Policy  `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`
	ModPolicy            string   `protobuf:"bytes,3,opt,name=mod_policy,json=modPolicy,proto3" json:"mod_policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConfigPolicy) Descriptor

func (*ConfigPolicy) Descriptor() ([]byte, []int)

func (*ConfigPolicy) GetModPolicy

func (m *ConfigPolicy) GetModPolicy() string

func (*ConfigPolicy) GetPolicy

func (m *ConfigPolicy) GetPolicy() *Policy

func (*ConfigPolicy) GetVersion

func (m *ConfigPolicy) GetVersion() uint64

func (*ConfigPolicy) ProtoMessage

func (*ConfigPolicy) ProtoMessage()

func (*ConfigPolicy) Reset

func (m *ConfigPolicy) Reset()

func (*ConfigPolicy) String

func (m *ConfigPolicy) String() string

func (*ConfigPolicy) XXX_DiscardUnknown

func (m *ConfigPolicy) XXX_DiscardUnknown()

func (*ConfigPolicy) XXX_Marshal

func (m *ConfigPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigPolicy) XXX_Merge

func (m *ConfigPolicy) XXX_Merge(src proto.Message)

func (*ConfigPolicy) XXX_Size

func (m *ConfigPolicy) XXX_Size() int

func (*ConfigPolicy) XXX_Unmarshal

func (m *ConfigPolicy) XXX_Unmarshal(b []byte) error

type ConfigPolicySchema

type ConfigPolicySchema struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConfigPolicySchema) Descriptor

func (*ConfigPolicySchema) Descriptor() ([]byte, []int)

func (*ConfigPolicySchema) ProtoMessage

func (*ConfigPolicySchema) ProtoMessage()

func (*ConfigPolicySchema) Reset

func (m *ConfigPolicySchema) Reset()

func (*ConfigPolicySchema) String

func (m *ConfigPolicySchema) String() string

func (*ConfigPolicySchema) XXX_DiscardUnknown

func (m *ConfigPolicySchema) XXX_DiscardUnknown()

func (*ConfigPolicySchema) XXX_Marshal

func (m *ConfigPolicySchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigPolicySchema) XXX_Merge

func (m *ConfigPolicySchema) XXX_Merge(src proto.Message)

func (*ConfigPolicySchema) XXX_Size

func (m *ConfigPolicySchema) XXX_Size() int

func (*ConfigPolicySchema) XXX_Unmarshal

func (m *ConfigPolicySchema) XXX_Unmarshal(b []byte) error

type ConfigSignature

type ConfigSignature struct {
	SignatureHeader      []byte   `protobuf:"bytes,1,opt,name=signature_header,json=signatureHeader,proto3" json:"signature_header,omitempty"`
	Signature            []byte   `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConfigSignature) Descriptor

func (*ConfigSignature) Descriptor() ([]byte, []int)

func (*ConfigSignature) GetSignature

func (m *ConfigSignature) GetSignature() []byte

func (*ConfigSignature) GetSignatureHeader

func (m *ConfigSignature) GetSignatureHeader() []byte

func (*ConfigSignature) ProtoMessage

func (*ConfigSignature) ProtoMessage()

func (*ConfigSignature) Reset

func (m *ConfigSignature) Reset()

func (*ConfigSignature) String

func (m *ConfigSignature) String() string

func (*ConfigSignature) XXX_DiscardUnknown

func (m *ConfigSignature) XXX_DiscardUnknown()

func (*ConfigSignature) XXX_Marshal

func (m *ConfigSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigSignature) XXX_Merge

func (m *ConfigSignature) XXX_Merge(src proto.Message)

func (*ConfigSignature) XXX_Size

func (m *ConfigSignature) XXX_Size() int

func (*ConfigSignature) XXX_Unmarshal

func (m *ConfigSignature) XXX_Unmarshal(b []byte) error

type ConfigUpdate

type ConfigUpdate struct {
	ChannelId            string            `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	ReadSet              *ConfigGroup      `protobuf:"bytes,2,opt,name=read_set,json=readSet,proto3" json:"read_set,omitempty"`
	WriteSet             *ConfigGroup      `protobuf:"bytes,3,opt,name=write_set,json=writeSet,proto3" json:"write_set,omitempty"`
	IsolatedData         map[string][]byte `` /* 185-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ConfigUpdate) Descriptor

func (*ConfigUpdate) Descriptor() ([]byte, []int)

func (*ConfigUpdate) GetChannelId

func (m *ConfigUpdate) GetChannelId() string

func (*ConfigUpdate) GetIsolatedData

func (m *ConfigUpdate) GetIsolatedData() map[string][]byte

func (*ConfigUpdate) GetReadSet

func (m *ConfigUpdate) GetReadSet() *ConfigGroup

func (*ConfigUpdate) GetWriteSet

func (m *ConfigUpdate) GetWriteSet() *ConfigGroup

func (*ConfigUpdate) ProtoMessage

func (*ConfigUpdate) ProtoMessage()

func (*ConfigUpdate) Reset

func (m *ConfigUpdate) Reset()

func (*ConfigUpdate) String

func (m *ConfigUpdate) String() string

func (*ConfigUpdate) XXX_DiscardUnknown

func (m *ConfigUpdate) XXX_DiscardUnknown()

func (*ConfigUpdate) XXX_Marshal

func (m *ConfigUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigUpdate) XXX_Merge

func (m *ConfigUpdate) XXX_Merge(src proto.Message)

func (*ConfigUpdate) XXX_Size

func (m *ConfigUpdate) XXX_Size() int

func (*ConfigUpdate) XXX_Unmarshal

func (m *ConfigUpdate) XXX_Unmarshal(b []byte) error

type ConfigUpdateEnvelope

type ConfigUpdateEnvelope struct {
	ConfigUpdate         []byte             `protobuf:"bytes,1,opt,name=config_update,json=configUpdate,proto3" json:"config_update,omitempty"`
	Signatures           []*ConfigSignature `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ConfigUpdateEnvelope) AsSignedData

func (ce *ConfigUpdateEnvelope) AsSignedData() ([]*SignedData, error)

func (*ConfigUpdateEnvelope) Descriptor

func (*ConfigUpdateEnvelope) Descriptor() ([]byte, []int)

func (*ConfigUpdateEnvelope) GetConfigUpdate

func (m *ConfigUpdateEnvelope) GetConfigUpdate() []byte

func (*ConfigUpdateEnvelope) GetSignatures

func (m *ConfigUpdateEnvelope) GetSignatures() []*ConfigSignature

func (*ConfigUpdateEnvelope) ProtoMessage

func (*ConfigUpdateEnvelope) ProtoMessage()

func (*ConfigUpdateEnvelope) Reset

func (m *ConfigUpdateEnvelope) Reset()

func (*ConfigUpdateEnvelope) String

func (m *ConfigUpdateEnvelope) String() string

func (*ConfigUpdateEnvelope) XXX_DiscardUnknown

func (m *ConfigUpdateEnvelope) XXX_DiscardUnknown()

func (*ConfigUpdateEnvelope) XXX_Marshal

func (m *ConfigUpdateEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigUpdateEnvelope) XXX_Merge

func (m *ConfigUpdateEnvelope) XXX_Merge(src proto.Message)

func (*ConfigUpdateEnvelope) XXX_Size

func (m *ConfigUpdateEnvelope) XXX_Size() int

func (*ConfigUpdateEnvelope) XXX_Unmarshal

func (m *ConfigUpdateEnvelope) XXX_Unmarshal(b []byte) error

type ConfigValue

type ConfigValue struct {
	Version              uint64   `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Value                []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	ModPolicy            string   `protobuf:"bytes,3,opt,name=mod_policy,json=modPolicy,proto3" json:"mod_policy,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConfigValue) Descriptor

func (*ConfigValue) Descriptor() ([]byte, []int)

func (*ConfigValue) GetModPolicy

func (m *ConfigValue) GetModPolicy() string

func (*ConfigValue) GetValue

func (m *ConfigValue) GetValue() []byte

func (*ConfigValue) GetVersion

func (m *ConfigValue) GetVersion() uint64

func (*ConfigValue) ProtoMessage

func (*ConfigValue) ProtoMessage()

func (*ConfigValue) Reset

func (m *ConfigValue) Reset()

func (*ConfigValue) String

func (m *ConfigValue) String() string

func (*ConfigValue) XXX_DiscardUnknown

func (m *ConfigValue) XXX_DiscardUnknown()

func (*ConfigValue) XXX_Marshal

func (m *ConfigValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigValue) XXX_Merge

func (m *ConfigValue) XXX_Merge(src proto.Message)

func (*ConfigValue) XXX_Size

func (m *ConfigValue) XXX_Size() int

func (*ConfigValue) XXX_Unmarshal

func (m *ConfigValue) XXX_Unmarshal(b []byte) error

type ConfigValueSchema

type ConfigValueSchema struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConfigValueSchema) Descriptor

func (*ConfigValueSchema) Descriptor() ([]byte, []int)

func (*ConfigValueSchema) ProtoMessage

func (*ConfigValueSchema) ProtoMessage()

func (*ConfigValueSchema) Reset

func (m *ConfigValueSchema) Reset()

func (*ConfigValueSchema) String

func (m *ConfigValueSchema) String() string

func (*ConfigValueSchema) XXX_DiscardUnknown

func (m *ConfigValueSchema) XXX_DiscardUnknown()

func (*ConfigValueSchema) XXX_Marshal

func (m *ConfigValueSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigValueSchema) XXX_Merge

func (m *ConfigValueSchema) XXX_Merge(src proto.Message)

func (*ConfigValueSchema) XXX_Size

func (m *ConfigValueSchema) XXX_Size() int

func (*ConfigValueSchema) XXX_Unmarshal

func (m *ConfigValueSchema) XXX_Unmarshal(b []byte) error

type Consortium

type Consortium struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Consortium) Descriptor

func (*Consortium) Descriptor() ([]byte, []int)

func (*Consortium) GetName

func (m *Consortium) GetName() string

func (*Consortium) ProtoMessage

func (*Consortium) ProtoMessage()

func (*Consortium) Reset

func (m *Consortium) Reset()

func (*Consortium) String

func (m *Consortium) String() string

func (*Consortium) XXX_DiscardUnknown

func (m *Consortium) XXX_DiscardUnknown()

func (*Consortium) XXX_Marshal

func (m *Consortium) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Consortium) XXX_Merge

func (m *Consortium) XXX_Merge(src proto.Message)

func (*Consortium) XXX_Size

func (m *Consortium) XXX_Size() int

func (*Consortium) XXX_Unmarshal

func (m *Consortium) XXX_Unmarshal(b []byte) error

type DynamicChannelConfigValue

type DynamicChannelConfigValue struct {
	*ConfigValue
	// contains filtered or unexported fields
}

func (*DynamicChannelConfigValue) Underlying

func (dccv *DynamicChannelConfigValue) Underlying() proto.Message

func (*DynamicChannelConfigValue) VariablyOpaqueFieldProto

func (dccv *DynamicChannelConfigValue) VariablyOpaqueFieldProto(name string) (proto.Message, error)

type DynamicChannelGroup

type DynamicChannelGroup struct {
	*ConfigGroup
}

func (*DynamicChannelGroup) DynamicMapFieldProto

func (dcg *DynamicChannelGroup) DynamicMapFieldProto(name string, key string, base proto.Message) (proto.Message, error)

type DynamicConfigGroupFactory

type DynamicConfigGroupFactory interface {
	DynamicConfigGroup(cg *ConfigGroup) proto.Message
}

type DynamicConsortiumConfigValue

type DynamicConsortiumConfigValue struct {
	*ConfigValue
	// contains filtered or unexported fields
}

func (*DynamicConsortiumConfigValue) VariablyOpaqueFieldProto

func (dccv *DynamicConsortiumConfigValue) VariablyOpaqueFieldProto(name string) (proto.Message, error)

type DynamicConsortiumGroup

type DynamicConsortiumGroup struct {
	*ConfigGroup
}

func (*DynamicConsortiumGroup) DynamicMapFieldProto

func (dcg *DynamicConsortiumGroup) DynamicMapFieldProto(name string, key string, base proto.Message) (proto.Message, error)

func (*DynamicConsortiumGroup) Underlying

func (dcg *DynamicConsortiumGroup) Underlying() proto.Message

type DynamicConsortiumOrgConfigValue

type DynamicConsortiumOrgConfigValue struct {
	*ConfigValue
	// contains filtered or unexported fields
}

func (*DynamicConsortiumOrgConfigValue) VariablyOpaqueFieldProto

func (dcocv *DynamicConsortiumOrgConfigValue) VariablyOpaqueFieldProto(name string) (proto.Message, error)

type DynamicConsortiumOrgGroup

type DynamicConsortiumOrgGroup struct {
	*ConfigGroup
}

func (*DynamicConsortiumOrgGroup) DynamicMapFieldProto

func (dcg *DynamicConsortiumOrgGroup) DynamicMapFieldProto(name string, key string, base proto.Message) (proto.Message, error)

type DynamicConsortiumsGroup

type DynamicConsortiumsGroup struct {
	*ConfigGroup
}

func (*DynamicConsortiumsGroup) DynamicMapFieldProto

func (dcg *DynamicConsortiumsGroup) DynamicMapFieldProto(name string, key string, base proto.Message) (proto.Message, error)

func (*DynamicConsortiumsGroup) Underlying

func (dcg *DynamicConsortiumsGroup) Underlying() proto.Message

type DynamicConsortiumsGroupFactory

type DynamicConsortiumsGroupFactory struct{}

func (DynamicConsortiumsGroupFactory) DynamicConfigGroup

func (dogf DynamicConsortiumsGroupFactory) DynamicConfigGroup(cg *ConfigGroup) proto.Message

type Envelope

type Envelope struct {
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`

	Signature            []byte   `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Envelope) AsSignedData

func (env *Envelope) AsSignedData() ([]*SignedData, error)

func (*Envelope) Descriptor

func (*Envelope) Descriptor() ([]byte, []int)

func (*Envelope) GetPayload

func (m *Envelope) GetPayload() []byte

func (*Envelope) GetSignature

func (m *Envelope) GetSignature() []byte

func (*Envelope) ProtoMessage

func (*Envelope) ProtoMessage()

func (*Envelope) Reset

func (m *Envelope) Reset()

func (*Envelope) StaticallyOpaqueFieldProto

func (e *Envelope) StaticallyOpaqueFieldProto(name string) (proto.Message, error)

func (*Envelope) StaticallyOpaqueFields

func (e *Envelope) StaticallyOpaqueFields() []string

func (*Envelope) String

func (m *Envelope) String() string

func (*Envelope) XXX_DiscardUnknown

func (m *Envelope) XXX_DiscardUnknown()

func (*Envelope) XXX_Marshal

func (m *Envelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Envelope) XXX_Merge

func (m *Envelope) XXX_Merge(src proto.Message)

func (*Envelope) XXX_Size

func (m *Envelope) XXX_Size() int

func (*Envelope) XXX_Unmarshal

func (m *Envelope) XXX_Unmarshal(b []byte) error

type HashingAlgorithm

type HashingAlgorithm struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HashingAlgorithm) Descriptor

func (*HashingAlgorithm) Descriptor() ([]byte, []int)

func (*HashingAlgorithm) GetName

func (m *HashingAlgorithm) GetName() string

func (*HashingAlgorithm) ProtoMessage

func (*HashingAlgorithm) ProtoMessage()

func (*HashingAlgorithm) Reset

func (m *HashingAlgorithm) Reset()

func (*HashingAlgorithm) String

func (m *HashingAlgorithm) String() string

func (*HashingAlgorithm) XXX_DiscardUnknown

func (m *HashingAlgorithm) XXX_DiscardUnknown()

func (*HashingAlgorithm) XXX_Marshal

func (m *HashingAlgorithm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HashingAlgorithm) XXX_Merge

func (m *HashingAlgorithm) XXX_Merge(src proto.Message)

func (*HashingAlgorithm) XXX_Size

func (m *HashingAlgorithm) XXX_Size() int

func (*HashingAlgorithm) XXX_Unmarshal

func (m *HashingAlgorithm) XXX_Unmarshal(b []byte) error
type Header struct {
	ChannelHeader        []byte   `protobuf:"bytes,1,opt,name=channel_header,json=channelHeader,proto3" json:"channel_header,omitempty"`
	SignatureHeader      []byte   `protobuf:"bytes,2,opt,name=signature_header,json=signatureHeader,proto3" json:"signature_header,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Header) Descriptor

func (*Header) Descriptor() ([]byte, []int)

func (*Header) GetChannelHeader

func (m *Header) GetChannelHeader() []byte

func (*Header) GetSignatureHeader

func (m *Header) GetSignatureHeader() []byte

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) Reset

func (m *Header) Reset()

func (*Header) StaticallyOpaqueFieldProto

func (h *Header) StaticallyOpaqueFieldProto(name string) (proto.Message, error)

func (*Header) StaticallyOpaqueFields

func (h *Header) StaticallyOpaqueFields() []string

func (*Header) String

func (m *Header) String() string

func (*Header) XXX_DiscardUnknown

func (m *Header) XXX_DiscardUnknown()

func (*Header) XXX_Marshal

func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Header) XXX_Merge

func (m *Header) XXX_Merge(src proto.Message)

func (*Header) XXX_Size

func (m *Header) XXX_Size() int

func (*Header) XXX_Unmarshal

func (m *Header) XXX_Unmarshal(b []byte) error

type HeaderType

type HeaderType int32
const (
	HeaderType_MESSAGE              HeaderType = 0
	HeaderType_CONFIG               HeaderType = 1
	HeaderType_CONFIG_UPDATE        HeaderType = 2
	HeaderType_ENDORSER_TRANSACTION HeaderType = 3
	HeaderType_ORDERER_TRANSACTION  HeaderType = 4
	HeaderType_DELIVER_SEEK_INFO    HeaderType = 5
	HeaderType_CHAINCODE_PACKAGE    HeaderType = 6
	HeaderType_PEER_ADMIN_OPERATION HeaderType = 8
)

func (HeaderType) EnumDescriptor

func (HeaderType) EnumDescriptor() ([]byte, []int)

func (HeaderType) String

func (x HeaderType) String() string

type ImplicitMetaPolicy

type ImplicitMetaPolicy struct {
	SubPolicy            string                  `protobuf:"bytes,1,opt,name=sub_policy,json=subPolicy,proto3" json:"sub_policy,omitempty"`
	Rule                 ImplicitMetaPolicy_Rule `protobuf:"varint,2,opt,name=rule,proto3,enum=common.ImplicitMetaPolicy_Rule" json:"rule,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*ImplicitMetaPolicy) Descriptor

func (*ImplicitMetaPolicy) Descriptor() ([]byte, []int)

func (*ImplicitMetaPolicy) GetRule

func (*ImplicitMetaPolicy) GetSubPolicy

func (m *ImplicitMetaPolicy) GetSubPolicy() string

func (*ImplicitMetaPolicy) ProtoMessage

func (*ImplicitMetaPolicy) ProtoMessage()

func (*ImplicitMetaPolicy) Reset

func (m *ImplicitMetaPolicy) Reset()

func (*ImplicitMetaPolicy) String

func (m *ImplicitMetaPolicy) String() string

func (*ImplicitMetaPolicy) XXX_DiscardUnknown

func (m *ImplicitMetaPolicy) XXX_DiscardUnknown()

func (*ImplicitMetaPolicy) XXX_Marshal

func (m *ImplicitMetaPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImplicitMetaPolicy) XXX_Merge

func (m *ImplicitMetaPolicy) XXX_Merge(src proto.Message)

func (*ImplicitMetaPolicy) XXX_Size

func (m *ImplicitMetaPolicy) XXX_Size() int

func (*ImplicitMetaPolicy) XXX_Unmarshal

func (m *ImplicitMetaPolicy) XXX_Unmarshal(b []byte) error

type ImplicitMetaPolicy_Rule

type ImplicitMetaPolicy_Rule int32
const (
	ImplicitMetaPolicy_ANY      ImplicitMetaPolicy_Rule = 0
	ImplicitMetaPolicy_ALL      ImplicitMetaPolicy_Rule = 1
	ImplicitMetaPolicy_MAJORITY ImplicitMetaPolicy_Rule = 2
)

func (ImplicitMetaPolicy_Rule) EnumDescriptor

func (ImplicitMetaPolicy_Rule) EnumDescriptor() ([]byte, []int)

func (ImplicitMetaPolicy_Rule) String

func (x ImplicitMetaPolicy_Rule) String() string

type LastConfig

type LastConfig struct {
	Index                uint64   `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LastConfig) Descriptor

func (*LastConfig) Descriptor() ([]byte, []int)

func (*LastConfig) GetIndex

func (m *LastConfig) GetIndex() uint64

func (*LastConfig) ProtoMessage

func (*LastConfig) ProtoMessage()

func (*LastConfig) Reset

func (m *LastConfig) Reset()

func (*LastConfig) String

func (m *LastConfig) String() string

func (*LastConfig) XXX_DiscardUnknown

func (m *LastConfig) XXX_DiscardUnknown()

func (*LastConfig) XXX_Marshal

func (m *LastConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LastConfig) XXX_Merge

func (m *LastConfig) XXX_Merge(src proto.Message)

func (*LastConfig) XXX_Size

func (m *LastConfig) XXX_Size() int

func (*LastConfig) XXX_Unmarshal

func (m *LastConfig) XXX_Unmarshal(b []byte) error

type Metadata

type Metadata struct {
	Value                []byte               `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Signatures           []*MetadataSignature `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Metadata) Descriptor

func (*Metadata) Descriptor() ([]byte, []int)

func (*Metadata) GetSignatures

func (m *Metadata) GetSignatures() []*MetadataSignature

func (*Metadata) GetValue

func (m *Metadata) GetValue() []byte

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) String

func (m *Metadata) String() string

func (*Metadata) XXX_DiscardUnknown

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal

func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Metadata) XXX_Merge

func (m *Metadata) XXX_Merge(src proto.Message)

func (*Metadata) XXX_Size

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal

func (m *Metadata) XXX_Unmarshal(b []byte) error

type MetadataSignature

type MetadataSignature struct {
	SignatureHeader      []byte   `protobuf:"bytes,1,opt,name=signature_header,json=signatureHeader,proto3" json:"signature_header,omitempty"`
	Signature            []byte   `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MetadataSignature) Descriptor

func (*MetadataSignature) Descriptor() ([]byte, []int)

func (*MetadataSignature) GetSignature

func (m *MetadataSignature) GetSignature() []byte

func (*MetadataSignature) GetSignatureHeader

func (m *MetadataSignature) GetSignatureHeader() []byte

func (*MetadataSignature) ProtoMessage

func (*MetadataSignature) ProtoMessage()

func (*MetadataSignature) Reset

func (m *MetadataSignature) Reset()

func (*MetadataSignature) String

func (m *MetadataSignature) String() string

func (*MetadataSignature) XXX_DiscardUnknown

func (m *MetadataSignature) XXX_DiscardUnknown()

func (*MetadataSignature) XXX_Marshal

func (m *MetadataSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetadataSignature) XXX_Merge

func (m *MetadataSignature) XXX_Merge(src proto.Message)

func (*MetadataSignature) XXX_Size

func (m *MetadataSignature) XXX_Size() int

func (*MetadataSignature) XXX_Unmarshal

func (m *MetadataSignature) XXX_Unmarshal(b []byte) error

type OrdererAddresses

type OrdererAddresses struct {
	Addresses            []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OrdererAddresses) Descriptor

func (*OrdererAddresses) Descriptor() ([]byte, []int)

func (*OrdererAddresses) GetAddresses

func (m *OrdererAddresses) GetAddresses() []string

func (*OrdererAddresses) ProtoMessage

func (*OrdererAddresses) ProtoMessage()

func (*OrdererAddresses) Reset

func (m *OrdererAddresses) Reset()

func (*OrdererAddresses) String

func (m *OrdererAddresses) String() string

func (*OrdererAddresses) XXX_DiscardUnknown

func (m *OrdererAddresses) XXX_DiscardUnknown()

func (*OrdererAddresses) XXX_Marshal

func (m *OrdererAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrdererAddresses) XXX_Merge

func (m *OrdererAddresses) XXX_Merge(src proto.Message)

func (*OrdererAddresses) XXX_Size

func (m *OrdererAddresses) XXX_Size() int

func (*OrdererAddresses) XXX_Unmarshal

func (m *OrdererAddresses) XXX_Unmarshal(b []byte) error

type OrdererBlockMetadata

type OrdererBlockMetadata struct {
	LastConfig           *LastConfig `protobuf:"bytes,1,opt,name=last_config,json=lastConfig,proto3" json:"last_config,omitempty"`
	ConsenterMetadata    []byte      `protobuf:"bytes,2,opt,name=consenter_metadata,json=consenterMetadata,proto3" json:"consenter_metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*OrdererBlockMetadata) Descriptor

func (*OrdererBlockMetadata) Descriptor() ([]byte, []int)

func (*OrdererBlockMetadata) GetConsenterMetadata

func (m *OrdererBlockMetadata) GetConsenterMetadata() []byte

func (*OrdererBlockMetadata) GetLastConfig

func (m *OrdererBlockMetadata) GetLastConfig() *LastConfig

func (*OrdererBlockMetadata) ProtoMessage

func (*OrdererBlockMetadata) ProtoMessage()

func (*OrdererBlockMetadata) Reset

func (m *OrdererBlockMetadata) Reset()

func (*OrdererBlockMetadata) String

func (m *OrdererBlockMetadata) String() string

func (*OrdererBlockMetadata) XXX_DiscardUnknown

func (m *OrdererBlockMetadata) XXX_DiscardUnknown()

func (*OrdererBlockMetadata) XXX_Marshal

func (m *OrdererBlockMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrdererBlockMetadata) XXX_Merge

func (m *OrdererBlockMetadata) XXX_Merge(src proto.Message)

func (*OrdererBlockMetadata) XXX_Size

func (m *OrdererBlockMetadata) XXX_Size() int

func (*OrdererBlockMetadata) XXX_Unmarshal

func (m *OrdererBlockMetadata) XXX_Unmarshal(b []byte) error

type Payload

type Payload struct {
	Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`

	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Payload) Descriptor

func (*Payload) Descriptor() ([]byte, []int)

func (*Payload) GetData

func (m *Payload) GetData() []byte

func (*Payload) GetHeader

func (m *Payload) GetHeader() *Header

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) Reset

func (m *Payload) Reset()

func (*Payload) String

func (m *Payload) String() string

func (*Payload) VariablyOpaqueFieldProto

func (p *Payload) VariablyOpaqueFieldProto(name string) (proto.Message, error)

func (*Payload) VariablyOpaqueFields

func (p *Payload) VariablyOpaqueFields() []string

func (*Payload) XXX_DiscardUnknown

func (m *Payload) XXX_DiscardUnknown()

func (*Payload) XXX_Marshal

func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Payload) XXX_Merge

func (m *Payload) XXX_Merge(src proto.Message)

func (*Payload) XXX_Size

func (m *Payload) XXX_Size() int

func (*Payload) XXX_Unmarshal

func (m *Payload) XXX_Unmarshal(b []byte) error

type Policy

type Policy struct {
	Type                 int32    `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	Value                []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Policy) Descriptor

func (*Policy) Descriptor() ([]byte, []int)

func (*Policy) GetType

func (m *Policy) GetType() int32

func (*Policy) GetValue

func (m *Policy) GetValue() []byte

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) Reset

func (m *Policy) Reset()

func (*Policy) String

func (m *Policy) String() string

func (*Policy) XXX_DiscardUnknown

func (m *Policy) XXX_DiscardUnknown()

func (*Policy) XXX_Marshal

func (m *Policy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Policy) XXX_Merge

func (m *Policy) XXX_Merge(src proto.Message)

func (*Policy) XXX_Size

func (m *Policy) XXX_Size() int

func (*Policy) XXX_Unmarshal

func (m *Policy) XXX_Unmarshal(b []byte) error

type Policy_PolicyType

type Policy_PolicyType int32
const (
	Policy_UNKNOWN       Policy_PolicyType = 0
	Policy_SIGNATURE     Policy_PolicyType = 1
	Policy_MSP           Policy_PolicyType = 2
	Policy_IMPLICIT_META Policy_PolicyType = 3
)

func (Policy_PolicyType) EnumDescriptor

func (Policy_PolicyType) EnumDescriptor() ([]byte, []int)

func (Policy_PolicyType) String

func (x Policy_PolicyType) String() string

type Signable

type Signable interface {
	AsSignedData() ([]*SignedData, error)
}

type SignatureHeader

type SignatureHeader struct {
	Creator []byte `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`

	Nonce                []byte   `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SignatureHeader) Descriptor

func (*SignatureHeader) Descriptor() ([]byte, []int)

func (*SignatureHeader) GetCreator

func (m *SignatureHeader) GetCreator() []byte

func (*SignatureHeader) GetNonce

func (m *SignatureHeader) GetNonce() []byte

func (*SignatureHeader) ProtoMessage

func (*SignatureHeader) ProtoMessage()

func (*SignatureHeader) Reset

func (m *SignatureHeader) Reset()

func (*SignatureHeader) StaticallyOpaqueFieldProto

func (sh *SignatureHeader) StaticallyOpaqueFieldProto(name string) (proto.Message, error)

func (*SignatureHeader) StaticallyOpaqueFields

func (sh *SignatureHeader) StaticallyOpaqueFields() []string

func (*SignatureHeader) String

func (m *SignatureHeader) String() string

func (*SignatureHeader) XXX_DiscardUnknown

func (m *SignatureHeader) XXX_DiscardUnknown()

func (*SignatureHeader) XXX_Marshal

func (m *SignatureHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignatureHeader) XXX_Merge

func (m *SignatureHeader) XXX_Merge(src proto.Message)

func (*SignatureHeader) XXX_Size

func (m *SignatureHeader) XXX_Size() int

func (*SignatureHeader) XXX_Unmarshal

func (m *SignatureHeader) XXX_Unmarshal(b []byte) error

type SignaturePolicy

type SignaturePolicy struct {
	Type                 isSignaturePolicy_Type `protobuf_oneof:"Type"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*SignaturePolicy) Descriptor

func (*SignaturePolicy) Descriptor() ([]byte, []int)

func (*SignaturePolicy) GetNOutOf

func (m *SignaturePolicy) GetNOutOf() *SignaturePolicy_NOutOf

func (*SignaturePolicy) GetSignedBy

func (m *SignaturePolicy) GetSignedBy() int32

func (*SignaturePolicy) GetType

func (m *SignaturePolicy) GetType() isSignaturePolicy_Type

func (*SignaturePolicy) ProtoMessage

func (*SignaturePolicy) ProtoMessage()

func (*SignaturePolicy) Reset

func (m *SignaturePolicy) Reset()

func (*SignaturePolicy) String

func (m *SignaturePolicy) String() string

func (*SignaturePolicy) XXX_DiscardUnknown

func (m *SignaturePolicy) XXX_DiscardUnknown()

func (*SignaturePolicy) XXX_Marshal

func (m *SignaturePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignaturePolicy) XXX_Merge

func (m *SignaturePolicy) XXX_Merge(src proto.Message)

func (*SignaturePolicy) XXX_OneofWrappers

func (*SignaturePolicy) XXX_OneofWrappers() []interface{}

func (*SignaturePolicy) XXX_Size

func (m *SignaturePolicy) XXX_Size() int

func (*SignaturePolicy) XXX_Unmarshal

func (m *SignaturePolicy) XXX_Unmarshal(b []byte) error

type SignaturePolicyEnvelope

type SignaturePolicyEnvelope struct {
	Version              int32               `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Rule                 *SignaturePolicy    `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"`
	Identities           []*msp.MSPPrincipal `protobuf:"bytes,3,rep,name=identities,proto3" json:"identities,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*SignaturePolicyEnvelope) Descriptor

func (*SignaturePolicyEnvelope) Descriptor() ([]byte, []int)

func (*SignaturePolicyEnvelope) GetIdentities

func (m *SignaturePolicyEnvelope) GetIdentities() []*msp.MSPPrincipal

func (*SignaturePolicyEnvelope) GetRule

func (*SignaturePolicyEnvelope) GetVersion

func (m *SignaturePolicyEnvelope) GetVersion() int32

func (*SignaturePolicyEnvelope) ProtoMessage

func (*SignaturePolicyEnvelope) ProtoMessage()

func (*SignaturePolicyEnvelope) Reset

func (m *SignaturePolicyEnvelope) Reset()

func (*SignaturePolicyEnvelope) String

func (m *SignaturePolicyEnvelope) String() string

func (*SignaturePolicyEnvelope) XXX_DiscardUnknown

func (m *SignaturePolicyEnvelope) XXX_DiscardUnknown()

func (*SignaturePolicyEnvelope) XXX_Marshal

func (m *SignaturePolicyEnvelope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignaturePolicyEnvelope) XXX_Merge

func (m *SignaturePolicyEnvelope) XXX_Merge(src proto.Message)

func (*SignaturePolicyEnvelope) XXX_Size

func (m *SignaturePolicyEnvelope) XXX_Size() int

func (*SignaturePolicyEnvelope) XXX_Unmarshal

func (m *SignaturePolicyEnvelope) XXX_Unmarshal(b []byte) error

type SignaturePolicy_NOutOf

type SignaturePolicy_NOutOf struct {
	N                    int32              `protobuf:"varint,1,opt,name=n,proto3" json:"n,omitempty"`
	Rules                []*SignaturePolicy `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*SignaturePolicy_NOutOf) Descriptor

func (*SignaturePolicy_NOutOf) Descriptor() ([]byte, []int)

func (*SignaturePolicy_NOutOf) GetN

func (m *SignaturePolicy_NOutOf) GetN() int32

func (*SignaturePolicy_NOutOf) GetRules

func (m *SignaturePolicy_NOutOf) GetRules() []*SignaturePolicy

func (*SignaturePolicy_NOutOf) ProtoMessage

func (*SignaturePolicy_NOutOf) ProtoMessage()

func (*SignaturePolicy_NOutOf) Reset

func (m *SignaturePolicy_NOutOf) Reset()

func (*SignaturePolicy_NOutOf) String

func (m *SignaturePolicy_NOutOf) String() string

func (*SignaturePolicy_NOutOf) XXX_DiscardUnknown

func (m *SignaturePolicy_NOutOf) XXX_DiscardUnknown()

func (*SignaturePolicy_NOutOf) XXX_Marshal

func (m *SignaturePolicy_NOutOf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignaturePolicy_NOutOf) XXX_Merge

func (m *SignaturePolicy_NOutOf) XXX_Merge(src proto.Message)

func (*SignaturePolicy_NOutOf) XXX_Size

func (m *SignaturePolicy_NOutOf) XXX_Size() int

func (*SignaturePolicy_NOutOf) XXX_Unmarshal

func (m *SignaturePolicy_NOutOf) XXX_Unmarshal(b []byte) error

type SignaturePolicy_NOutOf_

type SignaturePolicy_NOutOf_ struct {
	NOutOf *SignaturePolicy_NOutOf `protobuf:"bytes,2,opt,name=n_out_of,json=nOutOf,proto3,oneof"`
}

type SignaturePolicy_SignedBy

type SignaturePolicy_SignedBy struct {
	SignedBy int32 `protobuf:"varint,1,opt,name=signed_by,json=signedBy,proto3,oneof"`
}

type SignedData

type SignedData struct {
	Data      []byte
	Identity  []byte
	Signature []byte
}

type StaticCollectionConfig

type StaticCollectionConfig struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	MemberOrgsPolicy *CollectionPolicyConfig `protobuf:"bytes,2,opt,name=member_orgs_policy,json=memberOrgsPolicy,proto3" json:"member_orgs_policy,omitempty"`

	RequiredPeerCount int32 `protobuf:"varint,3,opt,name=required_peer_count,json=requiredPeerCount,proto3" json:"required_peer_count,omitempty"`

	MaximumPeerCount int32 `protobuf:"varint,4,opt,name=maximum_peer_count,json=maximumPeerCount,proto3" json:"maximum_peer_count,omitempty"`

	BlockToLive uint64 `protobuf:"varint,5,opt,name=block_to_live,json=blockToLive,proto3" json:"block_to_live,omitempty"`

	MemberOnlyRead bool `protobuf:"varint,6,opt,name=member_only_read,json=memberOnlyRead,proto3" json:"member_only_read,omitempty"`

	MemberOnlyWrite      bool     `protobuf:"varint,7,opt,name=member_only_write,json=memberOnlyWrite,proto3" json:"member_only_write,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StaticCollectionConfig) Descriptor

func (*StaticCollectionConfig) Descriptor() ([]byte, []int)

func (*StaticCollectionConfig) GetBlockToLive

func (m *StaticCollectionConfig) GetBlockToLive() uint64

func (*StaticCollectionConfig) GetMaximumPeerCount

func (m *StaticCollectionConfig) GetMaximumPeerCount() int32

func (*StaticCollectionConfig) GetMemberOnlyRead

func (m *StaticCollectionConfig) GetMemberOnlyRead() bool

func (*StaticCollectionConfig) GetMemberOnlyWrite

func (m *StaticCollectionConfig) GetMemberOnlyWrite() bool

func (*StaticCollectionConfig) GetMemberOrgsPolicy

func (m *StaticCollectionConfig) GetMemberOrgsPolicy() *CollectionPolicyConfig

func (*StaticCollectionConfig) GetName

func (m *StaticCollectionConfig) GetName() string

func (*StaticCollectionConfig) GetRequiredPeerCount

func (m *StaticCollectionConfig) GetRequiredPeerCount() int32

func (*StaticCollectionConfig) ProtoMessage

func (*StaticCollectionConfig) ProtoMessage()

func (*StaticCollectionConfig) Reset

func (m *StaticCollectionConfig) Reset()

func (*StaticCollectionConfig) String

func (m *StaticCollectionConfig) String() string

func (*StaticCollectionConfig) XXX_DiscardUnknown

func (m *StaticCollectionConfig) XXX_DiscardUnknown()

func (*StaticCollectionConfig) XXX_Marshal

func (m *StaticCollectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StaticCollectionConfig) XXX_Merge

func (m *StaticCollectionConfig) XXX_Merge(src proto.Message)

func (*StaticCollectionConfig) XXX_Size

func (m *StaticCollectionConfig) XXX_Size() int

func (*StaticCollectionConfig) XXX_Unmarshal

func (m *StaticCollectionConfig) XXX_Unmarshal(b []byte) error

type Status

type Status int32
const (
	Status_UNKNOWN                  Status = 0
	Status_SUCCESS                  Status = 200
	Status_BAD_REQUEST              Status = 400
	Status_FORBIDDEN                Status = 403
	Status_NOT_FOUND                Status = 404
	Status_REQUEST_ENTITY_TOO_LARGE Status = 413
	Status_INTERNAL_SERVER_ERROR    Status = 500
	Status_NOT_IMPLEMENTED          Status = 501
	Status_SERVICE_UNAVAILABLE      Status = 503
)

func (Status) EnumDescriptor

func (Status) EnumDescriptor() ([]byte, []int)

func (Status) String

func (x Status) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL