Documentation ¶
Index ¶
- Variables
- type ConfigMetadata
- func (*ConfigMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigMetadata) GetConsenters() []*Consenter
- func (x *ConfigMetadata) GetOptions() *Options
- func (*ConfigMetadata) ProtoMessage()
- func (x *ConfigMetadata) ProtoReflect() protoreflect.Message
- func (x *ConfigMetadata) Reset()
- func (x *ConfigMetadata) String() string
- type Consenter
- func (*Consenter) Descriptor() ([]byte, []int)deprecated
- func (x *Consenter) GetClientTlsCert() []byte
- func (x *Consenter) GetConsenterId() uint64
- func (x *Consenter) GetHost() string
- func (x *Consenter) GetIdentity() []byte
- func (x *Consenter) GetMspId() string
- func (x *Consenter) GetPort() uint32
- func (x *Consenter) GetServerTlsCert() []byte
- func (*Consenter) ProtoMessage()
- func (x *Consenter) ProtoReflect() protoreflect.Message
- func (x *Consenter) Reset()
- func (x *Consenter) String() string
- type Options
- func (*Options) Descriptor() ([]byte, []int)deprecated
- func (x *Options) GetCollectTimeout() string
- func (x *Options) GetIncomingMessageBufferSize() uint64
- func (x *Options) GetLeaderHeartbeatCount() uint64
- func (x *Options) GetLeaderHeartbeatTimeout() string
- func (x *Options) GetRequestAutoRemoveTimeout() string
- func (x *Options) GetRequestBatchMaxBytes() uint64
- func (x *Options) GetRequestBatchMaxCount() uint64
- func (x *Options) GetRequestBatchMaxInterval() string
- func (x *Options) GetRequestComplainTimeout() string
- func (x *Options) GetRequestForwardTimeout() string
- func (x *Options) GetRequestPoolSize() uint64
- func (x *Options) GetSpeedUpViewChange() bool
- func (x *Options) GetSyncOnStart() bool
- func (x *Options) GetViewChangeResendInterval() string
- func (x *Options) GetViewChangeTimeout() string
- func (*Options) ProtoMessage()
- func (x *Options) ProtoReflect() protoreflect.Message
- func (x *Options) Reset()
- func (x *Options) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_smartbft_configuration_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ConfigMetadata ¶
type ConfigMetadata struct { Consenters []*Consenter `protobuf:"bytes,1,rep,name=consenters,proto3" json:"consenters,omitempty"` Options *Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
ConfigMetadata is serialized and set as the value of ConsensusType.Metadata in a channel configuration when the ConsensusType.Type is set "smartbft".
func (*ConfigMetadata) Descriptor
deprecated
func (*ConfigMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ConfigMetadata.ProtoReflect.Descriptor instead.
func (*ConfigMetadata) GetConsenters ¶
func (x *ConfigMetadata) GetConsenters() []*Consenter
func (*ConfigMetadata) GetOptions ¶
func (x *ConfigMetadata) GetOptions() *Options
func (*ConfigMetadata) ProtoMessage ¶
func (*ConfigMetadata) ProtoMessage()
func (*ConfigMetadata) ProtoReflect ¶
func (x *ConfigMetadata) ProtoReflect() protoreflect.Message
func (*ConfigMetadata) Reset ¶
func (x *ConfigMetadata) Reset()
func (*ConfigMetadata) String ¶
func (x *ConfigMetadata) String() string
type Consenter ¶
type Consenter struct { ConsenterId uint64 `protobuf:"varint,1,opt,name=consenter_id,json=consenterId,proto3" json:"consenter_id,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` MspId string `protobuf:"bytes,4,opt,name=msp_id,json=mspId,proto3" json:"msp_id,omitempty"` Identity []byte `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` ClientTlsCert []byte `protobuf:"bytes,6,opt,name=client_tls_cert,json=clientTlsCert,proto3" json:"client_tls_cert,omitempty"` ServerTlsCert []byte `protobuf:"bytes,7,opt,name=server_tls_cert,json=serverTlsCert,proto3" json:"server_tls_cert,omitempty"` // contains filtered or unexported fields }
Consenter represents a consenting node (i.e. replica).
func (*Consenter) Descriptor
deprecated
func (*Consenter) GetClientTlsCert ¶
func (*Consenter) GetConsenterId ¶
func (*Consenter) GetIdentity ¶
func (*Consenter) GetServerTlsCert ¶
func (*Consenter) ProtoMessage ¶
func (*Consenter) ProtoMessage()
func (*Consenter) ProtoReflect ¶
func (x *Consenter) ProtoReflect() protoreflect.Message
type Options ¶
type Options struct { RequestBatchMaxCount uint64 `` /* 126-byte string literal not displayed */ RequestBatchMaxBytes uint64 `` /* 126-byte string literal not displayed */ RequestBatchMaxInterval string `` /* 134-byte string literal not displayed */ IncomingMessageBufferSize uint64 `` /* 141-byte string literal not displayed */ RequestPoolSize uint64 `protobuf:"varint,6,opt,name=request_pool_size,json=requestPoolSize,proto3" json:"request_pool_size,omitempty"` RequestForwardTimeout string `` /* 126-byte string literal not displayed */ RequestComplainTimeout string `` /* 129-byte string literal not displayed */ RequestAutoRemoveTimeout string `` /* 137-byte string literal not displayed */ ViewChangeResendInterval string `` /* 138-byte string literal not displayed */ ViewChangeTimeout string `protobuf:"bytes,11,opt,name=view_change_timeout,json=viewChangeTimeout,proto3" json:"view_change_timeout,omitempty"` LeaderHeartbeatTimeout string `` /* 130-byte string literal not displayed */ LeaderHeartbeatCount uint64 `protobuf:"varint,13,opt,name=leader_heartbeat_count,json=leaderHeartbeatCount,proto3" json:"leader_heartbeat_count,omitempty"` CollectTimeout string `protobuf:"bytes,14,opt,name=collect_timeout,json=collectTimeout,proto3" json:"collect_timeout,omitempty"` SyncOnStart bool `protobuf:"varint,15,opt,name=sync_on_start,json=syncOnStart,proto3" json:"sync_on_start,omitempty"` SpeedUpViewChange bool `protobuf:"varint,16,opt,name=speed_up_view_change,json=speedUpViewChange,proto3" json:"speed_up_view_change,omitempty"` // contains filtered or unexported fields }
Options to be specified for all the smartbft nodes. These can be modified on a per-channel basis.
func (*Options) Descriptor
deprecated
func (*Options) GetCollectTimeout ¶
func (*Options) GetIncomingMessageBufferSize ¶
func (*Options) GetLeaderHeartbeatCount ¶
func (*Options) GetLeaderHeartbeatTimeout ¶
func (*Options) GetRequestAutoRemoveTimeout ¶
func (*Options) GetRequestBatchMaxBytes ¶
func (*Options) GetRequestBatchMaxCount ¶
func (*Options) GetRequestBatchMaxInterval ¶
func (*Options) GetRequestComplainTimeout ¶
func (*Options) GetRequestForwardTimeout ¶
func (*Options) GetRequestPoolSize ¶
func (*Options) GetSpeedUpViewChange ¶
func (*Options) GetSyncOnStart ¶
func (*Options) GetViewChangeResendInterval ¶
func (*Options) GetViewChangeTimeout ¶
func (*Options) ProtoMessage ¶
func (*Options) ProtoMessage()
func (*Options) ProtoReflect ¶
func (x *Options) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.