Versions in this module Expand all Collapse all v1 v1.4.9 Jul 22, 2021 Changes in this version + const TypeKey + func Marshal(md *ConfigMetadata) ([]byte, error) + type BlockMetadata struct + ConsenterIds []uint64 + NextConsenterId uint64 + RaftIndex uint64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*BlockMetadata) Descriptor() ([]byte, []int) + func (*BlockMetadata) ProtoMessage() + func (dst *BlockMetadata) XXX_Merge(src proto.Message) + func (m *BlockMetadata) GetConsenterIds() []uint64 + func (m *BlockMetadata) GetNextConsenterId() uint64 + func (m *BlockMetadata) GetRaftIndex() uint64 + func (m *BlockMetadata) Reset() + func (m *BlockMetadata) String() string + func (m *BlockMetadata) XXX_DiscardUnknown() + func (m *BlockMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BlockMetadata) XXX_Size() int + func (m *BlockMetadata) XXX_Unmarshal(b []byte) error + type ConfigMetadata struct + Consenters []*Consenter + Options *Options + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ConfigMetadata) Descriptor() ([]byte, []int) + func (*ConfigMetadata) ProtoMessage() + func (dst *ConfigMetadata) XXX_Merge(src proto.Message) + func (m *ConfigMetadata) GetConsenters() []*Consenter + func (m *ConfigMetadata) GetOptions() *Options + func (m *ConfigMetadata) Reset() + func (m *ConfigMetadata) String() string + func (m *ConfigMetadata) XXX_DiscardUnknown() + func (m *ConfigMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ConfigMetadata) XXX_Size() int + func (m *ConfigMetadata) XXX_Unmarshal(b []byte) error + type ConsensusTypeMetadataFactory struct + func (dogf ConsensusTypeMetadataFactory) NewMessage() proto.Message + type Consenter struct + ClientTlsCert []byte + Host string + Port uint32 + ServerTlsCert []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Consenter) Descriptor() ([]byte, []int) + func (*Consenter) ProtoMessage() + func (dst *Consenter) XXX_Merge(src proto.Message) + func (m *Consenter) GetClientTlsCert() []byte + func (m *Consenter) GetHost() string + func (m *Consenter) GetPort() uint32 + func (m *Consenter) GetServerTlsCert() []byte + func (m *Consenter) Reset() + func (m *Consenter) String() string + func (m *Consenter) XXX_DiscardUnknown() + func (m *Consenter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Consenter) XXX_Size() int + func (m *Consenter) XXX_Unmarshal(b []byte) error + type Options struct + ElectionTick uint32 + HeartbeatTick uint32 + MaxInflightBlocks uint32 + SnapshotIntervalSize uint32 + TickInterval string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Options) Descriptor() ([]byte, []int) + func (*Options) ProtoMessage() + func (dst *Options) XXX_Merge(src proto.Message) + func (m *Options) GetElectionTick() uint32 + func (m *Options) GetHeartbeatTick() uint32 + func (m *Options) GetMaxInflightBlocks() uint32 + func (m *Options) GetSnapshotIntervalSize() uint32 + func (m *Options) GetTickInterval() string + func (m *Options) Reset() + func (m *Options) String() string + func (m *Options) XXX_DiscardUnknown() + func (m *Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Options) XXX_Size() int + func (m *Options) XXX_Unmarshal(b []byte) error