Versions in this module Expand all Collapse all v0 v0.1.0 Apr 21, 2023 Changes in this version + var File_consensus_ibft_proto_ibft_operator_proto protoreflect.FileDescriptor + var IbftOperator_ServiceDesc = grpc.ServiceDesc + func RegisterIbftOperatorServer(s grpc.ServiceRegistrar, srv IbftOperatorServer) + type Candidate struct + Address string + Auth bool + BlsPubkey []byte + func (*Candidate) Descriptor() ([]byte, []int) + func (*Candidate) ProtoMessage() + func (m *Candidate) Validate() error + func (m *Candidate) ValidateAll() error + func (x *Candidate) GetAddress() string + func (x *Candidate) GetAuth() bool + func (x *Candidate) GetBlsPubkey() []byte + func (x *Candidate) ProtoReflect() protoreflect.Message + func (x *Candidate) Reset() + func (x *Candidate) String() string + type CandidateMultiError []error + func (m CandidateMultiError) AllErrors() []error + func (m CandidateMultiError) Error() string + type CandidateValidationError struct + func (e CandidateValidationError) Cause() error + func (e CandidateValidationError) Error() string + func (e CandidateValidationError) ErrorName() string + func (e CandidateValidationError) Field() string + func (e CandidateValidationError) Key() bool + func (e CandidateValidationError) Reason() string + type CandidatesResp struct + Candidates []*Candidate + func (*CandidatesResp) Descriptor() ([]byte, []int) + func (*CandidatesResp) ProtoMessage() + func (m *CandidatesResp) Validate() error + func (m *CandidatesResp) ValidateAll() error + func (x *CandidatesResp) GetCandidates() []*Candidate + func (x *CandidatesResp) ProtoReflect() protoreflect.Message + func (x *CandidatesResp) Reset() + func (x *CandidatesResp) String() string + type CandidatesRespMultiError []error + func (m CandidatesRespMultiError) AllErrors() []error + func (m CandidatesRespMultiError) Error() string + type CandidatesRespValidationError struct + func (e CandidatesRespValidationError) Cause() error + func (e CandidatesRespValidationError) Error() string + func (e CandidatesRespValidationError) ErrorName() string + func (e CandidatesRespValidationError) Field() string + func (e CandidatesRespValidationError) Key() bool + func (e CandidatesRespValidationError) Reason() string + type IbftOperatorClient interface + Candidates func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CandidatesResp, error) + GetSnapshot func(ctx context.Context, in *SnapshotReq, opts ...grpc.CallOption) (*Snapshot, error) + Propose func(ctx context.Context, in *Candidate, opts ...grpc.CallOption) (*emptypb.Empty, error) + Status func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*IbftStatusResp, error) + func NewIbftOperatorClient(cc grpc.ClientConnInterface) IbftOperatorClient + type IbftOperatorServer interface + Candidates func(context.Context, *emptypb.Empty) (*CandidatesResp, error) + GetSnapshot func(context.Context, *SnapshotReq) (*Snapshot, error) + Propose func(context.Context, *Candidate) (*emptypb.Empty, error) + Status func(context.Context, *emptypb.Empty) (*IbftStatusResp, error) + type IbftStatusResp struct + Key string + func (*IbftStatusResp) Descriptor() ([]byte, []int) + func (*IbftStatusResp) ProtoMessage() + func (m *IbftStatusResp) Validate() error + func (m *IbftStatusResp) ValidateAll() error + func (x *IbftStatusResp) GetKey() string + func (x *IbftStatusResp) ProtoReflect() protoreflect.Message + func (x *IbftStatusResp) Reset() + func (x *IbftStatusResp) String() string + type IbftStatusRespMultiError []error + func (m IbftStatusRespMultiError) AllErrors() []error + func (m IbftStatusRespMultiError) Error() string + type IbftStatusRespValidationError struct + func (e IbftStatusRespValidationError) Cause() error + func (e IbftStatusRespValidationError) Error() string + func (e IbftStatusRespValidationError) ErrorName() string + func (e IbftStatusRespValidationError) Field() string + func (e IbftStatusRespValidationError) Key() bool + func (e IbftStatusRespValidationError) Reason() string + type ProposeReq struct + Address string + Auth bool + func (*ProposeReq) Descriptor() ([]byte, []int) + func (*ProposeReq) ProtoMessage() + func (m *ProposeReq) Validate() error + func (m *ProposeReq) ValidateAll() error + func (x *ProposeReq) GetAddress() string + func (x *ProposeReq) GetAuth() bool + func (x *ProposeReq) ProtoReflect() protoreflect.Message + func (x *ProposeReq) Reset() + func (x *ProposeReq) String() string + type ProposeReqMultiError []error + func (m ProposeReqMultiError) AllErrors() []error + func (m ProposeReqMultiError) Error() string + type ProposeReqValidationError struct + func (e ProposeReqValidationError) Cause() error + func (e ProposeReqValidationError) Error() string + func (e ProposeReqValidationError) ErrorName() string + func (e ProposeReqValidationError) Field() string + func (e ProposeReqValidationError) Key() bool + func (e ProposeReqValidationError) Reason() string + type Snapshot struct + Hash string + Number uint64 + Validators []*Snapshot_Validator + Votes []*Snapshot_Vote + func (*Snapshot) Descriptor() ([]byte, []int) + func (*Snapshot) ProtoMessage() + func (m *Snapshot) Validate() error + func (m *Snapshot) ValidateAll() error + func (x *Snapshot) GetHash() string + func (x *Snapshot) GetNumber() uint64 + func (x *Snapshot) GetValidators() []*Snapshot_Validator + func (x *Snapshot) GetVotes() []*Snapshot_Vote + func (x *Snapshot) ProtoReflect() protoreflect.Message + func (x *Snapshot) Reset() + func (x *Snapshot) String() string + type SnapshotMultiError []error + func (m SnapshotMultiError) AllErrors() []error + func (m SnapshotMultiError) Error() string + type SnapshotReq struct + Latest bool + Number uint64 + func (*SnapshotReq) Descriptor() ([]byte, []int) + func (*SnapshotReq) ProtoMessage() + func (m *SnapshotReq) Validate() error + func (m *SnapshotReq) ValidateAll() error + func (x *SnapshotReq) GetLatest() bool + func (x *SnapshotReq) GetNumber() uint64 + func (x *SnapshotReq) ProtoReflect() protoreflect.Message + func (x *SnapshotReq) Reset() + func (x *SnapshotReq) String() string + type SnapshotReqMultiError []error + func (m SnapshotReqMultiError) AllErrors() []error + func (m SnapshotReqMultiError) Error() string + type SnapshotReqValidationError struct + func (e SnapshotReqValidationError) Cause() error + func (e SnapshotReqValidationError) Error() string + func (e SnapshotReqValidationError) ErrorName() string + func (e SnapshotReqValidationError) Field() string + func (e SnapshotReqValidationError) Key() bool + func (e SnapshotReqValidationError) Reason() string + type SnapshotValidationError struct + func (e SnapshotValidationError) Cause() error + func (e SnapshotValidationError) Error() string + func (e SnapshotValidationError) ErrorName() string + func (e SnapshotValidationError) Field() string + func (e SnapshotValidationError) Key() bool + func (e SnapshotValidationError) Reason() string + type Snapshot_Validator struct + Address string + Data []byte + Type string + func (*Snapshot_Validator) Descriptor() ([]byte, []int) + func (*Snapshot_Validator) ProtoMessage() + func (m *Snapshot_Validator) Validate() error + func (m *Snapshot_Validator) ValidateAll() error + func (x *Snapshot_Validator) GetAddress() string + func (x *Snapshot_Validator) GetData() []byte + func (x *Snapshot_Validator) GetType() string + func (x *Snapshot_Validator) ProtoReflect() protoreflect.Message + func (x *Snapshot_Validator) Reset() + func (x *Snapshot_Validator) String() string + type Snapshot_ValidatorMultiError []error + func (m Snapshot_ValidatorMultiError) AllErrors() []error + func (m Snapshot_ValidatorMultiError) Error() string + type Snapshot_ValidatorValidationError struct + func (e Snapshot_ValidatorValidationError) Cause() error + func (e Snapshot_ValidatorValidationError) Error() string + func (e Snapshot_ValidatorValidationError) ErrorName() string + func (e Snapshot_ValidatorValidationError) Field() string + func (e Snapshot_ValidatorValidationError) Key() bool + func (e Snapshot_ValidatorValidationError) Reason() string + type Snapshot_Vote struct + Auth bool + Proposed string + Validator string + func (*Snapshot_Vote) Descriptor() ([]byte, []int) + func (*Snapshot_Vote) ProtoMessage() + func (m *Snapshot_Vote) Validate() error + func (m *Snapshot_Vote) ValidateAll() error + func (x *Snapshot_Vote) GetAuth() bool + func (x *Snapshot_Vote) GetProposed() string + func (x *Snapshot_Vote) GetValidator() string + func (x *Snapshot_Vote) ProtoReflect() protoreflect.Message + func (x *Snapshot_Vote) Reset() + func (x *Snapshot_Vote) String() string + type Snapshot_VoteMultiError []error + func (m Snapshot_VoteMultiError) AllErrors() []error + func (m Snapshot_VoteMultiError) Error() string + type Snapshot_VoteValidationError struct + func (e Snapshot_VoteValidationError) Cause() error + func (e Snapshot_VoteValidationError) Error() string + func (e Snapshot_VoteValidationError) ErrorName() string + func (e Snapshot_VoteValidationError) Field() string + func (e Snapshot_VoteValidationError) Key() bool + func (e Snapshot_VoteValidationError) Reason() string + type UnimplementedIbftOperatorServer struct + func (UnimplementedIbftOperatorServer) Candidates(context.Context, *emptypb.Empty) (*CandidatesResp, error) + func (UnimplementedIbftOperatorServer) GetSnapshot(context.Context, *SnapshotReq) (*Snapshot, error) + func (UnimplementedIbftOperatorServer) Propose(context.Context, *Candidate) (*emptypb.Empty, error) + func (UnimplementedIbftOperatorServer) Status(context.Context, *emptypb.Empty) (*IbftStatusResp, error) + type UnsafeIbftOperatorServer interface