Documentation ¶
Index ¶
- Variables
- type FairnodeMessage
- type HeartBeat
- func (*HeartBeat) Descriptor() ([]byte, []int)deprecated
- func (x *HeartBeat) GetChainID() string
- func (x *HeartBeat) GetEnode() string
- func (x *HeartBeat) GetHead() string
- func (x *HeartBeat) GetIp() string
- func (x *HeartBeat) GetMinerAddress() string
- func (x *HeartBeat) GetNodeVersion() string
- func (x *HeartBeat) GetPort() int64
- func (x *HeartBeat) GetSign() []byte
- func (*HeartBeat) ProtoMessage()
- func (x *HeartBeat) ProtoReflect() protoreflect.Message
- func (x *HeartBeat) Reset()
- func (x *HeartBeat) String() string
- type Participate
- func (*Participate) Descriptor() ([]byte, []int)deprecated
- func (x *Participate) GetEnode() string
- func (x *Participate) GetMinerAddress() string
- func (x *Participate) GetOtprnHash() []byte
- func (x *Participate) GetSign() []byte
- func (*Participate) ProtoMessage()
- func (x *Participate) ProtoReflect() protoreflect.Message
- func (x *Participate) Reset()
- func (x *Participate) String() string
- type ProcessMessage
- func (*ProcessMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessMessage) GetCode() ProcessStatus
- func (x *ProcessMessage) GetCurrentBlockNum() []byte
- func (x *ProcessMessage) GetSign() []byte
- func (*ProcessMessage) ProtoMessage()
- func (x *ProcessMessage) ProtoReflect() protoreflect.Message
- func (x *ProcessMessage) Reset()
- func (x *ProcessMessage) String() string
- type ProcessStatus
- func (ProcessStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ProcessStatus) Enum() *ProcessStatus
- func (ProcessStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProcessStatus) Number() protoreflect.EnumNumber
- func (x ProcessStatus) String() string
- func (ProcessStatus) Type() protoreflect.EnumType
- type ReqBlock
- func (*ReqBlock) Descriptor() ([]byte, []int)deprecated
- func (x *ReqBlock) GetAddress() string
- func (x *ReqBlock) GetBlock() []byte
- func (x *ReqBlock) GetSign() []byte
- func (*ReqBlock) ProtoMessage()
- func (x *ReqBlock) ProtoReflect() protoreflect.Message
- func (x *ReqBlock) Reset()
- func (x *ReqBlock) String() string
- type ReqConfirmSeal
- func (*ReqConfirmSeal) Descriptor() ([]byte, []int)deprecated
- func (x *ReqConfirmSeal) GetAddress() string
- func (x *ReqConfirmSeal) GetBlockHash() []byte
- func (x *ReqConfirmSeal) GetOtprnHash() []byte
- func (x *ReqConfirmSeal) GetSign() []byte
- func (x *ReqConfirmSeal) GetVoteHash() []byte
- func (*ReqConfirmSeal) ProtoMessage()
- func (x *ReqConfirmSeal) ProtoReflect() protoreflect.Message
- func (x *ReqConfirmSeal) Reset()
- func (x *ReqConfirmSeal) String() string
- type ReqFairnodeSign
- func (*ReqFairnodeSign) Descriptor() ([]byte, []int)deprecated
- func (x *ReqFairnodeSign) GetAddress() string
- func (x *ReqFairnodeSign) GetBlockHash() []byte
- func (x *ReqFairnodeSign) GetOtprnHash() []byte
- func (x *ReqFairnodeSign) GetSign() []byte
- func (x *ReqFairnodeSign) GetVoteHash() []byte
- func (*ReqFairnodeSign) ProtoMessage()
- func (x *ReqFairnodeSign) ProtoReflect() protoreflect.Message
- func (x *ReqFairnodeSign) Reset()
- func (x *ReqFairnodeSign) String() string
- type ReqLeague
- func (*ReqLeague) Descriptor() ([]byte, []int)deprecated
- func (x *ReqLeague) GetEnode() string
- func (x *ReqLeague) GetMinerAddress() string
- func (x *ReqLeague) GetOtprnHash() []byte
- func (x *ReqLeague) GetSign() []byte
- func (*ReqLeague) ProtoMessage()
- func (x *ReqLeague) ProtoReflect() protoreflect.Message
- func (x *ReqLeague) Reset()
- func (x *ReqLeague) String() string
- type ReqOtprn
- func (*ReqOtprn) Descriptor() ([]byte, []int)deprecated
- func (x *ReqOtprn) GetEnode() string
- func (x *ReqOtprn) GetMinerAddress() string
- func (x *ReqOtprn) GetSign() []byte
- func (*ReqOtprn) ProtoMessage()
- func (x *ReqOtprn) ProtoReflect() protoreflect.Message
- func (x *ReqOtprn) Reset()
- func (x *ReqOtprn) String() string
- type ReqVoteResult
- func (*ReqVoteResult) Descriptor() ([]byte, []int)deprecated
- func (x *ReqVoteResult) GetAddress() string
- func (x *ReqVoteResult) GetOtprnHash() []byte
- func (x *ReqVoteResult) GetSign() []byte
- func (*ReqVoteResult) ProtoMessage()
- func (x *ReqVoteResult) ProtoReflect() protoreflect.Message
- func (x *ReqVoteResult) Reset()
- func (x *ReqVoteResult) String() string
- type ResConfirmSeal
- func (*ResConfirmSeal) Descriptor() ([]byte, []int)deprecated
- func (x *ResConfirmSeal) GetCode() ProcessStatus
- func (x *ResConfirmSeal) GetSign() []byte
- func (*ResConfirmSeal) ProtoMessage()
- func (x *ResConfirmSeal) ProtoReflect() protoreflect.Message
- func (x *ResConfirmSeal) Reset()
- func (x *ResConfirmSeal) String() string
- type ResFairnodeSign
- func (*ResFairnodeSign) Descriptor() ([]byte, []int)deprecated
- func (x *ResFairnodeSign) GetSign() []byte
- func (x *ResFairnodeSign) GetSignature() []byte
- func (*ResFairnodeSign) ProtoMessage()
- func (x *ResFairnodeSign) ProtoReflect() protoreflect.Message
- func (x *ResFairnodeSign) Reset()
- func (x *ResFairnodeSign) String() string
- type ResLeague
- func (*ResLeague) Descriptor() ([]byte, []int)deprecated
- func (x *ResLeague) GetEnodes() []string
- func (x *ResLeague) GetResult() Status
- func (x *ResLeague) GetSign() []byte
- func (*ResLeague) ProtoMessage()
- func (x *ResLeague) ProtoReflect() protoreflect.Message
- func (x *ResLeague) Reset()
- func (x *ResLeague) String() string
- type ResOtprn
- type ResVoteResult
- func (*ResVoteResult) Descriptor() ([]byte, []int)deprecated
- func (x *ResVoteResult) GetBlockHash() string
- func (x *ResVoteResult) GetResult() Status
- func (x *ResVoteResult) GetSign() []byte
- func (x *ResVoteResult) GetVoters() []*Vote
- func (*ResVoteResult) ProtoMessage()
- func (x *ResVoteResult) ProtoReflect() protoreflect.Message
- func (x *ResVoteResult) Reset()
- func (x *ResVoteResult) String() string
- type Status
- type SyncMessage
- func (*SyncMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SyncMessage) GetCode() ProcessStatus
- func (x *SyncMessage) GetOtprnHash() []byte
- func (*SyncMessage) ProtoMessage()
- func (x *SyncMessage) ProtoReflect() protoreflect.Message
- func (x *SyncMessage) Reset()
- func (x *SyncMessage) String() string
- type Vote
Constants ¶
This section is empty.
Variables ¶
var ( Status_name = map[int32]string{ 0: "SUCCESS", 1: "FAIL", } Status_value = map[string]int32{ "SUCCESS": 0, "FAIL": 1, } )
Enum value maps for Status.
var ( ProcessStatus_name = map[int32]string{ 0: "WAIT", 1: "MAKE_LEAGUE", 2: "MAKE_JOIN_TX", 3: "MAKE_BLOCK", 4: "LEAGUE_BROADCASTING", 5: "VOTE_START", 6: "VOTE_COMPLETE", 7: "REJECT", 8: "SEND_BLOCK", 9: "SEND_BLOCK_WAIT", 10: "REQ_FAIRNODE_SIGN", 11: "FINALIZE", } ProcessStatus_value = map[string]int32{ "WAIT": 0, "MAKE_LEAGUE": 1, "MAKE_JOIN_TX": 2, "MAKE_BLOCK": 3, "LEAGUE_BROADCASTING": 4, "VOTE_START": 5, "VOTE_COMPLETE": 6, "REJECT": 7, "SEND_BLOCK": 8, "SEND_BLOCK_WAIT": 9, "REQ_FAIRNODE_SIGN": 10, "FINALIZE": 11, } )
Enum value maps for ProcessStatus.
var File_common_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FairnodeMessage ¶
type FairnodeMessage struct { Msg []*SyncMessage `protobuf:"bytes,1,rep,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*FairnodeMessage) Descriptor
deprecated
func (*FairnodeMessage) Descriptor() ([]byte, []int)
Deprecated: Use FairnodeMessage.ProtoReflect.Descriptor instead.
func (*FairnodeMessage) GetMsg ¶
func (x *FairnodeMessage) GetMsg() []*SyncMessage
func (*FairnodeMessage) ProtoMessage ¶
func (*FairnodeMessage) ProtoMessage()
func (*FairnodeMessage) ProtoReflect ¶ added in v0.7.6
func (x *FairnodeMessage) ProtoReflect() protoreflect.Message
func (*FairnodeMessage) Reset ¶
func (x *FairnodeMessage) Reset()
func (*FairnodeMessage) String ¶
func (x *FairnodeMessage) String() string
type HeartBeat ¶
type HeartBeat struct { Enode string `protobuf:"bytes,1,opt,name=enode,proto3" json:"enode,omitempty"` MinerAddress string `protobuf:"bytes,2,opt,name=minerAddress,proto3" json:"minerAddress,omitempty"` ChainID string `protobuf:"bytes,3,opt,name=chainID,proto3" json:"chainID,omitempty"` NodeVersion string `protobuf:"bytes,4,opt,name=nodeVersion,proto3" json:"nodeVersion,omitempty"` Head string `protobuf:"bytes,5,opt,name=head,proto3" json:"head,omitempty"` Port int64 `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"` Sign []byte `protobuf:"bytes,7,opt,name=sign,proto3" json:"sign,omitempty"` Ip string `protobuf:"bytes,8,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
func (*HeartBeat) Descriptor
deprecated
func (*HeartBeat) GetChainID ¶
func (*HeartBeat) GetMinerAddress ¶
func (*HeartBeat) GetNodeVersion ¶
func (*HeartBeat) ProtoMessage ¶
func (*HeartBeat) ProtoMessage()
func (*HeartBeat) ProtoReflect ¶ added in v0.7.6
func (x *HeartBeat) ProtoReflect() protoreflect.Message
type Participate ¶
type Participate struct { OtprnHash []byte `protobuf:"bytes,1,opt,name=otprnHash,proto3" json:"otprnHash,omitempty"` Enode string `protobuf:"bytes,2,opt,name=enode,proto3" json:"enode,omitempty"` MinerAddress string `protobuf:"bytes,3,opt,name=minerAddress,proto3" json:"minerAddress,omitempty"` Sign []byte `protobuf:"bytes,4,opt,name=sign,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
func (*Participate) Descriptor
deprecated
func (*Participate) Descriptor() ([]byte, []int)
Deprecated: Use Participate.ProtoReflect.Descriptor instead.
func (*Participate) GetEnode ¶
func (x *Participate) GetEnode() string
func (*Participate) GetMinerAddress ¶
func (x *Participate) GetMinerAddress() string
func (*Participate) GetOtprnHash ¶
func (x *Participate) GetOtprnHash() []byte
func (*Participate) GetSign ¶
func (x *Participate) GetSign() []byte
func (*Participate) ProtoMessage ¶
func (*Participate) ProtoMessage()
func (*Participate) ProtoReflect ¶ added in v0.7.6
func (x *Participate) ProtoReflect() protoreflect.Message
func (*Participate) Reset ¶
func (x *Participate) Reset()
func (*Participate) String ¶
func (x *Participate) String() string
type ProcessMessage ¶
type ProcessMessage struct { Code ProcessStatus `protobuf:"varint,1,opt,name=code,proto3,enum=common.ProcessStatus" json:"code,omitempty"` CurrentBlockNum []byte `protobuf:"bytes,2,opt,name=currentBlockNum,proto3" json:"currentBlockNum,omitempty"` Sign []byte `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
func (*ProcessMessage) Descriptor
deprecated
func (*ProcessMessage) Descriptor() ([]byte, []int)
Deprecated: Use ProcessMessage.ProtoReflect.Descriptor instead.
func (*ProcessMessage) GetCode ¶
func (x *ProcessMessage) GetCode() ProcessStatus
func (*ProcessMessage) GetCurrentBlockNum ¶
func (x *ProcessMessage) GetCurrentBlockNum() []byte
func (*ProcessMessage) GetSign ¶
func (x *ProcessMessage) GetSign() []byte
func (*ProcessMessage) ProtoMessage ¶
func (*ProcessMessage) ProtoMessage()
func (*ProcessMessage) ProtoReflect ¶ added in v0.7.6
func (x *ProcessMessage) ProtoReflect() protoreflect.Message
func (*ProcessMessage) Reset ¶
func (x *ProcessMessage) Reset()
func (*ProcessMessage) String ¶
func (x *ProcessMessage) String() string
type ProcessStatus ¶
type ProcessStatus int32
const ( ProcessStatus_WAIT ProcessStatus = 0 ProcessStatus_MAKE_LEAGUE ProcessStatus = 1 ProcessStatus_MAKE_JOIN_TX ProcessStatus = 2 ProcessStatus_MAKE_BLOCK ProcessStatus = 3 ProcessStatus_LEAGUE_BROADCASTING ProcessStatus = 4 ProcessStatus_VOTE_START ProcessStatus = 5 ProcessStatus_VOTE_COMPLETE ProcessStatus = 6 ProcessStatus_REJECT ProcessStatus = 7 ProcessStatus_SEND_BLOCK ProcessStatus = 8 ProcessStatus_SEND_BLOCK_WAIT ProcessStatus = 9 ProcessStatus_REQ_FAIRNODE_SIGN ProcessStatus = 10 // 서명 요청해, method terminate ProcessStatus_FINALIZE ProcessStatus = 11 )
func (ProcessStatus) Descriptor ¶ added in v0.7.6
func (ProcessStatus) Descriptor() protoreflect.EnumDescriptor
func (ProcessStatus) Enum ¶ added in v0.7.6
func (x ProcessStatus) Enum() *ProcessStatus
func (ProcessStatus) EnumDescriptor
deprecated
func (ProcessStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProcessStatus.Descriptor instead.
func (ProcessStatus) Number ¶ added in v0.7.6
func (x ProcessStatus) Number() protoreflect.EnumNumber
func (ProcessStatus) String ¶
func (x ProcessStatus) String() string
func (ProcessStatus) Type ¶ added in v0.7.6
func (ProcessStatus) Type() protoreflect.EnumType
type ReqBlock ¶
type ReqBlock struct { Block []byte `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` // rlp encoded Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Sign []byte `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
블록 요청
func (*ReqBlock) Descriptor
deprecated
func (*ReqBlock) GetAddress ¶
func (*ReqBlock) ProtoMessage ¶
func (*ReqBlock) ProtoMessage()
func (*ReqBlock) ProtoReflect ¶ added in v0.7.6
func (x *ReqBlock) ProtoReflect() protoreflect.Message
type ReqConfirmSeal ¶
type ReqConfirmSeal struct { OtprnHash []byte `protobuf:"bytes,1,opt,name=otprnHash,proto3" json:"otprnHash,omitempty"` BlockHash []byte `protobuf:"bytes,2,opt,name=blockHash,proto3" json:"blockHash,omitempty"` VoteHash []byte `protobuf:"bytes,3,opt,name=voteHash,proto3" json:"voteHash,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` Sign []byte `protobuf:"bytes,5,opt,name=sign,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
블록 실링 확인 요청
func (*ReqConfirmSeal) Descriptor
deprecated
func (*ReqConfirmSeal) Descriptor() ([]byte, []int)
Deprecated: Use ReqConfirmSeal.ProtoReflect.Descriptor instead.
func (*ReqConfirmSeal) GetAddress ¶
func (x *ReqConfirmSeal) GetAddress() string
func (*ReqConfirmSeal) GetBlockHash ¶
func (x *ReqConfirmSeal) GetBlockHash() []byte
func (*ReqConfirmSeal) GetOtprnHash ¶
func (x *ReqConfirmSeal) GetOtprnHash() []byte
func (*ReqConfirmSeal) GetSign ¶
func (x *ReqConfirmSeal) GetSign() []byte
func (*ReqConfirmSeal) GetVoteHash ¶
func (x *ReqConfirmSeal) GetVoteHash() []byte
func (*ReqConfirmSeal) ProtoMessage ¶
func (*ReqConfirmSeal) ProtoMessage()
func (*ReqConfirmSeal) ProtoReflect ¶ added in v0.7.6
func (x *ReqConfirmSeal) ProtoReflect() protoreflect.Message
func (*ReqConfirmSeal) Reset ¶
func (x *ReqConfirmSeal) Reset()
func (*ReqConfirmSeal) String ¶
func (x *ReqConfirmSeal) String() string
type ReqFairnodeSign ¶
type ReqFairnodeSign struct { OtprnHash []byte `protobuf:"bytes,1,opt,name=otprnHash,proto3" json:"otprnHash,omitempty"` BlockHash []byte `protobuf:"bytes,2,opt,name=blockHash,proto3" json:"blockHash,omitempty"` VoteHash []byte `protobuf:"bytes,3,opt,name=voteHash,proto3" json:"voteHash,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` Sign []byte `protobuf:"bytes,5,opt,name=sign,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
블록 서명 요청
func (*ReqFairnodeSign) Descriptor
deprecated
func (*ReqFairnodeSign) Descriptor() ([]byte, []int)
Deprecated: Use ReqFairnodeSign.ProtoReflect.Descriptor instead.
func (*ReqFairnodeSign) GetAddress ¶
func (x *ReqFairnodeSign) GetAddress() string
func (*ReqFairnodeSign) GetBlockHash ¶
func (x *ReqFairnodeSign) GetBlockHash() []byte
func (*ReqFairnodeSign) GetOtprnHash ¶
func (x *ReqFairnodeSign) GetOtprnHash() []byte
func (*ReqFairnodeSign) GetSign ¶
func (x *ReqFairnodeSign) GetSign() []byte
func (*ReqFairnodeSign) GetVoteHash ¶
func (x *ReqFairnodeSign) GetVoteHash() []byte
func (*ReqFairnodeSign) ProtoMessage ¶
func (*ReqFairnodeSign) ProtoMessage()
func (*ReqFairnodeSign) ProtoReflect ¶ added in v0.7.6
func (x *ReqFairnodeSign) ProtoReflect() protoreflect.Message
func (*ReqFairnodeSign) Reset ¶
func (x *ReqFairnodeSign) Reset()
func (*ReqFairnodeSign) String ¶
func (x *ReqFairnodeSign) String() string
type ReqLeague ¶
type ReqLeague struct { OtprnHash []byte `protobuf:"bytes,1,opt,name=otprnHash,proto3" json:"otprnHash,omitempty"` Enode string `protobuf:"bytes,2,opt,name=enode,proto3" json:"enode,omitempty"` MinerAddress string `protobuf:"bytes,3,opt,name=minerAddress,proto3" json:"minerAddress,omitempty"` Sign []byte `protobuf:"bytes,4,opt,name=sign,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
리그 요청
func (*ReqLeague) Descriptor
deprecated
func (*ReqLeague) GetMinerAddress ¶
func (*ReqLeague) GetOtprnHash ¶
func (*ReqLeague) ProtoMessage ¶
func (*ReqLeague) ProtoMessage()
func (*ReqLeague) ProtoReflect ¶ added in v0.7.6
func (x *ReqLeague) ProtoReflect() protoreflect.Message
type ReqOtprn ¶
type ReqOtprn struct { Enode string `protobuf:"bytes,1,opt,name=enode,proto3" json:"enode,omitempty"` MinerAddress string `protobuf:"bytes,2,opt,name=minerAddress,proto3" json:"minerAddress,omitempty"` Sign []byte `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
OTRPN 요청
func (*ReqOtprn) Descriptor
deprecated
func (*ReqOtprn) GetMinerAddress ¶
func (*ReqOtprn) ProtoMessage ¶
func (*ReqOtprn) ProtoMessage()
func (*ReqOtprn) ProtoReflect ¶ added in v0.7.6
func (x *ReqOtprn) ProtoReflect() protoreflect.Message
type ReqVoteResult ¶
type ReqVoteResult struct { OtprnHash []byte `protobuf:"bytes,1,opt,name=otprnHash,proto3" json:"otprnHash,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Sign []byte `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
투표 결과 요청
func (*ReqVoteResult) Descriptor
deprecated
func (*ReqVoteResult) Descriptor() ([]byte, []int)
Deprecated: Use ReqVoteResult.ProtoReflect.Descriptor instead.
func (*ReqVoteResult) GetAddress ¶
func (x *ReqVoteResult) GetAddress() string
func (*ReqVoteResult) GetOtprnHash ¶
func (x *ReqVoteResult) GetOtprnHash() []byte
func (*ReqVoteResult) GetSign ¶
func (x *ReqVoteResult) GetSign() []byte
func (*ReqVoteResult) ProtoMessage ¶
func (*ReqVoteResult) ProtoMessage()
func (*ReqVoteResult) ProtoReflect ¶ added in v0.7.6
func (x *ReqVoteResult) ProtoReflect() protoreflect.Message
func (*ReqVoteResult) Reset ¶
func (x *ReqVoteResult) Reset()
func (*ReqVoteResult) String ¶
func (x *ReqVoteResult) String() string
type ResConfirmSeal ¶
type ResConfirmSeal struct { Code ProcessStatus `protobuf:"varint,1,opt,name=code,proto3,enum=common.ProcessStatus" json:"code,omitempty"` Sign []byte `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
func (*ResConfirmSeal) Descriptor
deprecated
func (*ResConfirmSeal) Descriptor() ([]byte, []int)
Deprecated: Use ResConfirmSeal.ProtoReflect.Descriptor instead.
func (*ResConfirmSeal) GetCode ¶
func (x *ResConfirmSeal) GetCode() ProcessStatus
func (*ResConfirmSeal) GetSign ¶
func (x *ResConfirmSeal) GetSign() []byte
func (*ResConfirmSeal) ProtoMessage ¶
func (*ResConfirmSeal) ProtoMessage()
func (*ResConfirmSeal) ProtoReflect ¶ added in v0.7.6
func (x *ResConfirmSeal) ProtoReflect() protoreflect.Message
func (*ResConfirmSeal) Reset ¶
func (x *ResConfirmSeal) Reset()
func (*ResConfirmSeal) String ¶
func (x *ResConfirmSeal) String() string
type ResFairnodeSign ¶
type ResFairnodeSign struct { Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` Sign []byte `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
func (*ResFairnodeSign) Descriptor
deprecated
func (*ResFairnodeSign) Descriptor() ([]byte, []int)
Deprecated: Use ResFairnodeSign.ProtoReflect.Descriptor instead.
func (*ResFairnodeSign) GetSign ¶
func (x *ResFairnodeSign) GetSign() []byte
func (*ResFairnodeSign) GetSignature ¶
func (x *ResFairnodeSign) GetSignature() []byte
func (*ResFairnodeSign) ProtoMessage ¶
func (*ResFairnodeSign) ProtoMessage()
func (*ResFairnodeSign) ProtoReflect ¶ added in v0.7.6
func (x *ResFairnodeSign) ProtoReflect() protoreflect.Message
func (*ResFairnodeSign) Reset ¶
func (x *ResFairnodeSign) Reset()
func (*ResFairnodeSign) String ¶
func (x *ResFairnodeSign) String() string
type ResLeague ¶
type ResLeague struct { Result Status `protobuf:"varint,1,opt,name=result,proto3,enum=common.Status" json:"result,omitempty"` Enodes []string `protobuf:"bytes,2,rep,name=enodes,proto3" json:"enodes,omitempty"` Sign []byte `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
func (*ResLeague) Descriptor
deprecated
func (*ResLeague) ProtoMessage ¶
func (*ResLeague) ProtoMessage()
func (*ResLeague) ProtoReflect ¶ added in v0.7.6
func (x *ResLeague) ProtoReflect() protoreflect.Message
type ResOtprn ¶
type ResOtprn struct { Result Status `protobuf:"varint,1,opt,name=result,proto3,enum=common.Status" json:"result,omitempty"` Otprn []byte `protobuf:"bytes,2,opt,name=otprn,proto3" json:"otprn,omitempty"` // contains filtered or unexported fields }
func (*ResOtprn) Descriptor
deprecated
func (*ResOtprn) ProtoMessage ¶
func (*ResOtprn) ProtoMessage()
func (*ResOtprn) ProtoReflect ¶ added in v0.7.6
func (x *ResOtprn) ProtoReflect() protoreflect.Message
type ResVoteResult ¶
type ResVoteResult struct { Result Status `protobuf:"varint,1,opt,name=result,proto3,enum=common.Status" json:"result,omitempty"` BlockHash string `protobuf:"bytes,2,opt,name=blockHash,proto3" json:"blockHash,omitempty"` Voters []*Vote `protobuf:"bytes,3,rep,name=voters,proto3" json:"voters,omitempty"` Sign []byte `protobuf:"bytes,4,opt,name=sign,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
func (*ResVoteResult) Descriptor
deprecated
func (*ResVoteResult) Descriptor() ([]byte, []int)
Deprecated: Use ResVoteResult.ProtoReflect.Descriptor instead.
func (*ResVoteResult) GetBlockHash ¶
func (x *ResVoteResult) GetBlockHash() string
func (*ResVoteResult) GetResult ¶
func (x *ResVoteResult) GetResult() Status
func (*ResVoteResult) GetSign ¶
func (x *ResVoteResult) GetSign() []byte
func (*ResVoteResult) GetVoters ¶
func (x *ResVoteResult) GetVoters() []*Vote
func (*ResVoteResult) ProtoMessage ¶
func (*ResVoteResult) ProtoMessage()
func (*ResVoteResult) ProtoReflect ¶ added in v0.7.6
func (x *ResVoteResult) ProtoReflect() protoreflect.Message
func (*ResVoteResult) Reset ¶
func (x *ResVoteResult) Reset()
func (*ResVoteResult) String ¶
func (x *ResVoteResult) String() string
type Status ¶
type Status int32
func (Status) Descriptor ¶ added in v0.7.6
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶ added in v0.7.6
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶ added in v0.7.6
func (Status) Type() protoreflect.EnumType
type SyncMessage ¶
type SyncMessage struct { OtprnHash []byte `protobuf:"bytes,1,opt,name=otprnHash,proto3" json:"otprnHash,omitempty"` Code ProcessStatus `protobuf:"varint,2,opt,name=code,proto3,enum=common.ProcessStatus" json:"code,omitempty"` // contains filtered or unexported fields }
func (*SyncMessage) Descriptor
deprecated
func (*SyncMessage) Descriptor() ([]byte, []int)
Deprecated: Use SyncMessage.ProtoReflect.Descriptor instead.
func (*SyncMessage) GetCode ¶
func (x *SyncMessage) GetCode() ProcessStatus
func (*SyncMessage) GetOtprnHash ¶
func (x *SyncMessage) GetOtprnHash() []byte
func (*SyncMessage) ProtoMessage ¶
func (*SyncMessage) ProtoMessage()
func (*SyncMessage) ProtoReflect ¶ added in v0.7.6
func (x *SyncMessage) ProtoReflect() protoreflect.Message
func (*SyncMessage) Reset ¶
func (x *SyncMessage) Reset()
func (*SyncMessage) String ¶
func (x *SyncMessage) String() string
type Vote ¶
type Vote struct { Header []byte `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // rlp encoded VoterAddress string `protobuf:"bytes,2,opt,name=voterAddress,proto3" json:"voterAddress,omitempty"` VoterSign []byte `protobuf:"bytes,3,opt,name=voterSign,proto3" json:"voterSign,omitempty"` // contains filtered or unexported fields }
투표
func (*Vote) Descriptor
deprecated
func (*Vote) GetVoterAddress ¶
func (*Vote) GetVoterSign ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) ProtoReflect ¶ added in v0.7.6
func (x *Vote) ProtoReflect() protoreflect.Message